forked from mwilliamson/mammoth.js
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
75 lines (72 loc) · 2.39 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
{
"extends": "eslint:recommended",
"rules": {
"curly": ["error", "all"],
"dot-location": ["error", "property"],
"no-alert": ["error"],
"no-caller": ["error"],
"no-eval": ["error"],
"no-extend-native": ["error"],
"no-extra-bind": ["error"],
"no-extra-label": ["error"],
"no-floating-decimal": ["error"],
"no-implicit-coercion": ["error", {"allow": ["!!"]}],
"no-implied-eval": ["error"],
"no-invalid-this": ["error"],
"no-labels": ["error"],
"no-lone-blocks": ["error"],
"no-native-reassign": ["error"],
"no-new": ["error"],
"no-new-func": ["error"],
"no-new-wrappers": ["error"],
"no-return-assign": ["error"],
"no-self-compare": ["error"],
"no-sequences": ["error"],
"no-throw-literal": ["error"],
"no-unused-expressions": ["error"],
"no-useless-call": ["error"],
"no-with": ["error"],
"no-unused-vars": ["error", {"args": "none"}],
"object-curly-spacing": ["error", "never"],
"radix": ["error", "always"],
"array-bracket-spacing": ["error", "never"],
"brace-style": ["error", "1tbs"],
"camelcase": ["error"],
"comma-spacing": ["error", {"before": false, "after": true}],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"eol-last": ["error"],
"indent": ["error", 4],
"key-spacing": [
"error",
{"beforeColon": false, "afterColon": true, "mode": "strict"}
],
"keyword-spacing": ["error", {"before": true, "after": true}],
"new-parens": ["error"],
"no-array-constructor": ["error"],
"no-continue": ["error"],
"no-lonely-if": ["error"],
"no-multiple-empty-lines": ["error", {"max": 2, "maxEOF": 1}],
"no-new-object": ["error"],
"no-spaced-func": ["error"],
"no-trailing-spaces": ["error", {"skipBlankLines": true}],
"no-whitespace-before-property": ["error"],
"one-var": ["error", "never"],
"semi": ["error", "always"],
"semi-spacing": ["error", {"before": false}],
"space-before-function-paren": ["error", "never"],
"space-in-parens": ["error", "never"],
"space-infix-ops": ["error"],
"space-unary-ops": ["error", {"words": true, "nonwords": false}],
"spaced-comment": ["error", "always"]
},
"globals": {
"Buffer": false,
"console": true,
"exports": true,
"module": true,
"require": false,
"TextDecoder": false,
"Uint8Array": false
}
}