forked from szchenghuang/react-google-invisible-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.31 KB
/
.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
41
42
43
44
45
46
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"modules": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"amd": true,
"jquery": true
},
"extends": [ "eslint:recommended" ],
"plugins": [
"react"
],
"rules": {
"block-spacing": [1, "always"],
"comma-spacing": [1, {"before": false, "after": true}],
"computed-property-spacing": [1, "always"],
"curly": [1, "all"],
"indent": [1, 2],
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"linebreak-style": [1, "unix"],
"no-const-assign": 2,
"no-extra-semi": 1,
"no-console": 1,
"no-extra-boolean-cast": 1,
"no-mixed-spaces-and-tabs": 1,
"no-unused-vars": 1,
"no-unreachable": 1,
"no-multiple-empty-lines": [1, {max: 1, maxEOF: 0, maxBOF: 0}],
"object-curly-spacing": [1, "always"],
"prefer-const": 1,
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"strict": 0,
"semi": [1, "always"]
}
}