forked from runtypes/runtypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·40 lines (40 loc) · 859 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
33
34
35
36
37
38
39
40
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"env": {
"es6": true,
"mocha": true
},
"ecmaFeatures": {
"modules": true
},
"rules": {
"indent": ["warn", 2, { "SwitchCase": 1 }],
"quotes": [1, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"no-console": 1,
"no-debugger": 1,
"no-var": 1,
"prefer-const": 1,
"semi": [1, "never"],
"no-trailing-spaces": 0,
"eol-last": 0,
"no-unused-vars": 1,
"no-underscore-dangle": 0,
"no-alert": 1,
"no-lone-blocks": 0,
"no-empty": 1,
"no-empty-pattern": 1,
"no-unreachable": 1,
"no-constant-condition": 1,
"jsx-quotes": 1,
"comma-dangle": 1,
"import/no-named-as-default": 0
},
"globals": {
"console": true
}
}