|
1 | 1 | {
|
| 2 | + "extends": ["tslint-eslint-rules"], |
2 | 3 | "rules": {
|
3 |
| - "align": [true, "parameters", "statements"], |
4 |
| - "ban": false, |
5 | 4 | "class-name": true,
|
6 |
| - "comment-format": [false, "check-space", "check-lowercase" ], |
| 5 | + "comment-format": [ true, "check-space" ], |
7 | 6 | "curly": false,
|
8 |
| - "eofline": false, |
| 7 | + "eofline": true, |
9 | 8 | "forin": true,
|
10 |
| - "indent": [true, "spaces"], |
11 |
| - "interface-name": false, |
12 |
| - "jsdoc-format": true, |
| 9 | + "indent": [ true, "spaces" ], |
13 | 10 | "label-position": true,
|
14 |
| - "label-undefined": true, |
15 |
| - "max-line-length": [true, 180], |
| 11 | + "max-line-length": false, |
16 | 12 | "member-access": false,
|
17 |
| - "member-ordering": [false, "public-before-private", "static-before-instance", "variables-before-functions" ], |
18 |
| - "no-any": false, |
| 13 | + "member-ordering": [ true, "static-before-instance", "variables-before-functions" ], |
19 | 14 | "no-arg": true,
|
20 | 15 | "no-bitwise": true,
|
21 |
| - "no-conditional-assignment": true, |
22 |
| - "no-console": [true, "debug", "info", "time", "timeEnd", "trace" ], |
| 16 | + "no-console": [ true, "log", "warn", "debug", "info", "time", "timeEnd", "trace" ], |
23 | 17 | "no-construct": true,
|
24 |
| - "no-constructor-vars": false, |
25 | 18 | "no-debugger": true,
|
26 |
| - "no-duplicate-key": true, |
27 |
| - "no-shadowed-variable": true, |
28 | 19 | "no-duplicate-variable": true,
|
29 | 20 | "no-empty": false,
|
30 | 21 | "no-eval": true,
|
31 |
| - "no-internal-module": true, |
32 |
| - "no-require-imports": true, |
| 22 | + "no-inferrable-types": true, |
| 23 | + "no-shadowed-variable": true, |
33 | 24 | "no-string-literal": false,
|
34 | 25 | "no-switch-case-fall-through": true,
|
35 |
| - "no-trailing-whitespace": false, |
36 |
| - "no-unreachable": true, |
37 |
| - "no-unused-expression": [true, "allow-fast-null-checks"], |
38 |
| - "no-unused-variable": true, |
39 |
| - "no-use-before-declare": true, |
| 26 | + "no-trailing-whitespace": true, |
| 27 | + "no-unused-expression": [ true, "allow-fast-null-checks" ], |
| 28 | + "no-use-before-declare": false, |
40 | 29 | "no-var-keyword": true,
|
41 |
| - "no-var-requires": true, |
42 |
| - "one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ], |
43 |
| - "quotemark": [false, "double"], |
| 30 | + "object-curly-spacing": "always", |
| 31 | + "object-literal-sort-keys": false, |
| 32 | + "one-line": [ true, "check-catch", "check-else", "check-open-brace", "check-whitespace" ], |
| 33 | + "prefer-const": [ true, { "destructuring": "all" } ], |
| 34 | + "quotemark": [ true, "single", "avoid-escape", "jsx-double" ], |
44 | 35 | "radix": true,
|
45 |
| - "semicolon": true, |
46 |
| - "switch-default": true, |
47 |
| - "trailing-comma": [true, {"multiline": "always", "singleline": "never"}], |
48 |
| - "triple-equals": [true, "allow-null-check"], |
49 |
| - "typedef": [false, "call-signature", "parameter", "property-declaration", "variable-declaration", "member-variable-declaration" ], |
50 |
| - "typedef-whitespace": [true, { |
51 |
| - "call-signature": "nospace", |
52 |
| - "index-signature": "nospace", |
53 |
| - "parameter": "nospace", |
54 |
| - "variable-declaration": "nospace" |
55 |
| - }], |
56 |
| - "use-strict": [false, "check-module", "check-function" ], |
57 |
| - "variable-name": false, |
58 |
| - "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ] |
59 |
| -} |
| 36 | + "semicolon": [ "always" ], |
| 37 | + "triple-equals": [ true, "allow-null-check" ], |
| 38 | + "typedef": [ "call-signature", "property-declaration" ], |
| 39 | + "typedef-whitespace": [ true, { "call-signature": "nospace", "index-signature": "nospace", "parameter": "nospace", "property-declaration": "nospace", "variable-declaration": "nospace" } ], |
| 40 | + "variable-name": [ true, "ban-keywords", "allow-leading-underscore" ], |
| 41 | + "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ], |
| 42 | + "jsx-no-multiline-js": false, |
| 43 | + "jsx-no-lambda": false |
| 44 | + } |
60 | 45 | }
|
| 46 | + |
0 commit comments