You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
480 B
23 lines
480 B
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser',
|
|
},
|
|
plugins: ['vue'],
|
|
extends: ['plugin:vue/essential', 'eslint:recommended'],
|
|
rules: {
|
|
// http://eslint.cn/docs/rules/
|
|
'vue/no-parsing-error': 'off',
|
|
'no-unused-vars': 'error',
|
|
'no-dupe-args': 'error',
|
|
'no-empty': 'off',
|
|
'no-extra-semi': 'off',
|
|
'no-constant-condition': 'off',
|
|
'no-console': 'error',
|
|
'vue/multi-word-component-names': 'off',
|
|
},
|
|
};
|