Debian Codegraph @

.eslintrc

raw
1 {
2 "env": {
3 "browser": true,
4 "node": true,
5 "amd": true
6 },
7 "globals": {
8 "attachEvent": false,
9 "detachEvent": false
10 },
11 "rules": {
12 "array-bracket-spacing": 2,
13 "block-scoped-var": 2,
14 "brace-style": [1, "1tbs", {"allowSingleLine": true}],
15 "camelcase": 2,
16 "comma-dangle": [2, "never"],
17 "comma-spacing": 2,
18 "computed-property-spacing": [2, "never"],
19 "dot-notation": [2, { "allowKeywords": false }],
20 "eol-last": 2,
21 "eqeqeq": [2, "smart"],
22 "indent": [2, 2, {
23 "MemberExpression": 0,
24 "SwitchCase": 1,
25 "VariableDeclarator": 2
26 }],
27 "key-spacing": 1,
28 "keyword-spacing": [2, { "after": true }],
29 "linebreak-style": 2,
30 "max-depth": [1, 4],
31 "max-params": [1, 5],
32 "new-cap": [2, {"newIsCapExceptions": ["model"]}],
33 "no-alert": 2,
34 "no-caller": 2,
35 "no-catch-shadow": 2,
36 "no-console": 2,
37 "no-debugger": 2,
38 "no-delete-var": 2,
39 "no-div-regex": 1,
40 "no-dupe-args": 2,
41 "no-dupe-keys": 2,
42 "no-duplicate-case": 2,
43 "no-else-return": 1,
44 "no-empty-character-class": 2,
45 "no-eval": 2,
46 "no-ex-assign": 2,
47 "no-extend-native": 2,
48 "no-extra-boolean-cast": 2,
49 "no-extra-parens": 1,
50 "no-extra-semi": 2,
51 "no-fallthrough": 2,
52 "no-floating-decimal": 2,
53 "no-func-assign": 2,
54 "no-implied-eval": 2,
55 "no-inner-declarations": 2,
56 "no-irregular-whitespace": 2,
57 "no-label-var": 2,
58 "no-labels": 2,
59 "no-lone-blocks": 2,
60 "no-lonely-if": 2,
61 "no-multi-str": 2,
62 "no-native-reassign": 2,
63 "no-negated-in-lhs": 1,
64 "no-new-object": 2,
65 "no-new-wrappers": 2,
66 "no-obj-calls": 2,
67 "no-octal": 2,
68 "no-octal-escape": 2,
69 "no-proto": 2,
70 "no-redeclare": 2,
71 "no-shadow": 2,
72 "no-spaced-func": 2,
73 "no-throw-literal": 2,
74 "no-trailing-spaces": 2,
75 "no-undef": 2,
76 "no-undef-init": 2,
77 "no-undefined": 2,
78 "no-unneeded-ternary": 2,
79 "no-unreachable": 2,
80 "no-unused-expressions": [2, {"allowTernary": true, "allowShortCircuit": true}],
81 "no-with": 2,
82 "object-curly-spacing": [2, "never"],
83 "quote-props": [1, "consistent-as-needed", {"keywords": true}],
84 "quotes": [2, "single", "avoid-escape"],
85 "radix": 2,
86 "semi": 2,
87 "space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
88 "space-infix-ops": 2,
89 "space-unary-ops": [2, { "words": true, "nonwords": false }],
90 "use-isnan": 2,
91 "valid-typeof": 2,
92 "wrap-iife": [2, "inside"]
93 }
94 }