.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / tslint / lib / configs / all.d.ts
1 /**
2  * @license
3  * Copyright 2017 Palantir Technologies, Inc.
4  *
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
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
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.
16  */
17 export declare const rules: {
18     "adjacent-overload-signatures": boolean;
19     "ban-types": {
20         options: string[][];
21     };
22     "ban-ts-ignore": boolean;
23     "member-access": {
24         options: string[];
25     };
26     "member-ordering": {
27         options: {
28             order: string;
29             alphabetize: boolean;
30         };
31     };
32     "no-any": boolean;
33     "no-empty-interface": boolean;
34     "no-for-in": boolean;
35     "no-import-side-effect": boolean;
36     "no-inferrable-types": {
37         options: string[];
38     };
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;
51     typedef: {
52         options: string[];
53     };
54     "typedef-whitespace": {
55         options: {
56             "call-signature": string;
57             "index-signature": string;
58             parameter: string;
59             "property-declaration": string;
60             "variable-declaration": string;
61         }[];
62     };
63     "unified-signatures": boolean;
64     "await-promise": boolean;
65     "ban-comma-operator": boolean;
66     curly: boolean;
67     forin: boolean;
68     "function-constructor": boolean;
69     "label-position": boolean;
70     "no-arg": 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": {
80         options: string[];
81     };
82     "no-dynamic-delete": boolean;
83     "no-empty": boolean;
84     "no-eval": 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": {
104         options: string[];
105     };
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;
113     radix: 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;
126     eofline: boolean;
127     indent: {
128         options: string[];
129     };
130     "invalid-void": boolean;
131     "linebreak-style": {
132         options: string;
133     };
134     "max-classes-per-file": {
135         options: number;
136     };
137     "max-file-line-count": {
138         options: number;
139     };
140     "max-line-length": {
141         options: {
142             limit: number;
143         };
144     };
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;
155     "trailing-comma": {
156         options: {
157             esSpecCompliant: boolean;
158             multiline: string;
159             singleline: string;
160         };
161     };
162     align: {
163         options: string[];
164     };
165     "array-type": {
166         options: string;
167     };
168     "arrow-parens": boolean;
169     "arrow-return-shorthand": {
170         options: string;
171     };
172     "binary-expression-operand-order": boolean;
173     "callable-types": boolean;
174     "class-name": boolean;
175     "comment-format": {
176         options: string[];
177     };
178     "comment-type": {
179         options: string[];
180     };
181     "completed-docs": boolean;
182     deprecation: boolean;
183     encoding: boolean;
184     "file-name-casing": {
185         options: string;
186     };
187     "import-spacing": boolean;
188     "increment-decrement": boolean;
189     "interface-name": boolean;
190     "interface-over-type-literal": boolean;
191     "jsdoc-format": {
192         options: string;
193     };
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": {
210         options: string;
211     };
212     "object-literal-shorthand": boolean;
213     "one-line": {
214         options: string[];
215     };
216     "one-variable-per-declaration": boolean;
217     "ordered-imports": {
218         options: {
219             "grouped-imports": boolean;
220             "import-sources-order": string;
221             "named-imports-order": string;
222             "module-source-path": string;
223         };
224     };
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;
231     quotemark: {
232         options: string[];
233     };
234     "return-undefined": boolean;
235     semicolon: {
236         options: string[];
237     };
238     "space-before-function-paren": {
239         options: {
240             anonymous: string;
241             asyncArrow: string;
242             constructor: string;
243             method: string;
244             named: string;
245         };
246     };
247     "space-within-parens": {
248         options: number;
249     };
250     "switch-final-break": boolean;
251     "type-literal-delimiter": boolean;
252     "unnecessary-bind": boolean;
253     "unnecessary-else": boolean;
254     "variable-name": {
255         options: string[];
256     };
257     whitespace: {
258         options: string[];
259     };
260 };
261 export declare const RULES_EXCLUDED_FROM_ALL_CONFIG: string[];
262 export declare const jsRules: {
263     [key: string]: any;
264 };