mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
8c10ccdef5
there are quite a lot of things to finish 1. Vue.prototype 2. $scopedSlots 3. functional 4. i18n 5. virtual scroll ...
33 lines
543 B
JavaScript
33 lines
543 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
|
|
}
|
|
}
|
|
],
|
|
'vue/no-template-key': 0
|
|
},
|
|
overrides: [
|
|
{
|
|
files: 'src/_icons/**/*',
|
|
rules: {}
|
|
},
|
|
{
|
|
files: '*.spec.js',
|
|
globals: {
|
|
describe: 'readonly',
|
|
it: 'readonly'
|
|
}
|
|
}
|
|
]
|
|
}
|