forked from metabrainz/musicbrainz-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.unfixed.yaml
54 lines (54 loc) · 2.06 KB
/
.eslintrc.unfixed.yaml
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
rules:
no-await-in-loop: error
eqeqeq: [warn, smart]
wrap-iife: warn
camelcase: [warn, {properties: never,
allow: [
"l_attributes",
"ln_attributes",
"lp_attributes",
"l_countries",
"ln_countries",
"lp_countries",
"l_instrument_descriptions",
"ln_instrument_descriptions",
"lp_instrument_descriptions",
"l_instruments",
"ln_instruments",
"lp_instruments",
"l_languages",
"ln_languages",
"lp_languages",
"l_relationships",
"ln_relationships",
"lp_relationships",
"l_scripts",
"ln_scripts",
"lp_scripts",
"l_statistics",
"ln_statistics",
"lp_statistics",
"N_l",
"N_ln",
"N_lp",
]}]
consistent-this: [warn, self]
operator-assignment: [warn, always]
operator-linebreak: [warn, after, {overrides: {?: before, :: before}}]
sort-keys: [warn, asc, {caseSensitive: false, natural: true}]
space-before-function-paren: [warn, {anonymous: always,
named: never,
asyncArrow: always}]
no-var: warn
prefer-const: warn
import/first: warn
import/no-commonjs: error
import/order: [warn, {newlines-between: always}]
react/no-access-state-in-setstate: error
react/no-multi-comp: [warn, {ignoreStateless: true}]
react/no-render-return-value: warn
react/prefer-stateless-function: warn
react/jsx-no-bind: [warn, {ignoreDOMComponents: true}]
flowtype/no-types-missing-file-annotation: error
flowtype/no-weak-types: warn
react-hooks/exhaustive-deps: warn