Debian Codegraph @

.eslintrc.json

raw symbols SCIP
1 {
2 "extends": [
3 "eslint:recommended"
4 ],
5
6 "env": {
7 "browser": false,
8 "es6": true,
9 "node": true,
10 "mocha": true
11 },
12
13 "parserOptions":{
14 "ecmaVersion": 9,
15 "sourceType": "module",
16 "ecmaFeatures": {
17 "modules": true,
18 "experimentalObjectRestSpread": true
19 }
20 },
21
22 "globals": {
23 "document": false,
24 "navigator": false,
25 "window": false
26 },
27
28 "rules": {
29 "accessor-pairs": 2,
30 "arrow-spacing": [2, { "before": true, "after": true }],
31 "block-spacing": [2, "always"],
32 "brace-style": [2, "1tbs", { "allowSingleLine": true }],
33 "comma-dangle": [2, "never"],
34 "comma-spacing": [2, { "before": false, "after": true }],
35 "comma-style": [2, "last"],
36 "constructor-super": 2,
37 "curly": [2, "multi-line"],
38 "dot-location": [2, "property"],
39 "eol-last": 2,
40 "eqeqeq": [2, "allow-null"],
41 "generator-star-spacing": [2, { "before": true, "after": true }],
42 "handle-callback-err": [2, "^(err|error)$" ],
43 "indent": [2, 2, { "SwitchCase": 1 }],
44 "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
45 "keyword-spacing": [2, { "before": true, "after": true }],
46 "new-cap": [2, { "newIsCap": true, "capIsNew": false }],
47 "new-parens": 2,
48 "no-array-constructor": 2,
49 "no-caller": 2,
50 "no-class-assign": 2,
51 "no-cond-assign": 2,
52 "no-const-assign": 2,
53 "no-control-regex": 2,
54 "no-debugger": 2,
55 "no-delete-var": 2,
56 "no-dupe-args": 2,
57 "no-dupe-class-members": 2,
58 "no-dupe-keys": 2,
59 "no-duplicate-case": 2,
60 "no-empty-character-class": 2,
61 "no-eval": 2,
62 "no-ex-assign": 2,
63 "no-extend-native": 2,
64 "no-extra-bind": 2,
65 "no-extra-boolean-cast": 2,
66 "no-extra-parens": [2, "functions"],
67 "no-fallthrough": 2,
68 "no-floating-decimal": 2,
69 "no-func-assign": 2,
70 "no-implied-eval": 2,
71 "no-inner-declarations": [2, "functions"],
72 "no-invalid-regexp": 2,
73 "no-irregular-whitespace": 2,
74 "no-iterator": 2,
75 "no-label-var": 2,
76 "no-labels": 2,
77 "no-lone-blocks": 2,
78 "no-mixed-spaces-and-tabs": 2,
79 "no-multi-spaces": 2,
80 "no-multi-str": 2,
81 "no-multiple-empty-lines": [2, { "max": 1 }],
82 "no-native-reassign": 0,
83 "no-negated-in-lhs": 2,
84 "no-new": 2,
85 "no-new-func": 2,
86 "no-new-object": 2,
87 "no-new-require": 2,
88 "no-new-wrappers": 2,
89 "no-obj-calls": 2,
90 "no-octal": 2,
91 "no-octal-escape": 2,
92 "no-proto": 0,
93 "no-redeclare": 2,
94 "no-regex-spaces": 2,
95 "no-return-assign": 2,
96 "no-self-compare": 2,
97 "no-sequences": 2,
98 "no-shadow-restricted-names": 2,
99 "no-spaced-func": 2,
100 "no-sparse-arrays": 2,
101 "no-this-before-super": 2,
102 "no-throw-literal": 2,
103 "no-trailing-spaces": 0,
104 "no-undef": 2,
105 "no-undef-init": 2,
106 "no-unexpected-multiline": 2,
107 "no-unneeded-ternary": [2, { "defaultAssignment": false }],
108 "no-unreachable": 2,
109 "no-unused-vars": [2, { "vars": "all", "args": "none" }],
110 "no-useless-call": 0,
111 "no-with": 2,
112 "one-var": [0, { "initialized": "never" }],
113 "operator-linebreak": [0, "after", { "overrides": { "?": "before", ":": "before" } }],
114 "padded-blocks": [0, "never"],
115 "quotes": [2, "single", "avoid-escape"],
116 "radix": 2,
117 "semi": [2, "always"],
118 "semi-spacing": [2, { "before": false, "after": true }],
119 "space-before-blocks": [2, "always"],
120 "space-before-function-paren": [2, "never"],
121 "space-in-parens": [2, "never"],
122 "space-infix-ops": 2,
123 "space-unary-ops": [2, { "words": true, "nonwords": false }],
124 "spaced-comment": [0, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
125 "use-isnan": 2,
126 "valid-typeof": 2,
127 "wrap-iife": [2, "any"],
128 "yoda": [2, "never"]
129 }
130 }