-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.eslintrc.json
More file actions
44 lines (44 loc) · 1.14 KB
/
.eslintrc.json
File metadata and controls
44 lines (44 loc) · 1.14 KB
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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": "airbnb-base",
"ignores": ["*.d.ts"],
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": { "jsx": true },
"sourceType": "module"
},
"rules": {
"arrow-parens": 0,
"camelcase": ["error", { "allow": [".*"] }],
"func-names": ["error", "never"],
"indent": ["error", "tab"],
"no-bitwise": 0,
"no-continue": 0,
"no-labels": 0,
"no-plusplus": 0,
"no-param-reassign": ["error", {
"props": true,
"ignorePropertyModificationsFor": [
"graph",
"epsilon",
"faces_edges"
]
}],
"no-sparse-arrays": 0,
"no-tabs": 0,
"no-restricted-syntax": ["error", "ForInStatement", "ForOfStatement", "WithStatement"],
"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 }]
}
}