-
Notifications
You must be signed in to change notification settings - Fork 137
/
Copy path.eslintrc
32 lines (32 loc) · 915 Bytes
/
.eslintrc
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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"node": true,
"jest": true,
"browser": true
},
"plugins": [],
"rules": {
"valid-jsdoc": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"brace-style": ["error", "1tbs"],
"camelcase": ["error", { "properties": "never" }],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"space-before-blocks": [
"error",
{ "functions": "always", "keywords": "always", "classes": "always" }
],
"semi": ["error", "always"],
"no-undef": "error",
"no-var": "error",
"prefer-const": "error",
"no-const-assign": "error",
"one-var": ["error", "never"],
"sort-imports": "off",
"no-control-regex": "off",
"no-misleading-character-class": "off"
},
"ignorePatterns": ["node_modules/", "dist/", "dist_mod/"],
}