-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
28 lines (28 loc) · 911 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
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"semi": ["error", "never"],
"func-names": "warn",
"brace-style": "error",
"eqeqeq": ["error", "smart"],
"camelcase": ["error", {"properties": "always"}],
"quotes": ["error", "single", "avoid-escape"],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-unused-vars": ["warn", { "vars": "all", "args": "after-used" }],
"no-trailing-spaces": ["error", {"skipBlankLines": false}],
"no-console": ["off"],
"indent": ["error", 2, {"VariableDeclarator": {"var": 2, "let": 2, "const": 3}, "SwitchCase": 1}],
"comma-style": ["error", "first"]
}
}