Debian Codegraph @

.eslintrc

raw
1 {
2 "rules": {
3 "array-bracket-spacing": 2,
4 "block-spacing": [2, "never"],
5 "brace-style": [2, "1tbs", {"allowSingleLine": false}],
6 "camelcase": [2, {"properties": "always"}],
7 "curly": 2,
8 "default-case": 2,
9 "dot-notation": 2,
10 "eqeqeq": 2,
11 "id-match": ["error", "^[\x00-\x7F]+$", {
12 "properties": true,
13 "onlyDeclarations": false,
14 "ignoreDestructuring": false
15 }],
16 "indent": [
17 2,
18 2,
19 {"SwitchCase": 1}
20 ],
21 "key-spacing": [2, {"beforeColon": false, "afterColon": true}],
22 "keyword-spacing": 2,
23 "max-len": [2, 80, 2, {"ignoreUrls": true}],
24 "new-cap": [2, {"newIsCapExceptions": [
25 "webkitRTCPeerConnection",
26 "mozRTCPeerConnection"
27 ]}],
28 "no-console": 0,
29 "no-else-return": 2,
30 "no-eval": 2,
31 "no-multi-spaces": 2,
32 "no-multiple-empty-lines": [2, {"max": 2}],
33 "no-shadow": 2,
34 "no-trailing-spaces": 2,
35 "no-unused-expressions": 2,
36 "no-unused-vars": [2, {"args": "none"}],
37 "object-curly-spacing": [2, "never"],
38 "padded-blocks": [2, "never"],
39 "quotes": [
40 2,
41 "single"
42 ],
43 "semi": [
44 2,
45 "always"
46 ],
47 "space-before-blocks": 2,
48 "space-before-function-paren": [2, "never"],
49 "space-unary-ops": 2,
50 "space-infix-ops": 2,
51 "spaced-comment": 2,
52 "valid-typeof": 2
53 },
54 "env": {
55 "browser": true,
56 "es6": true,
57 "node": true
58 },
59 "extends": ["eslint:recommended"],
60 "parserOptions": {
61 "sourceType": "module"
62 },
63 "globals": {
64 "module": true,
65 "require": true,
66 "process": true,
67 "Promise": true,
68 "Map": true
69 }
70 }