-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
67 lines (67 loc) · 1.87 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/prettier"
],
parserOptions: {
parser: "babel-eslint"
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"semi": 1,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"class-methods-use-this": 0,
"global-require": [0],
"max-len": [0, 200],
"function-paren-newline": 0,
"jsx-a11y/anchor-is-valid": 0,
"no-underscore-dangle": 0,
"no-nested-ternary": 0,
"array-callback-return": 0,
"consistent-return": 0,
"import/no-dynamic-require": 0,
"object-curly-newline": 0,
"no-unused-vars": 1,
"arrow-body-style": 1,
"jsx-a11y/no-noninteractive-tabindex": 0,
"no-debugger": 1,
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"no-restricted-syntax": 0,
"linebreak-style": 0,
"camelcase": 0,
"no-cond-assign": 0,
"no-plusplus": 0,
"no-mixed-operators": 0,
"no-confusing-arrow": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-autofocus": 0,
"import/no-unresolved": 0,
"import/no-mutable-exports": 0,
"no-param-reassign": 0,
"vue/no-parsing-error": [0, { "x-invalid-end-tag": false }],
"indent": ["off", 2],
"quotes": [1, "single"],
"func-names": 0,
"prefer-arrow-callback": 0,
"vue/no-textarea-mustache": 1,
"no-new": 0,
"no-bitwise": 0,
"prefer-destructuring": 0,
"no-multiple-empty-lines": [1, {"max": 2}],
"no-undef": 0,
"import/prefer-default-export": 0,
"prefer-const": 0,
"vue/no-parsing-error": 0,
"vue/valid-v-bind": 0,
"prettier/prettier": 0
},
};