-
Notifications
You must be signed in to change notification settings - Fork 22
/
.eslintrc
88 lines (88 loc) · 2.36 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"plugins": [
"eslint-plugin-hapi"
],
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"modules": true,
"objectLiteralComputedProperties": true,
"regexUFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"jsx": true
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"no-var": 1,
"consistent-return": 0,
"vars-on-top": 0,
"one-var": 0,
"strict": 0,
"new-cap": 0,
"no-console": 0,
"no-constant-condition": 0,
"no-empty": 0,
"no-native-reassign": 0,
"no-underscore-dangle": 0,
"no-undef": 0,
"no-process-exit": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-unused-expressions": 0,
"no-regex-spaces": 0,
"no-shadow": 0,
"global-strict": 0,
"handle-callback-err": 0,
"no-lonely-if": 0,
"space-in-brackets": 0,
"brace-style": 0,
"hapi/hapi-scope-start": 1,
"dot-notation": 1,
"eol-last": 1,
"camelcase": 1,
"no-trailing-spaces": 1,
"no-eq-null": 1,
"no-extend-native": 1,
"no-redeclare": 1,
"no-loop-func": 1,
"yoda": [1, "never"],
"sort-vars": 1,
"quotes": [2, "single"],
"consistent-this": [2, "self"],
"new-parens": 2,
"no-array-constructor": 2,
"no-new-object": 2,
"no-spaced-func": 2,
"no-space-before-semi": 2,
"no-mixed-spaces-and-tabs": 2,
"space-after-keywords": 2,
"semi": [2, "always"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"eqeqeq": 2,
"curly": [2, "all"],
"no-eval": 2,
"no-else-return": 2,
"no-return-assign": 2,
"no-new-wrappers": 2,
"no-comma-dangle": 2,
"no-sparse-arrays": 2,
"no-ex-assign": 2,
"indent": [2, 4],
"space-before-function-paren": 2,
"func-style": 0
}
}