forked from ractivejs/ractive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 866 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
{
"extends": "eslint:recommended",
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"arrow-spacing": "error",
"indent": [ "error", "tab", { "SwitchCase": 1 }],
"linebreak-style": [ "error", "unix" ],
"no-mixed-spaces-and-tabs": [ "error", "smart-tabs" ],
"no-class-assign": "error",
"no-cond-assign": "off",
"no-const-assign": "error",
"no-constant-condition": [ "error", { "checkLoops": false } ],
"no-this-before-super": "error",
"no-var": "error",
"object-shorthand": [ "error", "always" ],
"one-var": [ "error", { "initialized": "never" } ],
"prefer-arrow-callback": "error",
"prefer-const": "error",
"quotes": [ "error", "single", { "avoidEscape": true, "allowTemplateLiterals": true } ],
"quote-props": [ "error", "as-needed" ],
"semi": [ "error", "always" ]
}
}