]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/tslint.json
LP1830973 Angular 8 updates
[Evergreen.git] / Open-ILS / src / eg2 / tslint.json
1 {
2   "rulesDirectory": [
3     "node_modules/codelyzer"
4   ],
5   "rules": {
6     "arrow-return-shorthand": true,
7     "callable-types": true,
8     "class-name": true,
9     "comment-format": [
10       true,
11       "check-space"
12     ],
13     "curly": true,
14     "eofline": true,
15     "forin": true,
16     "import-blacklist": [
17       true,
18       "rxjs/Rx"
19     ],
20     "import-spacing": true,
21     "indent": [
22       true,
23       "spaces"
24     ],
25     "interface-over-type-literal": true,
26     "label-position": true,
27     "max-line-length": [
28       true,
29       140
30     ],
31     "member-access": false,
32     "member-ordering": [
33       true,
34       {
35         "order": [
36           "static-field",
37           "instance-field",
38           "static-method",
39           "instance-method"
40         ]
41       }
42     ],
43     "no-arg": true,
44     "no-bitwise": true,
45     "no-console": [
46       true,
47       "time",
48       "timeEnd",
49       "trace"
50     ],
51     "no-construct": true,
52     "no-debugger": true,
53     "no-duplicate-super": true,
54     "no-empty": false,
55     "no-empty-interface": true,
56     "no-eval": true,
57     "no-inferrable-types": [
58       true,
59       "ignore-params"
60     ],
61     "no-misused-new": true,
62     "no-non-null-assertion": true,
63     "no-shadowed-variable": true,
64     "no-string-literal": false,
65     "no-string-throw": true,
66     "no-switch-case-fall-through": true,
67     "no-trailing-whitespace": true,
68     "no-unnecessary-initializer": true,
69     "no-unused-expression": true,
70     "no-var-keyword": true,
71     "object-literal-sort-keys": false,
72     "one-line": [
73       true,
74       "check-open-brace",
75       "check-catch",
76       "check-else",
77       "check-whitespace"
78     ],
79     "prefer-const": true,
80     "quotemark": [
81       true,
82       "single"
83     ],
84     "radix": true,
85     "semicolon": [
86       true,
87       "always"
88     ],
89     "triple-equals": [
90       true,
91       "allow-null-check"
92     ],
93     "typedef-whitespace": [
94       true,
95       {
96         "call-signature": "nospace",
97         "index-signature": "nospace",
98         "parameter": "nospace",
99         "property-declaration": "nospace",
100         "variable-declaration": "nospace"
101       }
102     ],
103     "unified-signatures": true,
104     "variable-name": false,
105     "whitespace": [
106       true,
107       "check-branch",
108       "check-decl",
109       "check-operator",
110       "check-separator",
111       "check-type"
112     ],
113     "directive-selector": [
114       true,
115       "attribute",
116       "eg",
117       "camelCase"
118     ],
119     "component-selector": [
120       true,
121       "element",
122       "eg",
123       "kebab-case"
124     ],
125     "no-inputs-metadata-property": true,
126     "no-outputs-metadata-property": true,
127     "no-host-metadata-property": true,
128
129     "no-input-rename": true,
130     "no-output-rename": true,
131     "use-lifecycle-interface": true,
132     "use-pipe-transform-interface": true,
133     "component-class-suffix": true,
134     "directive-class-suffix": true
135   }
136 }