-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
47 lines (45 loc) · 1.27 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
40
41
42
43
44
45
46
47
module.exports = {
root: true,
env: {
node: true,
},
extends: [ "plugin:vue/vue3-essential",
"eslint:recommended"],
parserOptions: {
parser: '@babel/eslint-parser',
},
rules: {
indent: 0,
semi: 0,
'linebreak-style': [0, 'error', 'windows'],
'arrow-body-style': 0,
'arrow-parens': 0,
'comma-dangle': 0,
'no-unused-expressions': 0,
'max-len': 0,
'operator-linebreak': 0,
'object-curly-newline': 0,
'function-paren-newline': 0,
'space-before-function-paren': 0,
'no-param-reassign': 0,
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-mixed-spaces-and-tabs': 0,
'no-tabs': 'off',
'no-trailing-spaces': 0,
'spaces-before--blocks': 0,
'eqeqeq': 'off',
'no-useless-return': 0,
'prefer-destructuring': 0,
'no-plusplus': 0,
'no-multi-assign': 0,
'func-names': 0,
'object-shorthand': 0,
'import/prefer-default-export': 0,
'import/extensions': 0,
'import/order': 0,
'no-prototype-builtins': 0,
'global-require': 0,
'vue/multi-word-component-names':'off',
},
}