mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
36 lines
604 B
JavaScript
36 lines
604 B
JavaScript
|
import antfu from '@antfu/eslint-config'
|
||
|
|
||
|
export default antfu(
|
||
|
{
|
||
|
regexp: false,
|
||
|
ignores: [
|
||
|
'node_modules',
|
||
|
'lib',
|
||
|
'test/unit/coverage',
|
||
|
'src/_deprecated/icons',
|
||
|
'dist',
|
||
|
'es',
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.demo.vue'],
|
||
|
rules: {
|
||
|
'no-console': 'off',
|
||
|
'vue/one-component-per-file': 'off',
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.tsx'],
|
||
|
rules: {
|
||
|
'unused-imports/no-unused-imports': 'off',
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*'],
|
||
|
rules: {
|
||
|
'style/multiline-ternary': 'off',
|
||
|
'style/max-statements-per-line': 'off',
|
||
|
},
|
||
|
},
|
||
|
)
|