forked from ngarbezza/oow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
32 lines (32 loc) · 828 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
{
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": { }
},
"extends": "eslint:recommended",
"env": {
"browser": false,
"es6": true,
"node": true
},
"rules": {
"arrow-spacing": "warn",
"block-scoped-var": "error",
"dot-notation": "error",
"dot-location": ["error", "property"],
"eqeqeq": "error",
"no-eval": "error",
"no-multi-spaces": "error",
"no-param-reassign": "error",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-var": "error",
"object-curly-spacing": ["warn", "always"],
"prefer-const": "error",
"prefer-template": "warn",
"quotes": ["error", "single", "avoid-escape"],
"semi": "error",
"space-before-function-paren": ["error", "never"],
"space-infix-ops": "error"
}
}