|
1 | 1 | { |
2 | | - "rulesDirectory": [ |
3 | | - "./build/tslint-rules" |
4 | | - ], |
| 2 | + "rulesDirectory": ["./build/tslint-rules"], |
5 | 3 | "linterOptions": { |
6 | | - "exclude": [ |
7 | | - "src/ipywidgets" |
8 | | - ] |
| 4 | + "exclude": ["src/ipywidgets"] |
9 | 5 | }, |
10 | | - "extends": [ |
11 | | - "tslint-eslint-rules", |
12 | | - "tslint-microsoft-contrib", |
13 | | - "tslint-plugin-prettier", |
14 | | - "tslint-config-prettier" |
15 | | - ], |
| 6 | + "extends": ["tslint-eslint-rules", "tslint-microsoft-contrib", "tslint-plugin-prettier", "tslint-config-prettier"], |
16 | 7 | "rules": { |
17 | 8 | "prettier": true, |
18 | 9 | "messages-must-be-localized": true, |
|
22 | 13 | "non-literal-fs-path": false, |
23 | 14 | "newline-per-chained-call": false, |
24 | 15 | "class-name": true, |
25 | | - "semicolon": [ |
26 | | - true, |
27 | | - "always", |
28 | | - "strict-bound-class-methods" |
29 | | - ], |
| 16 | + "semicolon": [true, "always", "strict-bound-class-methods"], |
30 | 17 | "triple-equals": true, |
31 | 18 | "no-relative-imports": false, |
32 | 19 | "max-line-length": false, |
33 | 20 | "typedef": false, |
34 | 21 | "no-string-throw": true, |
35 | 22 | "missing-jsdoc": false, |
36 | | - "one-line": [ |
37 | | - true, |
38 | | - "check-catch", |
39 | | - "check-finally", |
40 | | - "check-else" |
41 | | - ], |
| 23 | + "one-line": [true, "check-catch", "check-finally", "check-else"], |
42 | 24 | "no-parameter-properties": false, |
43 | 25 | "no-parameter-reassignment": false, |
44 | 26 | "no-reserved-keywords": false, |
|
47 | 29 | "align": false, |
48 | 30 | "linebreak-style": false, |
49 | 31 | "strict-boolean-expressions": false, |
50 | | - "await-promise": [ |
51 | | - true, |
52 | | - "Thenable", |
53 | | - "PromiseLike" |
54 | | - ], |
| 32 | + "await-promise": [true, "Thenable", "PromiseLike"], |
55 | 33 | "completed-docs": false, |
56 | 34 | "no-unsafe-any": false, |
57 | 35 | "no-backbone-get-set-outside-model": false, |
|
69 | 47 | "no-bitwise": false, |
70 | 48 | "eofline": true, |
71 | 49 | "switch-final-break": false, |
72 | | - "no-implicit-dependencies": [ |
73 | | - "vscode" |
74 | | - ], |
| 50 | + "no-implicit-dependencies": ["vscode"], |
75 | 51 | "no-unnecessary-type-assertion": false, |
76 | 52 | "no-submodule-imports": false, |
77 | 53 | "no-redundant-jsdoc": false, |
|
0 commit comments