forked from cuthbertLab/music21j
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
68 lines (68 loc) · 2.03 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
{
"extends": "airbnb-base",
"root": true,
"env": {
"browser": true
},
"rules": {
"arrow-parens": [0],
"brace-style": [0],
"camelcase": [0],
"class-methods-use-this": [0],
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"curly": ["error", "all"],
"dot-location": [2, "property"],
"dot-notation": ["error"],
"indent": ["error", 4],
"import/extensions": [0],
"import/prefer-default-export": [0],
"import/no-named-as-default": [0],
"import/no-named-as-default-member": [0],
"import/no-unresolved": [0],
"import/no-extraneous-dependencies": [0],
"max-len": [0],
"new-cap": [0],
"no-case-declarations": [2],
"no-console": [0],
"no-continue": [0],
"no-confusing-arrow": [0],
"no-else-return": [0],
"no-lonely-if": [0],
"no-mixed-operators": [0],
"no-multi-spaces": [0],
"no-param-reassign": [0],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-restricted-syntax": [
2,
"DebuggerStatement",
"LabeledStatement",
"WithStatement"
],
"no-shadow": [0],
"no-trailing-spaces": [0],
"no-use-before-define": [0],
"no-underscore-dangle": [0],
"no-unused-vars": [
"error",
{
"args": "none",
"varsIgnorePattern": "^i$|^j$|^unused|^junk|^counter"
}
],
"object-property-newline": [0],
"operator-linebreak": ["error", "before"],
"padded-blocks": [0],
"prefer-template": [0],
"quote-props": [0],
"radix": [0],
"space-infix-ops": [0],
"strict": [2, "global"],
"yoda": [2, "never", { "exceptRange": true }]
}
}