@perfective/eslint-config 0.29.0 → 0.29.2

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.
Files changed (45) hide show
  1. package/README.adoc +1 -2
  2. package/README.md +1 -2
  3. package/cypress.d.ts +1 -0
  4. package/cypress.js +3 -5
  5. package/index.d.ts +1732 -0
  6. package/index.js +11 -12
  7. package/jest-dom.d.ts +1 -0
  8. package/jest.d.ts +1 -0
  9. package/package.json +17 -7
  10. package/rules/array-func/index.d.ts +14 -0
  11. package/rules/cypress/index.d.ts +21 -0
  12. package/rules/eslint/index.d.ts +339 -0
  13. package/rules/eslint/layout-formatting.d.ts +64 -0
  14. package/rules/eslint/possible-problems.d.ts +96 -0
  15. package/rules/eslint/suggestions.d.ts +181 -0
  16. package/rules/eslint-comments/best-practices.d.ts +8 -0
  17. package/rules/eslint-comments/index.d.ts +21 -0
  18. package/rules/eslint-comments/stylistic-issues.d.ts +9 -0
  19. package/rules/import/helpful-warnings.d.ts +10 -0
  20. package/rules/import/index.d.ts +78 -0
  21. package/rules/import/module-systems.d.ts +10 -0
  22. package/rules/import/static-analysis.d.ts +26 -0
  23. package/rules/import/style-guide.d.ts +33 -0
  24. package/rules/jest/index.d.ts +124 -0
  25. package/rules/jest/typescript-eslint.d.ts +5 -0
  26. package/rules/jest-dom/index.d.ts +32 -0
  27. package/rules/jsdoc/index.d.ts +134 -0
  28. package/rules/n/index.d.ts +66 -0
  29. package/rules/prefer-arrow/index.d.ts +14 -0
  30. package/rules/promise/index.d.ts +35 -0
  31. package/rules/rxjs/index.d.ts +60 -0
  32. package/rules/security/index.d.ts +22 -0
  33. package/rules/simple-import-sort/index.d.ts +10 -0
  34. package/rules/stylistic/js/index.d.ts +197 -0
  35. package/rules/stylistic/jsx/index.d.ts +81 -0
  36. package/rules/stylistic/plus/index.d.ts +14 -0
  37. package/rules/stylistic/ts/index.d.ts +135 -0
  38. package/rules/testing-library/index.d.ts +62 -0
  39. package/rules/typescript-eslint/extension-rules.d.ts +113 -0
  40. package/rules/typescript-eslint/index.d.ts +369 -0
  41. package/rules/typescript-eslint/supported-rules.d.ts +253 -0
  42. package/rules/unicorn/index.d.ts +178 -0
  43. package/rxjs.d.ts +1 -0
  44. package/rxjs.js +3 -3
  45. package/testing-library.d.ts +1 -0
package/index.js CHANGED
@@ -34,7 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const tsEslint = __importStar(require("typescript-eslint"));
37
- const babelParser = __importStar(require("@babel/eslint-parser"));
38
37
  const array_func_1 = require("./rules/array-func");
39
38
  const eslint_1 = require("./rules/eslint");
40
39
  const eslint_comments_1 = require("./rules/eslint-comments");
