forked from doomhz/node-lambda-req
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
61 lines (61 loc) · 1.35 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
// http://eslint.org/docs/rules/
// recommended defaults: https://github.com/eslint/eslint/blob/master/conf/eslint.json
"root": true,
"parser": "babel-eslint",
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
"globals": {
"CONFIG": false,
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false
},
"rules": {
"arrow-body-style": 0,
"comma-dangle": 0,
"consistent-return": 0,
"func-names": 0,
"global-require": 0,
"keyword-spacing": 0,
"max-len": 0,
"new-cap": 1,
"no-case-declarations": 0,
"no-console": 0,
"no-inner-declarations": 0,
"no-return-assign": 0,
"no-trailing-spaces": 0,
"no-unused-expressions": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-var": 2,
"quote-props": [2, "consistent-as-needed"],
"quotes": [2, "single"],
"react/jsx-closing-bracket-location": 0,
"react/jsx-no-bind": 0,
"react/jsx-space-before-closing": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"semi": ["error", "never"],
"space-before-function-paren": 0,
"spaced-comment": 0,
"vars-on-top": 0
}
}