-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
156 lines (155 loc) · 5.06 KB
/
.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"@meteorjs/eslint-config-meteor"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"import",
"meteor",
"react"
],
"rules": {
"indent": ["warn", 4],
"array-bracket-spacing": "off",
"array-callback-return": "off",
"arrow-body-style": "off",
"arrow-parens": "off",
"arrow-spacing": "off",
"block-spacing": "off",
"brace-style": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"comma-spacing": "off",
"comma-style": "off",
"consistent-return": "off",
"curly": "off",
"default-case": "off",
"dot-notation": "off",
"eol-last": "off",
"eqeqeq": "off",
"function-paren-newline": "off",
"global-require": "off",
"guard-for-in": "off",
"implicit-arrow-linebreak": "off",
"import/newline-after-import": "off",
"import/no-cycle": "off",
"import/no-duplicates": "off",
"import/no-unresolved": "off",
"import/no-useless-path-segments": "off",
"import/order": "off",
"import/prefer-default-export": "off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/heading-has-content": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-quotes": "off",
"key-spacing": "off",
"keyword-spacing": "off",
"linebreak-style": "off",
"lines-between-class-members": "off",
"max-len": "off",
"meteor/audit-argument-checks": "off",
"no-bitwise": "off",
"no-case-declarations": "off",
"no-console": "off",
"no-continue": "off",
"no-else-return": "off",
"no-empty": "off",
"no-eval": "off",
"no-extra-semi": "off",
"no-fallthrough": "off",
"no-lonely-if": "off",
"no-multi-spaces": "off",
"no-multiple-empty-lines": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-globals": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off",
"no-self-assign": "off",
"no-sequences": "off",
"no-shadow": "off",
"no-throw-literal": "off",
"no-trailing-spaces": "off",
"no-undef": "off",
"no-underscore-dangle": "off",
"no-unneeded-ternary": "off",
"no-unreachable": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-useless-constructor": "off",
"no-var": "off",
"nonblock-statement-body-position": "off",
"object-curly-newline": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
"object-shorthand": "off",
"one-var": "off",
"one-var-declaration-per-line": "off",
"operator-assignment": "off",
"operator-linebreak": "off",
"option.": "off",
"padded-blocks": "off",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
"quote-props": "off",
"quotes": "off",
"radix": "off",
"react/destructuring-assignment": "off",
"react/forbid-prop-types": "off",
"react/jsx-boolean-value": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-no-target-blank": "off",
"react/jsx-no-undef": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-multi-spaces": "off",
"react/jsx-tag-spacing": "off",
"react/jsx-wrap-multilines": "off",
"react/no-access-state-in-setstate": "off",
"react/no-array-index-key": "off",
"react/no-did-update-set-state": "off",
"react/no-unescaped-entities": "off",
"react/no-unused-state": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
"react/self-closing-comp": "off",
"react/sort-comp": "off",
"semi": "off",
"semi-spacing": "off",
"space-before-blocks": "off",
"space-in-parens": "off",
"space-infix-ops": "off",
"spaced-comment": "off"
}
}