@@ -59,15 +58,17 @@ exports.default = [
59
58
  {
60
59
  files: ['**/*.[jt]s?(x)'],
61
60
  languageOptions: {
61
+ sourceType: 'module',
62
+ ecmaVersion: 'latest',
62
63
  parser: tsEslint.parser,
63
64
  parserOptions: {
64
- ecmaVersion: 6,
65
65
  ecmaFeatures: {
66
66
  globalReturn: false,
67
67
  impliedStrict: true,
68
68
  },
69
- sourceType: 'module',
70
- project: './tsconfig.json',
69
+ projectService: {
70
+ allowDefaultProject: ['?(.)*.?(m|c)js'],
71
+ },
71
72
  warnOnUnsupportedTypeScriptVersion: true,
72
73
  },
73
74
  },
@@ -80,15 +81,13 @@ exports.default = [
80
81
  {
81
82
  files: ['**/*.js?(x)'],
82
83
  languageOptions: {
83
- parser: babelParser,
84
+ sourceType: 'module',
85
+ ecmaVersion: 'latest',
84
86
  parserOptions: {
85
- ecmaVersion: 6,
86
87
  ecmaFeatures: {
87
88
  globalReturn: false,
88
89
  impliedStrict: true,
89
90
  },
90
- sourceType: 'module',
91
- requireConfigFile: false,
92
91
  },
93
92
  },
94
93
  plugins: {},
@@ -110,15 +109,15 @@ exports.default = [
110
109
  {
111
110
  files: ['**/*.ts?(x)'],
112
111
  languageOptions: {
112
+ sourceType: 'module',
113
+ ecmaVersion: 'latest',
113
114
  parser: tsEslint.parser,
114
115
  parserOptions: {
115
- ecmaVersion: 6,
116
116
  ecmaFeatures: {
117
117
  globalReturn: false,
118
118
  impliedStrict: true,
119
119
  },
120
- sourceType: 'module',
121
- project: './tsconfig.json',
120
+ projectService: true,
122
121
  warnOnUnsupportedTypeScriptVersion: true,
123
122
  },
124
123
  },
@@ -140,7 +139,7 @@ exports.default = [
140
139
  rules: Object.assign(Object.assign({}, typescript_eslint_1.typescriptEslintConfig.rules), ts_1.stylisticTsConfig.rules),
141
140
  },
142
141
  {
143
- files: ['**/*.js?(x)'],
142
+ files: ['**/*.[jt]sx'],
144
143
  plugins: Object.assign({}, jsx_1.stylisticJsxConfig.plugins),
145
144
  rules: Object.assign({}, jsx_1.stylisticJsxConfig.rules),
146
145
  },
package/jest-dom.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare function jestDomConfig(files?: string[]): Record<string, unknown>;
package/jest.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare function jestConfig(files?: string[]): Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perfective/eslint-config",
3
- "version": "0.29.0",
3
+ "version": "0.29.2",
4
4
  "description": "ESLint shareable rules configuration",
5
5
  "keywords": ["code quality", "code standard", "code style", "eslint", "eslint config", "lint", "perfective", "tslint", "tslint config", "typescript"],
6
6
  "author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
@@ -11,14 +11,13 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "peerDependencies": {
14
- "@babel/eslint-parser": "^7.25.9",
15
- "@smarttools/eslint-plugin-rxjs": "1.0.9",
14
+ "@smarttools/eslint-plugin-rxjs": "^1.0.11",
16
15
  "@stylistic/eslint-plugin": "^2.12.1",
17
16
  "@stylistic/eslint-plugin-js": "^2.12.1",
18
17
  "@stylistic/eslint-plugin-jsx": "^2.12.1",
19
18
  "@stylistic/eslint-plugin-plus": "^2.12.1",
20
19
  "@stylistic/eslint-plugin-ts": "^2.12.1",
21
- "@typescript-eslint/utils": "^8.18.2",
20
+ "@typescript-eslint/utils": "^8.19.0",
22
21
  "eslint": "^9.17.0",
23
22
  "eslint-import-resolver-typescript": "^3.7.0",
24
23
  "eslint-plugin-array-func": "^4.0.0",
@@ -35,7 +34,7 @@
35
34
  "eslint-plugin-simple-import-sort": "^12.1.1",
36
35
  "eslint-plugin-testing-library": "^7.1.1",
37
36
  "eslint-plugin-unicorn": "^56.0.1",
38
- "typescript-eslint": "^8.18.2"
37
+ "typescript-eslint": "^8.19.0"
39
38
  },
40
39
  "peerDependenciesMeta": {
41
40
  "eslint-plugin-cypress": {
@@ -55,39 +54,50 @@
55
54
  }
56
55
  },
57
56
  "main": "./index.js",
57
+ "module": "./index.js",
58
+ "types": "./index.d.ts",
58
59
  "directories": {
59
60
  "lib": "./"
60
61
  },
61
- "files": ["**/*.js", "config.d.ts", "config/**/*.d.ts", "rules.d.ts", "rules/**/rules/*.d.ts"],
62
+ "files": ["**/*.js", "**/*.d.ts"],
62
63
  "exports": {
63
64
  ".": {
64
- "require": "./index.js"
65
+ "import": "./index.js",
66
+ "require": "./index.js",
67
+ "types": "./index.d.ts"
65
68
  },
66
69
  "./config": {
70
+ "import": "./config.js",
67
71
  "require": "./config.js",
68
72
  "types": "./config.d.ts"
69
73
  },
70
74
  "./rules": {
75
+ "import": "./rules.js",
71
76
  "require": "./rules.js",
72
77
  "types": "./rules.d.ts"
73
78
  },
74
79
  "./cypress": {
80
+ "import": "./cypress.js",
75
81
  "require": "./cypress.js",
76
82
  "types": "./cypress.d.ts"
77
83
  },
78
84
  "./jest": {
85
+ "import": "./jest.js",
79
86
  "require": "./jest.js",
80
87
  "types": "./jest.d.ts"
81
88
  },
82
89
  "./jest-dom": {
90
+ "import": "./jest-dom.js",
83
91
  "require": "./jest-dom.js",
84
92
  "types": "./jest-dom.d.ts"
85
93
  },
86
94
  "./rxjs": {
95
+ "import": "./rxjs.js",
87
96
  "require": "./rxjs.js",
88
97
  "types": "./rxjs.d.ts"
89
98
  },
90
99
  "./testing-library": {
100
+ "import": "./testing-library.js",
91
101
  "require": "./testing-library.js",
92
102
  "types": "./testing-library.d.ts"
93
103
  }
@@ -0,0 +1,14 @@
1
+ import * as eslintPluginArrayFunc from 'eslint-plugin-array-func';
2
+ export declare const arrayFuncConfig: {
3
+ plugins: {
4
+ 'array-func': typeof eslintPluginArrayFunc;
5
+ };
6
+ rules: {
7
+ 'array-func/from-map': string;
8
+ 'array-func/no-unnecessary-this-arg': string;
9
+ 'array-func/prefer-array-from': string;
10
+ 'array-func/avoid-reverse': string;
11
+ 'array-func/prefer-flat-map': string;
12
+ 'array-func/prefer-flat': string;
13
+ };
14
+ };
@@ -0,0 +1,21 @@
1
+ import * as eslintPluginCypress from 'eslint-plugin-cypress/flat';
2
+ export declare const cypressOptionalConfig: {
3
+ plugins: {
4
+ cypress: typeof eslintPluginCypress;
5
+ };
6
+ languageOptions: {
7
+ globals: Record<string, unknown>;
8
+ };
9
+ rules: {
10
+ 'cypress/assertion-before-screenshot': string;
11
+ 'cypress/no-assigning-return-values': string;
12
+ 'cypress/no-async-before': string;
13
+ 'cypress/no-async-tests': string;
14
+ 'cypress/no-debug': string;
15
+ 'cypress/no-force': string;
16
+ 'cypress/no-pause': string;
17
+ 'cypress/no-unnecessary-waiting': string;
18
+ 'cypress/require-data-selectors': string;
19
+ 'cypress/unsafe-to-chain-command': string;
20
+ };
21
+ };
@@ -0,0 +1,339 @@
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
+ };
@@ -0,0 +1,64 @@
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
+ };