mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-21 01:13:16 +08:00
32 lines
513 B
JavaScript
32 lines
513 B
JavaScript
module.exports = {
|
|
extends: ['plugin:vue/recommended', '@vue/standard'],
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
},
|
|
rules: {
|
|
'vue/max-attributes-per-line': [
|
|
2,
|
|
{
|
|
singleline: 20,
|
|
multiline: {
|
|
max: 1,
|
|
allowFirstLine: false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
overrides: [
|
|
{
|
|
files: 'src/_icons/**/*',
|
|
rules: {}
|
|
},
|
|
{
|
|
files: '*.spec.js',
|
|
globals: {
|
|
describe: 'readonly',
|
|
it: 'readonly'
|
|
}
|
|
}
|
|
]
|
|
}
|