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