.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / tslint / lib / configs / recommended.d.ts
1 /**
2  * @license
3  * Copyright 2018 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     align: {
20         options: string[];
21     };
22     "array-type": {
23         options: string[];
24     };
25     "arrow-parens": boolean;
26     "arrow-return-shorthand": boolean;
27     "ban-types": {
28         options: string[][];
29     };
30     "callable-types": boolean;
31     "class-name": boolean;
32     "comment-format": {
33         options: string[];
34     };
35     curly: boolean;
36     "cyclomatic-complexity": boolean;
37     eofline: boolean;
38     forin: boolean;
39     "import-spacing": boolean;
40     indent: {
41         options: string[];
42     };
43     "interface-name": {
44         options: string[];
45     };
46     "interface-over-type-literal": boolean;
47     "jsdoc-format": boolean;
48     "label-position": boolean;
49     "max-classes-per-file": {
50         options: number;
51     };
52     "max-line-length": {
53         options: number;
54     };
55     "member-access": boolean;
56     "member-ordering": {
57         options: {
58             order: string;
59         };
60     };
61     "new-parens": boolean;
62     "no-angle-bracket-type-assertion": boolean;
63     "no-any": boolean;
64     "no-arg": boolean;
65     "no-bitwise": boolean;
66     "no-conditional-assignment": boolean;
67     "no-consecutive-blank-lines": boolean;
68     "no-console": boolean;
69     "no-construct": boolean;
70     "no-debugger": boolean;
71     "no-duplicate-super": boolean;
72     "no-empty": boolean;
73     "no-empty-interface": boolean;
74     "no-eval": boolean;
75     "no-internal-module": boolean;
76     "no-invalid-this": boolean;
77     "no-misused-new": boolean;
78     "no-namespace": boolean;
79     "no-parameter-properties": boolean;
80     "no-reference": boolean;
81     "no-reference-import": boolean;
82     "no-shadowed-variable": boolean;
83     "no-string-literal": boolean;
84     "no-string-throw": boolean;
85     "no-switch-case-fall-through": boolean;
86     "no-trailing-whitespace": boolean;
87     "no-unnecessary-initializer": boolean;
88     "no-unsafe-finally": boolean;
89     "no-unused-expression": boolean;
90     "no-use-before-declare": boolean;
91     "no-var-keyword": boolean;
92     "no-var-requires": boolean;
93     "object-literal-key-quotes": {
94         options: string;
95     };
96     "object-literal-shorthand": boolean;
97     "object-literal-sort-keys": boolean;
98     "one-line": {
99         options: string[];
100     };
101     "one-variable-per-declaration": {
102         options: string[];
103     };
104     "only-arrow-functions": {
105         options: string[];
106     };
107     "ordered-imports": {
108         options: {
109             "import-sources-order": string;
110             "module-source-path": string;
111             "named-imports-order": string;
112         };
113     };
114     "prefer-const": boolean;
115     "prefer-for-of": boolean;
116     quotemark: {
117         options: string[];
118     };
119     radix: boolean;
120     semicolon: {
121         options: string[];
122     };
123     "space-before-function-paren": {
124         options: {
125             anonymous: string;
126             asyncArrow: string;
127             constructor: string;
128             method: string;
129             named: string;
130         };
131     };
132     "trailing-comma": {
133         options: {
134             esSpecCompliant: boolean;
135             multiline: string;
136             singleline: string;
137         };
138     };
139     "triple-equals": {
140         options: string[];
141     };
142     typedef: boolean;
143     "typedef-whitespace": {
144         options: {
145             "call-signature": string;
146             "index-signature": string;
147             parameter: string;
148             "property-declaration": string;
149             "variable-declaration": string;
150         }[];
151     };
152     "typeof-compare": boolean;
153     "unified-signatures": boolean;
154     "use-isnan": boolean;
155     "variable-name": {
156         options: string[];
157     };
158     whitespace: {
159         options: string[];
160     };
161 };
162 export declare const jsRules: {
163     align: {
164         options: string[];
165     };
166     "class-name": boolean;
167     curly: boolean;
168     eofline: boolean;
169     forin: boolean;
170     "import-spacing": boolean;
171     indent: {
172         options: string[];
173     };
174     "jsdoc-format": boolean;
175     "label-position": boolean;
176     "max-line-length": {
177         options: number[];
178     };
179     "new-parens": boolean;
180     "no-arg": boolean;
181     "no-bitwise": boolean;
182     "no-conditional-assignment": boolean;
183     "no-consecutive-blank-lines": boolean;
184     "no-console": boolean;
185     "no-construct": boolean;
186     "no-debugger": boolean;
187     "no-duplicate-super": boolean;
188     "no-duplicate-variable": boolean;
189     "no-empty": boolean;
190     "no-eval": boolean;
191     "no-reference": boolean;
192     "no-shadowed-variable": boolean;
193     "no-string-literal": boolean;
194     "no-string-throw": boolean;
195     "no-switch-case-fall-through": boolean;
196     "no-trailing-whitespace": boolean;
197     "no-unused-expression": boolean;
198     "no-use-before-declare": boolean;
199     "object-literal-sort-keys": boolean;
200     "one-line": {
201         options: string[];
202     };
203     "one-variable-per-declaration": {
204         options: string[];
205     };
206     quotemark: {
207         options: string[];
208     };
209     radix: boolean;
210     semicolon: {
211         options: string[];
212     };
213     "space-before-function-paren": {
214         options: {
215             anonymous: string;
216             asyncArrow: string;
217             constructor: string;
218             method: string;
219             named: string;
220         };
221     };
222     "trailing-comma": {
223         options: {
224             multiline: string;
225             singleline: string;
226         };
227     };
228     "triple-equals": {
229         options: string[];
230     };
231     "use-isnan": boolean;
232     "variable-name": {
233         options: string[];
234     };
235     whitespace: {
236         options: string[];
237     };
238 };