@perfective/eslint-config 0.30.0 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.adoc +185 -60
- package/README.md +53 -40
- package/config/array-func/array-func-config.d.ts +2 -0
- package/config/array-func/array-func-config.js +16 -0
- package/config/cypress/cypress-config.d.ts +10 -0
- package/config/cypress/cypress-config.js +38 -0
- package/config/cypress/index.d.ts +1 -0
- package/config/cypress/index.js +1 -0
- package/config/eslint/eslint-config.d.ts +2 -0
- package/config/eslint/eslint-config.js +8 -0
- package/config/eslint/layout-formatting-rules.d.ts +2 -0
- package/config/eslint/possible-problems-rules.d.ts +2 -0
- package/config/eslint/suggestions-rules.d.ts +2 -0
- package/config/eslint-comments/best-practices-rules.d.ts +2 -0
- package/config/eslint-comments/eslint-comments-config.d.ts +2 -0
- package/config/eslint-comments/eslint-comments-config.js +11 -0
- package/config/eslint-comments/stylistic-issues-rules.d.ts +2 -0
- package/config/import/helpful-warnings-rules.d.ts +2 -0
- package/config/import/import-config.d.ts +4 -0
- package/config/import/import-config.js +46 -0
- package/config/import/index.d.ts +1 -0
- package/config/import/index.js +1 -0
- package/config/import/module-systems-rules.d.ts +2 -0
- package/config/import/rules/no-extraneous-dependencies.d.ts +15 -0
- package/config/import/rules/no-extraneous-dependencies.js +8 -0
- package/config/import/static-analysis-rules.d.ts +2 -0
- package/config/import/style-guide-rules.d.ts +2 -0
- package/config/jest/index.d.ts +1 -0
- package/config/jest/index.js +1 -0
- package/config/jest/jest-config.d.ts +8 -0
- package/config/jest/jest-config.js +128 -0
- package/config/jest/typescript-eslint-jest-rules.d.ts +2 -0
- package/config/jest-dom/index.d.ts +1 -0
- package/config/jest-dom/index.js +1 -0
- package/config/jest-dom/jest-dom-config.d.ts +8 -0
- package/config/jest-dom/jest-dom-config.js +23 -0
- package/config/jsdoc/jsdoc-config.d.ts +3 -0
- package/config/jsdoc/jsdoc-config.js +179 -0
- package/config/node/node-config.d.ts +2 -0
- package/config/node/node-config.js +66 -0
- package/config/perfective-eslint-config.d.ts +6 -0
- package/config/perfective-eslint-config.js +45 -0
- package/config/prefer-arrow/prefer-arrow-config.d.ts +2 -0
- package/config/prefer-arrow/prefer-arrow-config.js +16 -0
- package/config/promise/promise-config.d.ts +2 -0
- package/config/promise/promise-config.js +37 -0
- package/config/rxjs/index.d.ts +1 -0
- package/config/rxjs/index.js +1 -0
- package/config/rxjs/rxjs-config.d.ts +8 -0
- package/config/rxjs/rxjs-config.js +67 -0
- package/config/security/security-config.d.ts +2 -0
- package/config/security/security-config.js +24 -0
- package/config/simple-import-sort/index.d.ts +1 -0
- package/config/simple-import-sort/index.js +1 -0
- package/{rules → config}/simple-import-sort/rules/imports.d.ts +11 -2
- package/config/simple-import-sort/simple-import-sort-config.d.ts +2 -0
- package/config/simple-import-sort/simple-import-sort-config.js +13 -0
- package/config/stylistic/js/stylistic-js-config.d.ts +2 -0
- package/config/stylistic/js/stylistic-js-config.js +200 -0
- package/config/stylistic/jsx/stylistic-jsx-config.d.ts +2 -0
- package/config/stylistic/jsx/stylistic-jsx-config.js +87 -0
- package/config/stylistic/plus/stylistic-plus-config.d.ts +2 -0
- package/config/stylistic/plus/stylistic-plus-config.js +16 -0
- package/config/stylistic/ts/stylistic-ts-config.d.ts +2 -0
- package/config/stylistic/ts/stylistic-ts-config.js +141 -0
- package/config/testing-library/index.d.ts +1 -0
- package/config/testing-library/index.js +1 -0
- package/config/testing-library/testing-library-config.d.ts +8 -0
- package/config/testing-library/testing-library-config.js +45 -0
- package/config/typescript-eslint/extension-rules.d.ts +2 -0
- package/config/typescript-eslint/index.d.ts +1 -0
- package/config/typescript-eslint/index.js +1 -0
- package/{rules → config}/typescript-eslint/rules/typescript-eslint-naming-convention.d.ts +35 -1
- package/config/typescript-eslint/supported-rules.d.ts +2 -0
- package/{rules → config}/typescript-eslint/supported-rules.js +7 -3
- package/config/typescript-eslint/typescript-eslint-config.d.ts +2 -0
- package/config/typescript-eslint/typescript-eslint-config.js +15 -0
- package/config/unicorn/index.d.ts +1 -0
- package/config/unicorn/index.js +1 -0
- package/{rules → config}/unicorn/rules/prevent-abbreviations.d.ts +14 -2
- package/config/unicorn/unicorn-config.d.ts +2 -0
- package/config/unicorn/unicorn-config.js +185 -0
- package/index.d.ts +5 -1766
- package/index.js +5 -102
- package/linter/glob.d.ts +59 -0
- package/linter/glob.js +8 -0
- package/linter/language-options.d.ts +25 -0
- package/linter/language-options.js +45 -0
- package/linter/linter-config.d.ts +13 -0
- package/linter/linter-config.js +6 -0
- package/{config → linter}/node.d.ts +3 -1
- package/{config → linter}/plugin.d.ts +6 -2
- package/package.json +38 -40
- package/config.d.ts +0 -1
- package/config.js +0 -1
- package/cypress.d.ts +0 -6
- package/cypress.js +0 -31
- package/jest-dom.d.ts +0 -1
- package/jest-dom.js +0 -8
- package/jest.d.ts +0 -7
- package/jest.js +0 -29
- package/rules/array-func/index.d.ts +0 -13
- package/rules/array-func/index.js +0 -14
- package/rules/cypress/index.d.ts +0 -29
- package/rules/cypress/index.js +0 -23
- package/rules/eslint/index.d.ts +0 -339
- package/rules/eslint/index.js +0 -6
- package/rules/eslint/layout-formatting.d.ts +0 -64
- package/rules/eslint/possible-problems.d.ts +0 -96
- package/rules/eslint/suggestions.d.ts +0 -181
- package/rules/eslint-comments/best-practices.d.ts +0 -8
- package/rules/eslint-comments/index.d.ts +0 -20
- package/rules/eslint-comments/index.js +0 -9
- package/rules/eslint-comments/stylistic-issues.d.ts +0 -9
- package/rules/import/helpful-warnings.d.ts +0 -10
- package/rules/import/index.d.ts +0 -78
- package/rules/import/index.js +0 -11
- package/rules/import/module-systems.d.ts +0 -10
- package/rules/import/rules/no-extraneous-dependencies.d.ts +0 -14
- package/rules/import/rules/no-extraneous-dependencies.js +0 -23
- package/rules/import/static-analysis.d.ts +0 -26
- package/rules/import/style-guide.d.ts +0 -33
- package/rules/jest/index.d.ts +0 -124
- package/rules/jest/index.js +0 -98
- package/rules/jest/typescript-eslint.d.ts +0 -5
- package/rules/jest-dom/index.d.ts +0 -32
- package/rules/jest-dom/index.js +0 -19
- package/rules/jsdoc/index.d.ts +0 -134
- package/rules/jsdoc/index.js +0 -161
- package/rules/n/index.d.ts +0 -66
- package/rules/n/index.js +0 -64
- package/rules/prefer-arrow/index.d.ts +0 -13
- package/rules/prefer-arrow/index.js +0 -14
- package/rules/promise/index.d.ts +0 -34
- package/rules/promise/index.js +0 -35
- package/rules/rxjs/index.d.ts +0 -60
- package/rules/rxjs/index.js +0 -60
- package/rules/security/index.d.ts +0 -21
- package/rules/security/index.js +0 -22
- package/rules/simple-import-sort/index.d.ts +0 -10
- package/rules/simple-import-sort/index.js +0 -12
- package/rules/stylistic/js/index.d.ts +0 -204
- package/rules/stylistic/js/index.js +0 -198
- package/rules/stylistic/jsx/index.d.ts +0 -87
- package/rules/stylistic/jsx/index.js +0 -81
- package/rules/stylistic/plus/index.d.ts +0 -18
- package/rules/stylistic/plus/index.js +0 -14
- package/rules/stylistic/ts/index.d.ts +0 -141
- package/rules/stylistic/ts/index.js +0 -135
- package/rules/testing-library/index.d.ts +0 -62
- package/rules/testing-library/index.js +0 -41
- package/rules/typescript-eslint/extension-rules.d.ts +0 -113
- package/rules/typescript-eslint/index.d.ts +0 -371
- package/rules/typescript-eslint/index.js +0 -9
- package/rules/typescript-eslint/supported-rules.d.ts +0 -255
- package/rules/unicorn/index.d.ts +0 -183
- package/rules/unicorn/index.js +0 -178
- package/rules.d.ts +0 -4
- package/rules.js +0 -4
- package/rxjs.d.ts +0 -6
- package/rxjs.js +0 -22
- package/testing-library.d.ts +0 -1
- package/testing-library.js +0 -8
- /package/{rules/eslint/layout-formatting.js → config/eslint/layout-formatting-rules.js} +0 -0
- /package/{rules/eslint/possible-problems.js → config/eslint/possible-problems-rules.js} +0 -0
- /package/{rules/eslint/suggestions.js → config/eslint/suggestions-rules.js} +0 -0
- /package/{rules/eslint-comments/best-practices.js → config/eslint-comments/best-practices-rules.js} +0 -0
- /package/{rules/eslint-comments/stylistic-issues.js → config/eslint-comments/stylistic-issues-rules.js} +0 -0
- /package/{rules/import/helpful-warnings.js → config/import/helpful-warnings-rules.js} +0 -0
- /package/{rules/import/module-systems.js → config/import/module-systems-rules.js} +0 -0
- /package/{rules/import/static-analysis.js → config/import/static-analysis-rules.js} +0 -0
- /package/{rules/import/style-guide.js → config/import/style-guide-rules.js} +0 -0
- /package/{rules/jest/typescript-eslint.js → config/jest/typescript-eslint-jest-rules.js} +0 -0
- /package/{rules → config}/simple-import-sort/rules/imports.js +0 -0
- /package/{rules → config}/typescript-eslint/extension-rules.js +0 -0
- /package/{rules → config}/typescript-eslint/rules/typescript-eslint-naming-convention.js +0 -0
- /package/{rules → config}/unicorn/rules/prevent-abbreviations.js +0 -0
- /package/{config → linter}/node.js +0 -0
- /package/{config → linter}/plugin.js +0 -0
package/rules/eslint/index.d.ts
DELETED
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
export declare const eslintConfig: {
|
|
2
|
-
rules: {
|
|
3
|
-
'array-bracket-newline': string;
|
|
4
|
-
'array-bracket-spacing': string;
|
|
5
|
-
'array-element-newline': string;
|
|
6
|
-
'arrow-parens': string;
|
|
7
|
-
'arrow-spacing': string;
|
|
8
|
-
'block-spacing': string;
|
|
9
|
-
'brace-style': string;
|
|
10
|
-
'comma-dangle': string;
|
|
11
|
-
'comma-spacing': string;
|
|
12
|
-
'comma-style': string;
|
|
13
|
-
'computed-property-spacing': string;
|
|
14
|
-
'dot-location': string;
|
|
15
|
-
'eol-last': string;
|
|
16
|
-
'func-call-spacing': string;
|
|
17
|
-
'function-call-argument-newline': string;
|
|
18
|
-
'function-paren-newline': string;
|
|
19
|
-
'generator-star-spacing': string;
|
|
20
|
-
'implicit-arrow-linebreak': string;
|
|
21
|
-
indent: string;
|
|
22
|
-
'jsx-quotes': string;
|
|
23
|
-
'key-spacing': string;
|
|
24
|
-
'keyword-spacing': string;
|
|
25
|
-
'line-comment-position': string;
|
|
26
|
-
'linebreak-style': string;
|
|
27
|
-
'lines-around-comment': string;
|
|
28
|
-
'lines-between-class-members': string;
|
|
29
|
-
'max-len': string;
|
|
30
|
-
'max-statements-per-line': string;
|
|
31
|
-
'multiline-ternary': string;
|
|
32
|
-
'new-parens': string;
|
|
33
|
-
'newline-per-chained-call': string;
|
|
34
|
-
'no-extra-parens': string;
|
|
35
|
-
'no-mixed-spaces-and-tabs': string;
|
|
36
|
-
'no-multi-spaces': string;
|
|
37
|
-
'no-multiple-empty-lines': string;
|
|
38
|
-
'no-tabs': string;
|
|
39
|
-
'no-trailing-spaces': string;
|
|
40
|
-
'no-whitespace-before-property': string;
|
|
41
|
-
'nonblock-statement-body-position': string;
|
|
42
|
-
'object-curly-newline': string;
|
|
43
|
-
'object-curly-spacing': string;
|
|
44
|
-
'object-property-newline': string;
|
|
45
|
-
'operator-linebreak': string;
|
|
46
|
-
'padded-blocks': string;
|
|
47
|
-
'padding-line-between-statements': string;
|
|
48
|
-
quotes: string;
|
|
49
|
-
'rest-spread-spacing': string;
|
|
50
|
-
semi: string;
|
|
51
|
-
'semi-spacing': string;
|
|
52
|
-
'semi-style': string;
|
|
53
|
-
'space-before-blocks': string;
|
|
54
|
-
'space-before-function-paren': string;
|
|
55
|
-
'space-in-parens': string;
|
|
56
|
-
'space-infix-ops': string;
|
|
57
|
-
'space-unary-ops': string;
|
|
58
|
-
'switch-colon-spacing': string;
|
|
59
|
-
'template-curly-spacing': string;
|
|
60
|
-
'template-tag-spacing': string;
|
|
61
|
-
'unicode-bom': string[];
|
|
62
|
-
'wrap-iife': string;
|
|
63
|
-
'wrap-regex': string;
|
|
64
|
-
'yield-star-spacing': string;
|
|
65
|
-
'accessor-pairs': string;
|
|
66
|
-
'arrow-body-style': string[];
|
|
67
|
-
'block-scoped-var': string;
|
|
68
|
-
camelcase: string;
|
|
69
|
-
'capitalized-comments': (string | {
|
|
70
|
-
ignorePattern: string;
|
|
71
|
-
ignoreConsecutiveComments: boolean;
|
|
72
|
-
})[];
|
|
73
|
-
'class-methods-use-this': string;
|
|
74
|
-
complexity: (string | number)[];
|
|
75
|
-
'consistent-return': string;
|
|
76
|
-
'consistent-this': string[];
|
|
77
|
-
curly: string[];
|
|
78
|
-
'default-case': string;
|
|
79
|
-
'default-case-last': string;
|
|
80
|
-
'default-param-last': string;
|
|
81
|
-
'dot-notation': (string | {
|
|
82
|
-
allowKeywords: boolean;
|
|
83
|
-
})[];
|
|
84
|
-
eqeqeq: string[];
|
|
85
|
-
'func-name-matching': string[];
|
|
86
|
-
'func-names': string[];
|
|
87
|
-
'func-style': string[];
|
|
88
|
-
'grouped-accessor-pairs': string[];
|
|
89
|
-
'guard-for-in': string;
|
|
90
|
-
'id-denylist': string[];
|
|
91
|
-
'id-length': string;
|
|
92
|
-
'id-match': string;
|
|
93
|
-
'init-declarations': string[];
|
|
94
|
-
'logical-assignment-operators': (string | {
|
|
95
|
-
enforceForIfStatements: boolean;
|
|
96
|
-
})[];
|
|
97
|
-
'max-classes-per-file': (string | number)[];
|
|
98
|
-
'max-depth': (string | number)[];
|
|
99
|
-
'max-lines': string;
|
|
100
|
-
'max-lines-per-function': string;
|
|
101
|
-
'max-nested-callbacks': (string | number)[];
|
|
102
|
-
'max-params': (string | {
|
|
103
|
-
max: number;
|
|
104
|
-
})[];
|
|
105
|
-
'max-statements': (string | {
|
|
106
|
-
max: number;
|
|
107
|
-
})[];
|
|
108
|
-
'multiline-comment-style': string;
|
|
109
|
-
'new-cap': (string | {
|
|
110
|
-
newIsCap: boolean;
|
|
111
|
-
capIsNew: boolean;
|
|
112
|
-
properties: boolean;
|
|
113
|
-
})[];
|
|
114
|
-
'no-alert': string;
|
|
115
|
-
'no-array-constructor': string;
|
|
116
|
-
'no-bitwise': string;
|
|
117
|
-
'no-caller': string;
|
|
118
|
-
'no-case-declarations': string;
|
|
119
|
-
'no-confusing-arrow': string;
|
|
120
|
-
'no-console': string;
|
|
121
|
-
'no-continue': string;
|
|
122
|
-
'no-delete-var': string;
|
|
123
|
-
'no-div-regex': string;
|
|
124
|
-
'no-else-return': (string | {
|
|
125
|
-
allowElseIf: boolean;
|
|
126
|
-
})[];
|
|
127
|
-
'no-empty': string;
|
|
128
|
-
'no-empty-function': string;
|
|
129
|
-
'no-empty-static-block': string;
|
|
130
|
-
'no-eq-null': string;
|
|
131
|
-
'no-eval': string;
|
|
132
|
-
'no-extend-native': string;
|
|
133
|
-
'no-extra-bind': string;
|
|
134
|
-
'no-extra-boolean-cast': (string | {
|
|
135
|
-
enforceForInnerExpressions: boolean;
|
|
136
|
-
})[];
|
|
137
|
-
'no-extra-label': string;
|
|
138
|
-
'no-extra-semi': string;
|
|
139
|
-
'no-floating-decimal': string;
|
|
140
|
-
'no-global-assign': string;
|
|
141
|
-
'no-implicit-coercion': string;
|
|
142
|
-
'no-implicit-globals': string;
|
|
143
|
-
'no-implied-eval': string;
|
|
144
|
-
'no-inline-comments': (string | {
|
|
145
|
-
ignorePattern: string;
|
|
146
|
-
})[];
|
|
147
|
-
'no-invalid-this': string;
|
|
148
|
-
'no-iterator': string;
|
|
149
|
-
'no-label-var': string;
|
|
150
|
-
'no-labels': string;
|
|
151
|
-
'no-lone-blocks': string;
|
|
152
|
-
'no-lonely-if': string;
|
|
153
|
-
'no-loop-func': string;
|
|
154
|
-
'no-magic-numbers': string;
|
|
155
|
-
'no-mixed-operators': string;
|
|
156
|
-
'no-multi-assign': string;
|
|
157
|
-
'no-multi-str': string;
|
|
158
|
-
'no-negated-condition': string;
|
|
159
|
-
'no-nested-ternary': string;
|
|
160
|
-
'no-new': string;
|
|
161
|
-
'no-new-func': string;
|
|
162
|
-
'no-new-object': string;
|
|
163
|
-
'no-new-wrappers': string;
|
|
164
|
-
'no-nonoctal-decimal-escape': string;
|
|
165
|
-
'no-object-constructor': string;
|
|
166
|
-
'no-octal': string;
|
|
167
|
-
'no-octal-escape': string;
|
|
168
|
-
'no-param-reassign': string;
|
|
169
|
-
'no-plusplus': (string | {
|
|
170
|
-
allowForLoopAfterthoughts: boolean;
|
|
171
|
-
})[];
|
|
172
|
-
'no-proto': string;
|
|
173
|
-
'no-redeclare': string;
|
|
174
|
-
'no-regex-spaces': string;
|
|
175
|
-
'no-restricted-exports': string;
|
|
176
|
-
'no-restricted-globals': string;
|
|
177
|
-
'no-restricted-imports': string;
|
|
178
|
-
'no-restricted-properties': string;
|
|
179
|
-
'no-restricted-syntax': string[];
|
|
180
|
-
'no-return-assign': string;
|
|
181
|
-
'no-script-url': string;
|
|
182
|
-
'no-sequences': (string | {
|
|
183
|
-
allowInParentheses: boolean;
|
|
184
|
-
})[];
|
|
185
|
-
'no-shadow': string;
|
|
186
|
-
'no-shadow-restricted-names': string;
|
|
187
|
-
'no-ternary': string;
|
|
188
|
-
'no-throw-literal': string;
|
|
189
|
-
'no-undef-init': string;
|
|
190
|
-
'no-undefined': string;
|
|
191
|
-
'no-underscore-dangle': (string | {
|
|
192
|
-
allowAfterSuper: boolean;
|
|
193
|
-
allowAfterThis: boolean;
|
|
194
|
-
allowAfterThisConstructor: boolean;
|
|
195
|
-
allowFunctionParams: boolean;
|
|
196
|
-
enforceInMethodNames: boolean;
|
|
197
|
-
enforceInClassFields: boolean;
|
|
198
|
-
})[];
|
|
199
|
-
'no-unneeded-ternary': string;
|
|
200
|
-
'no-unused-expressions': string;
|
|
201
|
-
'no-unused-labels': string;
|
|
202
|
-
'no-useless-call': string;
|
|
203
|
-
'no-useless-catch': string;
|
|
204
|
-
'no-useless-computed-key': string;
|
|
205
|
-
'no-useless-concat': string;
|
|
206
|
-
'no-useless-constructor': string;
|
|
207
|
-
'no-useless-escape': string;
|
|
208
|
-
'no-useless-rename': string;
|
|
209
|
-
'no-useless-return': string;
|
|
210
|
-
'no-var': string;
|
|
211
|
-
'no-void': string;
|
|
212
|
-
'no-warning-comments': string;
|
|
213
|
-
'no-with': string;
|
|
214
|
-
'object-shorthand': string[];
|
|
215
|
-
'one-var': string[];
|
|
216
|
-
'one-var-declaration-per-line': string;
|
|
217
|
-
'operator-assignment': string[];
|
|
218
|
-
'prefer-arrow-callback': string;
|
|
219
|
-
'prefer-const': string;
|
|
220
|
-
'prefer-destructuring': string;
|
|
221
|
-
'prefer-exponentiation-operator': string;
|
|
222
|
-
'prefer-named-capture-group': string;
|
|
223
|
-
'prefer-numeric-literals': string;
|
|
224
|
-
'prefer-object-has-own': string;
|
|
225
|
-
'prefer-object-spread': string;
|
|
226
|
-
'prefer-promise-reject-errors': string;
|
|
227
|
-
'prefer-regex-literals': string;
|
|
228
|
-
'prefer-rest-params': string;
|
|
229
|
-
'prefer-spread': string;
|
|
230
|
-
'prefer-template': string;
|
|
231
|
-
'quote-props': string;
|
|
232
|
-
radix: string;
|
|
233
|
-
'require-await': string;
|
|
234
|
-
'require-unicode-regexp': string;
|
|
235
|
-
'require-yield': string;
|
|
236
|
-
'sort-imports': string;
|
|
237
|
-
'sort-keys': string;
|
|
238
|
-
'sort-vars': string;
|
|
239
|
-
'spaced-comment': string;
|
|
240
|
-
strict: string;
|
|
241
|
-
'symbol-description': string;
|
|
242
|
-
'vars-on-top': string;
|
|
243
|
-
yoda: string[];
|
|
244
|
-
'array-callback-return': (string | {
|
|
245
|
-
allowImplicit: boolean;
|
|
246
|
-
checkForEach: boolean;
|
|
247
|
-
allowVoid: boolean;
|
|
248
|
-
})[];
|
|
249
|
-
'constructor-super': string;
|
|
250
|
-
'for-direction': string;
|
|
251
|
-
'getter-return': string;
|
|
252
|
-
'no-async-promise-executor': string;
|
|
253
|
-
'no-await-in-loop': string;
|
|
254
|
-
'no-class-assign': string;
|
|
255
|
-
'no-compare-neg-zero': string;
|
|
256
|
-
'no-cond-assign': string[];
|
|
257
|
-
'no-const-assign': string;
|
|
258
|
-
'no-constant-binary-expression': string;
|
|
259
|
-
'no-constant-condition': string;
|
|
260
|
-
'no-constructor-return': string;
|
|
261
|
-
'no-control-regex': string;
|
|
262
|
-
'no-debugger': string;
|
|
263
|
-
'no-dupe-args': string;
|
|
264
|
-
'no-dupe-class-members': string;
|
|
265
|
-
'no-dupe-else-if': string;
|
|
266
|
-
'no-dupe-keys': string;
|
|
267
|
-
'no-duplicate-case': string;
|
|
268
|
-
'no-duplicate-imports': (string | {
|
|
269
|
-
includeExports: boolean;
|
|
270
|
-
})[];
|
|
271
|
-
'no-empty-character-class': string;
|
|
272
|
-
'no-empty-pattern': string;
|
|
273
|
-
'no-ex-assign': string;
|
|
274
|
-
'no-fallthrough': (string | {
|
|
275
|
-
allowEmptyCase: boolean;
|
|
276
|
-
reportUnusedFallthroughComment: boolean;
|
|
277
|
-
})[];
|
|
278
|
-
'no-func-assign': string;
|
|
279
|
-
'no-import-assign': string;
|
|
280
|
-
'no-inner-declarations': string;
|
|
281
|
-
'no-invalid-regexp': string;
|
|
282
|
-
'no-irregular-whitespace': (string | {
|
|
283
|
-
skipStrings: boolean;
|
|
284
|
-
skipComments: boolean;
|
|
285
|
-
skipRegExps: boolean;
|
|
286
|
-
skipTemplates: boolean;
|
|
287
|
-
skipJSXText: boolean;
|
|
288
|
-
})[];
|
|
289
|
-
'no-loss-of-precision': string;
|
|
290
|
-
'no-misleading-character-class': (string | {
|
|
291
|
-
allowEscape: boolean;
|
|
292
|
-
})[];
|
|
293
|
-
'no-new-native-nonconstructor': string;
|
|
294
|
-
'no-new-symbol': string;
|
|
295
|
-
'no-obj-calls': string;
|
|
296
|
-
'no-promise-executor-return': string;
|
|
297
|
-
'no-prototype-builtins': string;
|
|
298
|
-
'no-self-assign': string;
|
|
299
|
-
'no-self-compare': string;
|
|
300
|
-
'no-setter-return': string;
|
|
301
|
-
'no-sparse-arrays': string;
|
|
302
|
-
'no-template-curly-in-string': string;
|
|
303
|
-
'no-this-before-super': string;
|
|
304
|
-
'no-undef': string;
|
|
305
|
-
'no-unexpected-multiline': string;
|
|
306
|
-
'no-unmodified-loop-condition': string;
|
|
307
|
-
'no-unreachable': string;
|
|
308
|
-
'no-unreachable-loop': string;
|
|
309
|
-
'no-unsafe-finally': string;
|
|
310
|
-
'no-unsafe-negation': string;
|
|
311
|
-
'no-unsafe-optional-chaining': string;
|
|
312
|
-
'no-unused-private-class-members': string;
|
|
313
|
-
'no-unused-vars': (string | {
|
|
314
|
-
args: string;
|
|
315
|
-
argsIgnorePattern: string;
|
|
316
|
-
caughtErrors: string;
|
|
317
|
-
destructuredArrayIgnorePattern: string;
|
|
318
|
-
ignoreClassWithStaticInitBlock: boolean;
|
|
319
|
-
ignoreRestSiblings: boolean;
|
|
320
|
-
reportUsedIgnorePattern: boolean;
|
|
321
|
-
vars: string;
|
|
322
|
-
})[];
|
|
323
|
-
'no-use-before-define': (string | {
|
|
324
|
-
functions: boolean;
|
|
325
|
-
classes: boolean;
|
|
326
|
-
variables: boolean;
|
|
327
|
-
allowNamedExports: boolean;
|
|
328
|
-
})[];
|
|
329
|
-
'no-useless-backreference': string;
|
|
330
|
-
'no-useless-assignment': string;
|
|
331
|
-
'require-atomic-updates': (string | {
|
|
332
|
-
allowProperties: boolean;
|
|
333
|
-
})[];
|
|
334
|
-
'use-isnan': string;
|
|
335
|
-
'valid-typeof': (string | {
|
|
336
|
-
requireStringLiterals: boolean;
|
|
337
|
-
})[];
|
|
338
|
-
};
|
|
339
|
-
};
|
package/rules/eslint/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { eslintLayoutFormattingRules } from "./layout-formatting.js";
|
|
2
|
-
import { eslintPossibleProblemsRules } from "./possible-problems.js";
|
|
3
|
-
import { eslintSuggestionsRules } from "./suggestions.js";
|
|
4
|
-
export const eslintConfig = {
|
|
5
|
-
rules: Object.assign(Object.assign(Object.assign({}, eslintPossibleProblemsRules), eslintSuggestionsRules), eslintLayoutFormattingRules)
|
|
6
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export declare const eslintLayoutFormattingRules: {
|
|
2
|
-
'array-bracket-newline': string;
|
|
3
|
-
'array-bracket-spacing': string;
|
|
4
|
-
'array-element-newline': string;
|
|
5
|
-
'arrow-parens': string;
|
|
6
|
-
'arrow-spacing': string;
|
|
7
|
-
'block-spacing': string;
|
|
8
|
-
'brace-style': string;
|
|
9
|
-
'comma-dangle': string;
|
|
10
|
-
'comma-spacing': string;
|
|
11
|
-
'comma-style': string;
|
|
12
|
-
'computed-property-spacing': string;
|
|
13
|
-
'dot-location': string;
|
|
14
|
-
'eol-last': string;
|
|
15
|
-
'func-call-spacing': string;
|
|
16
|
-
'function-call-argument-newline': string;
|
|
17
|
-
'function-paren-newline': string;
|
|
18
|
-
'generator-star-spacing': string;
|
|
19
|
-
'implicit-arrow-linebreak': string;
|
|
20
|
-
indent: string;
|
|
21
|
-
'jsx-quotes': string;
|
|
22
|
-
'key-spacing': string;
|
|
23
|
-
'keyword-spacing': string;
|
|
24
|
-
'line-comment-position': string;
|
|
25
|
-
'linebreak-style': string;
|
|
26
|
-
'lines-around-comment': string;
|
|
27
|
-
'lines-between-class-members': string;
|
|
28
|
-
'max-len': string;
|
|
29
|
-
'max-statements-per-line': string;
|
|
30
|
-
'multiline-ternary': string;
|
|
31
|
-
'new-parens': string;
|
|
32
|
-
'newline-per-chained-call': string;
|
|
33
|
-
'no-extra-parens': string;
|
|
34
|
-
'no-mixed-spaces-and-tabs': string;
|
|
35
|
-
'no-multi-spaces': string;
|
|
36
|
-
'no-multiple-empty-lines': string;
|
|
37
|
-
'no-tabs': string;
|
|
38
|
-
'no-trailing-spaces': string;
|
|
39
|
-
'no-whitespace-before-property': string;
|
|
40
|
-
'nonblock-statement-body-position': string;
|
|
41
|
-
'object-curly-newline': string;
|
|
42
|
-
'object-curly-spacing': string;
|
|
43
|
-
'object-property-newline': string;
|
|
44
|
-
'operator-linebreak': string;
|
|
45
|
-
'padded-blocks': string;
|
|
46
|
-
'padding-line-between-statements': string;
|
|
47
|
-
quotes: string;
|
|
48
|
-
'rest-spread-spacing': string;
|
|
49
|
-
semi: string;
|
|
50
|
-
'semi-spacing': string;
|
|
51
|
-
'semi-style': string;
|
|
52
|
-
'space-before-blocks': string;
|
|
53
|
-
'space-before-function-paren': string;
|
|
54
|
-
'space-in-parens': string;
|
|
55
|
-
'space-infix-ops': string;
|
|
56
|
-
'space-unary-ops': string;
|
|
57
|
-
'switch-colon-spacing': string;
|
|
58
|
-
'template-curly-spacing': string;
|
|
59
|
-
'template-tag-spacing': string;
|
|
60
|
-
'unicode-bom': string[];
|
|
61
|
-
'wrap-iife': string;
|
|
62
|
-
'wrap-regex': string;
|
|
63
|
-
'yield-star-spacing': string;
|
|
64
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export declare const eslintPossibleProblemsRules: {
|
|
2
|
-
'array-callback-return': (string | {
|
|
3
|
-
allowImplicit: boolean;
|
|
4
|
-
checkForEach: boolean;
|
|
5
|
-
allowVoid: boolean;
|
|
6
|
-
})[];
|
|
7
|
-
'constructor-super': string;
|
|
8
|
-
'for-direction': string;
|
|
9
|
-
'getter-return': string;
|
|
10
|
-
'no-async-promise-executor': string;
|
|
11
|
-
'no-await-in-loop': string;
|
|
12
|
-
'no-class-assign': string;
|
|
13
|
-
'no-compare-neg-zero': string;
|
|
14
|
-
'no-cond-assign': string[];
|
|
15
|
-
'no-const-assign': string;
|
|
16
|
-
'no-constant-binary-expression': string;
|
|
17
|
-
'no-constant-condition': string;
|
|
18
|
-
'no-constructor-return': string;
|
|
19
|
-
'no-control-regex': string;
|
|
20
|
-
'no-debugger': string;
|
|
21
|
-
'no-dupe-args': string;
|
|
22
|
-
'no-dupe-class-members': string;
|
|
23
|
-
'no-dupe-else-if': string;
|
|
24
|
-
'no-dupe-keys': string;
|
|
25
|
-
'no-duplicate-case': string;
|
|
26
|
-
'no-duplicate-imports': (string | {
|
|
27
|
-
includeExports: boolean;
|
|
28
|
-
})[];
|
|
29
|
-
'no-empty-character-class': string;
|
|
30
|
-
'no-empty-pattern': string;
|
|
31
|
-
'no-ex-assign': string;
|
|
32
|
-
'no-fallthrough': (string | {
|
|
33
|
-
allowEmptyCase: boolean;
|
|
34
|
-
reportUnusedFallthroughComment: boolean;
|
|
35
|
-
})[];
|
|
36
|
-
'no-func-assign': string;
|
|
37
|
-
'no-import-assign': string;
|
|
38
|
-
'no-inner-declarations': string;
|
|
39
|
-
'no-invalid-regexp': string;
|
|
40
|
-
'no-irregular-whitespace': (string | {
|
|
41
|
-
skipStrings: boolean;
|
|
42
|
-
skipComments: boolean;
|
|
43
|
-
skipRegExps: boolean;
|
|
44
|
-
skipTemplates: boolean;
|
|
45
|
-
skipJSXText: boolean;
|
|
46
|
-
})[];
|
|
47
|
-
'no-loss-of-precision': string;
|
|
48
|
-
'no-misleading-character-class': (string | {
|
|
49
|
-
allowEscape: boolean;
|
|
50
|
-
})[];
|
|
51
|
-
'no-new-native-nonconstructor': string;
|
|
52
|
-
'no-new-symbol': string;
|
|
53
|
-
'no-obj-calls': string;
|
|
54
|
-
'no-promise-executor-return': string;
|
|
55
|
-
'no-prototype-builtins': string;
|
|
56
|
-
'no-self-assign': string;
|
|
57
|
-
'no-self-compare': string;
|
|
58
|
-
'no-setter-return': string;
|
|
59
|
-
'no-sparse-arrays': string;
|
|
60
|
-
'no-template-curly-in-string': string;
|
|
61
|
-
'no-this-before-super': string;
|
|
62
|
-
'no-undef': string;
|
|
63
|
-
'no-unexpected-multiline': string;
|
|
64
|
-
'no-unmodified-loop-condition': string;
|
|
65
|
-
'no-unreachable': string;
|
|
66
|
-
'no-unreachable-loop': string;
|
|
67
|
-
'no-unsafe-finally': string;
|
|
68
|
-
'no-unsafe-negation': string;
|
|
69
|
-
'no-unsafe-optional-chaining': string;
|
|
70
|
-
'no-unused-private-class-members': string;
|
|
71
|
-
'no-unused-vars': (string | {
|
|
72
|
-
args: string;
|
|
73
|
-
argsIgnorePattern: string;
|
|
74
|
-
caughtErrors: string;
|
|
75
|
-
destructuredArrayIgnorePattern: string;
|
|
76
|
-
ignoreClassWithStaticInitBlock: boolean;
|
|
77
|
-
ignoreRestSiblings: boolean;
|
|
78
|
-
reportUsedIgnorePattern: boolean;
|
|
79
|
-
vars: string;
|
|
80
|
-
})[];
|
|
81
|
-
'no-use-before-define': (string | {
|
|
82
|
-
functions: boolean;
|
|
83
|
-
classes: boolean;
|
|
84
|
-
variables: boolean;
|
|
85
|
-
allowNamedExports: boolean;
|
|
86
|
-
})[];
|
|
87
|
-
'no-useless-backreference': string;
|
|
88
|
-
'no-useless-assignment': string;
|
|
89
|
-
'require-atomic-updates': (string | {
|
|
90
|
-
allowProperties: boolean;
|
|
91
|
-
})[];
|
|
92
|
-
'use-isnan': string;
|
|
93
|
-
'valid-typeof': (string | {
|
|
94
|
-
requireStringLiterals: boolean;
|
|
95
|
-
})[];
|
|
96
|
-
};
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
export declare const eslintSuggestionsRules: {
|
|
2
|
-
'accessor-pairs': string;
|
|
3
|
-
'arrow-body-style': string[];
|
|
4
|
-
'block-scoped-var': string;
|
|
5
|
-
camelcase: string;
|
|
6
|
-
'capitalized-comments': (string | {
|
|
7
|
-
ignorePattern: string;
|
|
8
|
-
ignoreConsecutiveComments: boolean;
|
|
9
|
-
})[];
|
|
10
|
-
'class-methods-use-this': string;
|
|
11
|
-
complexity: (string | number)[];
|
|
12
|
-
'consistent-return': string;
|
|
13
|
-
'consistent-this': string[];
|
|
14
|
-
curly: string[];
|
|
15
|
-
'default-case': string;
|
|
16
|
-
'default-case-last': string;
|
|
17
|
-
'default-param-last': string;
|
|
18
|
-
'dot-notation': (string | {
|
|
19
|
-
allowKeywords: boolean;
|
|
20
|
-
})[];
|
|
21
|
-
eqeqeq: string[];
|
|
22
|
-
'func-name-matching': string[];
|
|
23
|
-
'func-names': string[];
|
|
24
|
-
'func-style': string[];
|
|
25
|
-
'grouped-accessor-pairs': string[];
|
|
26
|
-
'guard-for-in': string;
|
|
27
|
-
'id-denylist': string[];
|
|
28
|
-
'id-length': string;
|
|
29
|
-
'id-match': string;
|
|
30
|
-
'init-declarations': string[];
|
|
31
|
-
'logical-assignment-operators': (string | {
|
|
32
|
-
enforceForIfStatements: boolean;
|
|
33
|
-
})[];
|
|
34
|
-
'max-classes-per-file': (string | number)[];
|
|
35
|
-
'max-depth': (string | number)[];
|
|
36
|
-
'max-lines': string;
|
|
37
|
-
'max-lines-per-function': string;
|
|
38
|
-
'max-nested-callbacks': (string | number)[];
|
|
39
|
-
'max-params': (string | {
|
|
40
|
-
max: number;
|
|
41
|
-
})[];
|
|
42
|
-
'max-statements': (string | {
|
|
43
|
-
max: number;
|
|
44
|
-
})[];
|
|
45
|
-
'multiline-comment-style': string;
|
|
46
|
-
'new-cap': (string | {
|
|
47
|
-
newIsCap: boolean;
|
|
48
|
-
capIsNew: boolean;
|
|
49
|
-
properties: boolean;
|
|
50
|
-
})[];
|
|
51
|
-
'no-alert': string;
|
|
52
|
-
'no-array-constructor': string;
|
|
53
|
-
'no-bitwise': string;
|
|
54
|
-
'no-caller': string;
|
|
55
|
-
'no-case-declarations': string;
|
|
56
|
-
'no-confusing-arrow': string;
|
|
57
|
-
'no-console': string;
|
|
58
|
-
'no-continue': string;
|
|
59
|
-
'no-delete-var': string;
|
|
60
|
-
'no-div-regex': string;
|
|
61
|
-
'no-else-return': (string | {
|
|
62
|
-
allowElseIf: boolean;
|
|
63
|
-
})[];
|
|
64
|
-
'no-empty': string;
|
|
65
|
-
'no-empty-function': string;
|
|
66
|
-
'no-empty-static-block': string;
|
|
67
|
-
'no-eq-null': string;
|
|
68
|
-
'no-eval': string;
|
|
69
|
-
'no-extend-native': string;
|
|
70
|
-
'no-extra-bind': string;
|
|
71
|
-
'no-extra-boolean-cast': (string | {
|
|
72
|
-
enforceForInnerExpressions: boolean;
|
|
73
|
-
})[];
|
|
74
|
-
'no-extra-label': string;
|
|
75
|
-
'no-extra-semi': string;
|
|
76
|
-
'no-floating-decimal': string;
|
|
77
|
-
'no-global-assign': string;
|
|
78
|
-
'no-implicit-coercion': string;
|
|
79
|
-
'no-implicit-globals': string;
|
|
80
|
-
'no-implied-eval': string;
|
|
81
|
-
'no-inline-comments': (string | {
|
|
82
|
-
ignorePattern: string;
|
|
83
|
-
})[];
|
|
84
|
-
'no-invalid-this': string;
|
|
85
|
-
'no-iterator': string;
|
|
86
|
-
'no-label-var': string;
|
|
87
|
-
'no-labels': string;
|
|
88
|
-
'no-lone-blocks': string;
|
|
89
|
-
'no-lonely-if': string;
|
|
90
|
-
'no-loop-func': string;
|
|
91
|
-
'no-magic-numbers': string;
|
|
92
|
-
'no-mixed-operators': string;
|
|
93
|
-
'no-multi-assign': string;
|
|
94
|
-
'no-multi-str': string;
|
|
95
|
-
'no-negated-condition': string;
|
|
96
|
-
'no-nested-ternary': string;
|
|
97
|
-
'no-new': string;
|
|
98
|
-
'no-new-func': string;
|
|
99
|
-
'no-new-object': string;
|
|
100
|
-
'no-new-wrappers': string;
|
|
101
|
-
'no-nonoctal-decimal-escape': string;
|
|
102
|
-
'no-object-constructor': string;
|
|
103
|
-
'no-octal': string;
|
|
104
|
-
'no-octal-escape': string;
|
|
105
|
-
'no-param-reassign': string;
|
|
106
|
-
'no-plusplus': (string | {
|
|
107
|
-
allowForLoopAfterthoughts: boolean;
|
|
108
|
-
})[];
|
|
109
|
-
'no-proto': string;
|
|
110
|
-
'no-redeclare': string;
|
|
111
|
-
'no-regex-spaces': string;
|
|
112
|
-
'no-restricted-exports': string;
|
|
113
|
-
'no-restricted-globals': string;
|
|
114
|
-
'no-restricted-imports': string;
|
|
115
|
-
'no-restricted-properties': string;
|
|
116
|
-
'no-restricted-syntax': string[];
|
|
117
|
-
'no-return-assign': string;
|
|
118
|
-
'no-script-url': string;
|
|
119
|
-
'no-sequences': (string | {
|
|
120
|
-
allowInParentheses: boolean;
|
|
121
|
-
})[];
|
|
122
|
-
'no-shadow': string;
|
|
123
|
-
'no-shadow-restricted-names': string;
|
|
124
|
-
'no-ternary': string;
|
|
125
|
-
'no-throw-literal': string;
|
|
126
|
-
'no-undef-init': string;
|
|
127
|
-
'no-undefined': string;
|
|
128
|
-
'no-underscore-dangle': (string | {
|
|
129
|
-
allowAfterSuper: boolean;
|
|
130
|
-
allowAfterThis: boolean;
|
|
131
|
-
allowAfterThisConstructor: boolean;
|
|
132
|
-
allowFunctionParams: boolean;
|
|
133
|
-
enforceInMethodNames: boolean;
|
|
134
|
-
enforceInClassFields: boolean;
|
|
135
|
-
})[];
|
|
136
|
-
'no-unneeded-ternary': string;
|
|
137
|
-
'no-unused-expressions': string;
|
|
138
|
-
'no-unused-labels': string;
|
|
139
|
-
'no-useless-call': string;
|
|
140
|
-
'no-useless-catch': string;
|
|
141
|
-
'no-useless-computed-key': string;
|
|
142
|
-
'no-useless-concat': string;
|
|
143
|
-
'no-useless-constructor': string;
|
|
144
|
-
'no-useless-escape': string;
|
|
145
|
-
'no-useless-rename': string;
|
|
146
|
-
'no-useless-return': string;
|
|
147
|
-
'no-var': string;
|
|
148
|
-
'no-void': string;
|
|
149
|
-
'no-warning-comments': string;
|
|
150
|
-
'no-with': string;
|
|
151
|
-
'object-shorthand': string[];
|
|
152
|
-
'one-var': string[];
|
|
153
|
-
'one-var-declaration-per-line': string;
|
|
154
|
-
'operator-assignment': string[];
|
|
155
|
-
'prefer-arrow-callback': string;
|
|
156
|
-
'prefer-const': string;
|
|
157
|
-
'prefer-destructuring': string;
|
|
158
|
-
'prefer-exponentiation-operator': string;
|
|
159
|
-
'prefer-named-capture-group': string;
|
|
160
|
-
'prefer-numeric-literals': string;
|
|
161
|
-
'prefer-object-has-own': string;
|
|
162
|
-
'prefer-object-spread': string;
|
|
163
|
-
'prefer-promise-reject-errors': string;
|
|
164
|
-
'prefer-regex-literals': string;
|
|
165
|
-
'prefer-rest-params': string;
|
|
166
|
-
'prefer-spread': string;
|
|
167
|
-
'prefer-template': string;
|
|
168
|
-
'quote-props': string;
|
|
169
|
-
radix: string;
|
|
170
|
-
'require-await': string;
|
|
171
|
-
'require-unicode-regexp': string;
|
|
172
|
-
'require-yield': string;
|
|
173
|
-
'sort-imports': string;
|
|
174
|
-
'sort-keys': string;
|
|
175
|
-
'sort-vars': string;
|
|
176
|
-
'spaced-comment': string;
|
|
177
|
-
strict: string;
|
|
178
|
-
'symbol-description': string;
|
|
179
|
-
'vars-on-top': string;
|
|
180
|
-
yoda: string[];
|
|
181
|
-
};
|