-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
37 lines (37 loc) · 933 Bytes
/
.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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": { "jsx": true },
"sourceType": "module"
},
"ignorePatterns": [
"svg.js",
"svg.module.js",
"svg.module.comments.js"
],
"rules": {
"arrow-parens": 0,
"camelcase": ["error", { "allow": [".*"] }],
"func-names": ["error", "never"],
"indent": ["error", "tab"],
"no-bitwise": 0,
"no-continue": 0,
"no-sparse-arrays": 0,
"no-tabs": 0,
"import/extensions": ["error", "always", { "ignorePackages": true }],
"import/no-relative-packages": 0,
"object-shorthand": 0,
"object-curly-newline": 0,
"import/prefer-default-export": 0,
"prefer-rest-params": 0,
"prefer-default-export": 0,
"prefer-destructuring": 0,
"quotes": ["error", "double", { "allowTemplateLiterals": true }]
}
}