forked from embbnux/kails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
46 lines (46 loc) · 1023 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"parser": "babel-eslint",
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"plugins": [
"react"
],
"rules": {
"new-cap": 0,
"strict": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 1,
"eol-last": 1,
"indent": [2, 2, { "SwitchCase": 0 }],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"no-console": 1,
"no-debugger": 2,
"no-dupe-keys": 2,
"no-dupe-args": 2,
"no-invalid-regexp": 2,
"no-duplicate-case": 2,
"use-isnan": 2,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"valid-typeof": 2,
"no-cond-assign": 2,
"no-func-assign": 2,
"no-obj-calls": 2,
"no-unused-vars": [1, {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^debug$|^assert$|^withTransaction$"
}]
}
}