1 | {
|
2 | "extends": ["tslint:latest", "tslint-eslint-rules", "tslint-plugin-prettier", "tslint-config-prettier"],
|
3 | "rules": {
|
4 | "prettier": true,
|
5 | "adjacent-overload-signatures": true,
|
6 | "arrow-parens": [true, "ban-single-arg-parens"],
|
7 | "arrow-return-shorthand": true,
|
8 | "await-promise": true,
|
9 | "binary-expression-operand-order": true,
|
10 | "callable-types": true,
|
11 | "class-name": true,
|
12 | "completed-docs": [
|
13 | true,
|
14 | {
|
15 | "functions": { "visibilities": ["exported"] },
|
16 | "methods": { "locations": "instance", "privacies": ["public", "protected"] }
|
17 | }
|
18 | ],
|
19 | "curly": true,
|
20 | "eofline": true,
|
21 | "encoding": true,
|
22 | "import-spacing": true,
|
23 | "indent": [true, "spaces", 2],
|
24 | "interface-name": false,
|
25 | "interface-over-type-literal": true,
|
26 | "linebreak-style": [true, "LF"],
|
27 | "max-classes-per-file": [true, 1],
|
28 | "max-line-length": false,
|
29 | "member-access": true,
|
30 | "member-ordering": [true, {"order": "fields-first"}],
|
31 | "newline-before-return": false,
|
32 | "new-parens": true,
|
33 | "no-angle-bracket-type-assertion": true,
|
34 | "no-boolean-literal-compare": true,
|
35 | "no-console": [true, "log"],
|
36 | "no-default-export": true,
|
37 | "no-empty-interface": false,
|
38 | "no-floating-promises": true,
|
39 | "no-non-null-assertion": true,
|
40 | "no-parameter-reassignment": false,
|
41 | "no-redundant-jsdoc": true,
|
42 | "no-return-await": false,
|
43 | "no-string-throw": true,
|
44 | "no-string-literal": false,
|
45 | "no-submodule-imports": false,
|
46 | "no-unnecessary-type-assertion": true,
|
47 | "no-implicit-dependencies": [true, "dev"],
|
48 | "number-literal-format": true,
|
49 | "object-literal-sort-keys": false,
|
50 | "object-literal-key-quotes": false,
|
51 | "ordered-imports": [
|
52 | false,
|
53 | {
|
54 | "grouped-imports": true
|
55 | }
|
56 | ],
|
57 | "trailing-comma": false,
|
58 | "prefer-const": true,
|
59 | "prefer-for-of": true,
|
60 | "prefer-function-over-method": false,
|
61 | "prefer-conditional-expression": false,
|
62 | "promise-function-async": true,
|
63 | "quotemark": false,
|
64 | "radix": false,
|
65 | "semicolon": [true, "never"],
|
66 | "space-before-function-paren": [
|
67 | true,
|
68 | {
|
69 | "anonymous": "never",
|
70 | "named": "never",
|
71 | "method": "never",
|
72 | "constructor": "never",
|
73 | "asyncArrow": "always"
|
74 | }
|
75 | ],
|
76 | "space-within-parens": false,
|
77 | "triple-equals": false,
|
78 | "type-literal-delimiter": false,
|
79 | "variable-name": [true, "ban-keywords", "allow-pascal-case"],
|
80 | "whitespace": [
|
81 | true,
|
82 | "check-branch",
|
83 | "check-decl",
|
84 | "check-module",
|
85 | "check-operator",
|
86 | "check-separator",
|
87 | "check-rest-spread",
|
88 | "check-type",
|
89 | "check-typecast",
|
90 | "check-preblock"
|
91 | ]
|
92 | }
|
93 | }
|