mirror of
https://github.com/klinecharts/KLineChart.git
synced 2024-11-25 16:22:43 +08:00
30 lines
687 B
JavaScript
30 lines
687 B
JavaScript
import config from 'eslint-config-love'
|
|
import progress from 'eslint-plugin-file-progress'
|
|
|
|
export default [
|
|
{
|
|
...config,
|
|
files: ['src/**/*.js', 'src/**/*.ts'],
|
|
},
|
|
{
|
|
plugins: {
|
|
'file-progress': progress
|
|
},
|
|
ignores: [
|
|
'eslint.config.js',
|
|
'scripts/**/*',
|
|
'dist/**/*',
|
|
'docs/**/*',
|
|
'index.js'
|
|
],
|
|
rules: {
|
|
"file-progress/activate": 1,
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/class-methods-use-this": "off",
|
|
"@typescript-eslint/max-params": "off",
|
|
"@typescript-eslint/no-magic-numbers": "off",
|
|
"@typescript-eslint/prefer-destructuring": "off"
|
|
}
|
|
}
|
|
]
|