naive-ui/.eslintrc.js
07akioni 8c10ccdef5 refactor: upgrade to vue3, make it work first
there are quite a lot of things to finish
1. Vue.prototype
2. $scopedSlots
3. functional
4. i18n
5. virtual scroll
...
2020-09-08 22:04:45 +08:00

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