elara-ui
Version:
Elara based on element-ui, and add other usefull components
33 lines (31 loc) • 899 B
JavaScript
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true, // 以当前目录为根目录,不再向上查找 .eslintrc.js
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true, // browser environments
es6: true // enables ES6 syntax
},
extends: ['eslint-config-yqb/vue'],
// required to lint *.vue files
plugins: [
'vue',
'import'
],
// add your custom rules here
rules: {
// disallow reassignment of function parameters
// disallow parameter object manipulation except for specific exclusions
'no-param-reassign': ['off'],
// allow debugger during development
'import/extensions': ['off'],
// 没必要
'no-useless-escape': ['off'],
// 误报
'max-classes-per-file': ['off'],
// 误报
'vue/no-v-html': ['off']
}
}