UNPKG

3.15 kBPlain TextView Raw
1{
2 "rules": {
3 "indent": [
4 2,
5 2
6 ],
7 "quotes": [
8 2,
9 "single"
10 ],
11 "linebreak-style": [
12 2,
13 "unix"
14 ],
15 "semi": [
16 2,
17 "always"
18 ],
19 "no-console": 0,
20 "max-len": [
21 1,
22 140
23 ],
24 "no-cond-assign": [2, "always"],
25 "no-ex-assign": 2,
26 "curly": 2,
27 "max-depth": [2, 5],
28 "complexity": [1, 8],
29 "prefer-const": 1,
30 "no-trailing-spaces": [2, {"skipBlankLines": false}],
31 "one-var": [2, "never"],
32 "key-spacing": [2, {
33 "beforeColon": false,
34 "afterColon": true
35 }],
36 "new-cap": 0,
37 "new-parens": 2,
38 "no-mixed-spaces-and-tabs": 2,
39 "no-multiple-empty-lines": [1, {"max": 1}],
40 "no-nested-ternary": 2,
41 "no-new-object": 2,
42 "no-spaced-func": 2,
43 "arrow-spacing": [2, {"before": true, "after": true}],
44 "operator-assignment": [2, "always"],
45 "padded-blocks": [2, "never"],
46 "keyword-spacing": [2, {"before": true, "after": true}],
47 "space-before-blocks": [2, "always"],
48 "space-before-function-paren": [2, {
49 "anonymous": "always",
50 "named": "never"
51 }],
52 "array-bracket-spacing": [2, "never"],
53 "computed-property-spacing": [2, "never"],
54 "space-infix-ops": [2, {"int32Hint": true}],
55 "space-unary-ops": [2, { "words": true, "nonwords": false }],
56 "no-delete-var": 2,
57 "no-underscore-dangle": 0,
58 "no-shadow": 2,
59 "no-shadow-restricted-names": 2,
60 "no-undef-init": 2,
61 "no-use-before-define": 2,
62 "yoda": [2, "never"],
63 "consistent-return": 2,
64 "spaced-line-comment": 0,
65 "strict": [2, "never"],
66 "eqeqeq": 2,
67 "guard-for-in": 2,
68 "no-alert": 2,
69 "no-caller": 2,
70 "no-labels": 2,
71 "no-eval": 2,
72 "no-fallthrough": 2,
73 "default-case": 2,
74 "no-iterator": 2,
75 "no-loop-func": 2,
76 "no-multi-str": 2,
77 "no-new": 2,
78 "no-param-reassign": 2,
79 "no-proto": 2,
80 "no-redeclare": 2,
81 "no-return-assign": 2,
82 "no-self-compare": 2,
83 "no-sequences": 2,
84 "vars-on-top": 0,
85 "wrap-iife": [2, "inside"],
86 "valid-typeof": 2,
87 "no-unexpected-multiline": 2,
88 "dot-location": [2, "property"],
89 "no-unreachable": 2,
90 "no-negated-in-lhs": 2,
91 "no-irregular-whitespace": 2,
92 "no-invalid-regexp": 2,
93 "no-func-assign": 2,
94 "no-extra-semi": 2,
95 "no-extra-boolean-cast": 2,
96 "no-empty": 2,
97 "no-duplicate-case": 2,
98 "no-dupe-keys": 2,
99 "no-dupe-args": 2,
100 "no-constant-condition": 2,
101 "comma-style": [2, "last"],
102 "no-lonely-if": 2
103 },
104 "globals": {
105 "expectObservable": true,
106 "hot": true,
107 "cold": true
108 },
109 "env": {
110 "browser": true,
111 "node": true,
112 "jasmine": true
113 }
114}