-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (39 loc) · 1.04 KB
/
.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
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'object-curly-spacing': [2, 'always', {
objectsInObjects: false
}],
'array-bracket-spacing': [2, 'never'],
'indent': 0,
'no-tabs': 'off',
'no-undef': 'off',
'space-before-function-paren': 0,
'vue/no-side-effects-in-computed-properties': 'off',
'standard/no-callback-literal': [0, ['cb', 'callback']],
'no-multi-spaces': ['error', { ignoreEOLComments: false }],
'no-sequences': 'off',
'no-return-assign': 'off',
'no-useless-escape': 'off',
'prefer-const': 'off',
'vue/html-self-closing': 'off',
'vue/attribute-hyphenation': 'off',
'vue/attributes-order': 'off',
'vue/no-confusing-v-for-v-if': 'off',
'vue/no-use-v-if-with-v-for': 'off',
'no-new': 'off',
'no-extra-parens': 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}