-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
52 lines (49 loc) · 1.47 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"ethers": "readonly"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"max-len": ["error", { "code": 140 }],
"no-console": "off",
"arrow-parens": ["error", "as-needed"],
"curly": ["error", "multi-line"],
"import/no-extraneous-dependencies": "off",
"require-await": 0,
"global-require": 0,
"import/no-unresolved": 0,
"import/newline-after-import": 0,
"no-underscore-dangle": 0,
"vue/max-attributes-per-line": "off",
"vue/singleline-html-element-content-newline" : 0,
"vue/no-v-html": 0,
"vue/html-self-closing": "off",
"vue/multi-word-component-names": "off",
"vue/comma-dangle": ["error", "never"],
"comma-dangle": ["error", "never"],
"no-async-promise-executor": 0,
"semi": ["error", "always"],
"quotes": ["error", "double"],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"no-trailing-spaces": "error",
"vue/html-indent": ["warn", 4],
"camelcase": 0,
"no-return-assign": 0,
"vue/attribute-hyphenation": 0,
"eol-last": ["error", "never"]
}
}