3 * Copyright 2017 Palantir Technologies, Inc.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 export declare const rules: {
18 "adjacent-overload-signatures": boolean;
22 "ban-ts-ignore": boolean;
33 "no-empty-interface": boolean;
35 "no-import-side-effect": boolean;
36 "no-inferrable-types": {
39 "no-internal-module": boolean;
40 "no-magic-numbers": boolean;
41 "no-namespace": boolean;
42 "no-non-null-assertion": boolean;
43 "no-reference": boolean;
44 "no-restricted-globals": boolean;
45 "no-this-assignment": boolean;
46 "no-var-requires": boolean;
47 "only-arrow-functions": boolean;
48 "prefer-for-of": boolean;
49 "prefer-readonly": boolean;
50 "promise-function-async": boolean;
54 "typedef-whitespace": {
56 "call-signature": string;
57 "index-signature": string;
59 "property-declaration": string;
60 "variable-declaration": string;
63 "unified-signatures": boolean;
64 "await-promise": boolean;
65 "ban-comma-operator": boolean;
68 "function-constructor": boolean;
69 "label-position": boolean;
71 "no-async-without-await": boolean;
72 "no-bitwise": boolean;
73 "no-conditional-assignment": boolean;
74 "no-console": boolean;
75 "no-construct": boolean;
76 "no-debugger": boolean;
77 "no-duplicate-super": boolean;
78 "no-duplicate-switch-case": boolean;
79 "no-duplicate-variable": {
82 "no-dynamic-delete": boolean;
85 "no-floating-promises": boolean;
86 "no-for-in-array": boolean;
87 "no-implicit-dependencies": boolean;
88 "no-inferred-empty-object-type": boolean;
89 "no-invalid-template-strings": boolean;
90 "no-misused-new": boolean;
91 "no-null-keyword": boolean;
92 "no-null-undefined-union": boolean;
93 "no-object-literal-type-assertion": boolean;
94 "no-promise-as-boolean": boolean;
95 "no-return-await": boolean;
96 "no-shadowed-variable": boolean;
97 "no-string-literal": boolean;
98 "no-string-throw": boolean;
99 "no-sparse-arrays": boolean;
100 "no-submodule-imports": boolean;
101 "no-tautology-expression": boolean;
102 "no-unbound-method": boolean;
103 "no-unnecessary-class": {
106 "no-unsafe-any": boolean;
107 "no-unsafe-finally": boolean;
108 "no-unused-expression": boolean;
109 "no-use-before-declare": boolean;
110 "no-var-keyword": boolean;
111 "no-void-expression": boolean;
112 "prefer-conditional-expression": boolean;
114 "restrict-plus-operands": boolean;
115 "static-this": boolean;
116 "strict-boolean-expressions": boolean;
117 "strict-string-expressions": boolean;
118 "strict-comparisons": boolean;
119 "strict-type-predicates": boolean;
120 "switch-default": boolean;
121 "triple-equals": boolean;
122 "unnecessary-constructor": boolean;
123 "use-default-type-parameter": boolean;
124 "use-isnan": boolean;
125 "cyclomatic-complexity": boolean;
130 "invalid-void": boolean;
134 "max-classes-per-file": {
137 "max-file-line-count": {
145 "no-default-export": boolean;
146 "no-default-import": boolean;
147 "no-duplicate-imports": boolean;
148 "no-irregular-whitespace": boolean;
149 "no-mergeable-namespace": boolean;
150 "no-parameter-reassignment": boolean;
151 "no-require-imports": boolean;
152 "no-trailing-whitespace": boolean;
153 "object-literal-sort-keys": boolean;
154 "prefer-const": boolean;
157 esSpecCompliant: boolean;
168 "arrow-parens": boolean;
169 "arrow-return-shorthand": {
172 "binary-expression-operand-order": boolean;
173 "callable-types": boolean;
174 "class-name": boolean;
181 "completed-docs": boolean;
182 deprecation: boolean;
184 "file-name-casing": {
187 "import-spacing": boolean;
188 "increment-decrement": boolean;
189 "interface-name": boolean;
190 "interface-over-type-literal": boolean;
194 "match-default-export-name": boolean;
195 "new-parens": boolean;
196 "newline-before-return": boolean;
197 "newline-per-chained-call": boolean;
198 "no-angle-bracket-type-assertion": boolean;
199 "no-boolean-literal-compare": boolean;
200 "no-consecutive-blank-lines": boolean;
201 "no-parameter-properties": boolean;
202 "no-redundant-jsdoc": boolean;
203 "no-reference-import": boolean;
204 "no-unnecessary-callback-wrapper": boolean;
205 "no-unnecessary-initializer": boolean;
206 "no-unnecessary-qualifier": boolean;
207 "no-unnecessary-type-assertion": boolean;
208 "number-literal-format": boolean;
209 "object-literal-key-quotes": {
212 "object-literal-shorthand": boolean;
216 "one-variable-per-declaration": boolean;
219 "grouped-imports": boolean;
220 "import-sources-order": string;
221 "named-imports-order": string;
222 "module-source-path": string;
225 "prefer-function-over-method": boolean;
226 "prefer-method-signature": boolean;
227 "prefer-object-spread": boolean;
228 "prefer-switch": boolean;
229 "prefer-template": boolean;
230 "prefer-while": boolean;
234 "return-undefined": boolean;
238 "space-before-function-paren": {
247 "space-within-parens": {
250 "switch-final-break": boolean;
251 "type-literal-delimiter": boolean;
252 "unnecessary-bind": boolean;
253 "unnecessary-else": boolean;
261 export declare const RULES_EXCLUDED_FROM_ALL_CONFIG: string[];
262 export declare const jsRules: {