KLineChart/eslint.config.js
2024-10-21 22:45:23 +08:00

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"
}
}
]