forked from open-indy/Koa11y
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
23 lines (23 loc) · 980 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
"env": {
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"curly": ["error"],
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-multi-spaces": ["error"],
"no-ternary": ["error"],
"one-var": ["error", "never"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"space-before-function-paren": ["error", "always"],
"space-in-parens": ["error", "never"],
"space-infix-ops": ["error"],
"spaced-comment": ["error", "always"]
}
};