-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.js
40 lines (36 loc) · 956 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript/recommended',
],
parserOptions: {
ecmaVersion: 2020,
ecmaFeatures: {
legacyDecorators: true
}
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
'no-useless-constructor': 'warn',
'space-before-function-paren': 0,
'vue/no-unused-components': 'warn',
'vue/no-unused-vars': 'warn',
'@typescript-eslint/no-empty-function': 'warn',
'@typescript-eslint/no-useless-constructor': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-var-requires': 'warn',
'object-curly-spacing': ["off", "never"],
'camelcase': 'off',
'dot-notation': 'warn',
'handle-callback-err': 'warn',
'no-unused-expressions': 'warn',
'padded-blocks': 'off'
}
}