eslint-config-airbnb-extended 0.2.1 → 0.3.0

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/dist/index.d.ts CHANGED
@@ -3876,7 +3876,7 @@ export declare const configs: {
3876
3876
  };
3877
3877
  rules: {};
3878
3878
  })[];
3879
- 'typescript-only': (Linter.Config<Linter.RulesRecord> | {
3879
+ typescript: (Linter.Config<Linter.RulesRecord> | {
3880
3880
  name: string;
3881
3881
  rules: {
3882
3882
  'constructor-super': "off";
@@ -3930,7 +3930,7 @@ export declare const configs: {
3930
3930
  'import-x/no-named-as-default-member': "off";
3931
3931
  };
3932
3932
  })[];
3933
- typescript: (Linter.Config<Linter.RulesRecord> | {
3933
+ all: (Linter.Config<Linter.RulesRecord> | {
3934
3934
  name: string;
3935
3935
  rules: {
3936
3936
  'array-bracket-newline': ["off", string];
@@ -7757,7 +7757,7 @@ export declare const configs: {
7757
7757
  };
7758
7758
  };
7759
7759
  })[];
7760
- 'typescript-only': (Linter.Config<Linter.RulesRecord> | {
7760
+ typescript: (Linter.Config<Linter.RulesRecord> | {
7761
7761
  name: string;
7762
7762
  rules: {
7763
7763
  'constructor-super': "off";
@@ -7811,7 +7811,7 @@ export declare const configs: {
7811
7811
  'import-x/no-named-as-default-member': "off";
7812
7812
  };
7813
7813
  })[];
7814
- typescript: (Linter.Config<Linter.RulesRecord> | {
7814
+ all: (Linter.Config<Linter.RulesRecord> | {
7815
7815
  name: string;
7816
7816
  rules: {
7817
7817
  'array-bracket-newline': ["off", string];
@@ -13144,7 +13144,7 @@ export declare const configs: {
13144
13144
  };
13145
13145
  };
13146
13146
  })[];
13147
- 'typescript-only': (Linter.Config<Linter.RulesRecord> | {
13147
+ typescript: (Linter.Config<Linter.RulesRecord> | {
13148
13148
  name: string;
13149
13149
  rules: {
13150
13150
  'constructor-super': "off";
@@ -13198,7 +13198,7 @@ export declare const configs: {
13198
13198
  'import-x/no-named-as-default-member': "off";
13199
13199
  };
13200
13200
  })[];
13201
- typescript: (Linter.Config<Linter.RulesRecord> | {
13201
+ all: (Linter.Config<Linter.RulesRecord> | {
13202
13202
  name: string;
13203
13203
  rules: {
13204
13204
  'array-bracket-newline': ["off", string];
@@ -15894,4 +15894,2089 @@ export declare const configs: {
15894
15894
  };
15895
15895
  })[];
15896
15896
  };
15897
+ node: {
15898
+ recommended: ({
15899
+ name: string;
15900
+ rules: {
15901
+ 'array-bracket-newline': ["off", string];
15902
+ 'array-element-newline': ["off", {
15903
+ multiline: boolean;
15904
+ minItems: number;
15905
+ }];
15906
+ 'array-bracket-spacing': ["error", string];
15907
+ 'block-spacing': ["error", string];
15908
+ 'brace-style': ["error", string, {
15909
+ allowSingleLine: boolean;
15910
+ }];
15911
+ camelcase: ["error", {
15912
+ properties: string;
15913
+ ignoreDestructuring: boolean;
15914
+ }];
15915
+ 'capitalized-comments': ["off", string, {
15916
+ line: {
15917
+ ignorePattern: string;
15918
+ ignoreInlineComments: boolean;
15919
+ ignoreConsecutiveComments: boolean;
15920
+ };
15921
+ block: {
15922
+ ignorePattern: string;
15923
+ ignoreInlineComments: boolean;
15924
+ ignoreConsecutiveComments: boolean;
15925
+ };
15926
+ }];
15927
+ 'comma-dangle': ["error", {
15928
+ arrays: string;
15929
+ objects: string;
15930
+ imports: string;
15931
+ exports: string;
15932
+ functions: string;
15933
+ }];
15934
+ 'comma-spacing': ["error", {
15935
+ before: boolean;
15936
+ after: boolean;
15937
+ }];
15938
+ 'comma-style': ["error", string, {
15939
+ exceptions: {
15940
+ ArrayExpression: boolean;
15941
+ ArrayPattern: boolean;
15942
+ ArrowFunctionExpression: boolean;
15943
+ CallExpression: boolean;
15944
+ FunctionDeclaration: boolean;
15945
+ FunctionExpression: boolean;
15946
+ ImportDeclaration: boolean;
15947
+ ObjectExpression: boolean;
15948
+ ObjectPattern: boolean;
15949
+ VariableDeclaration: boolean;
15950
+ NewExpression: boolean;
15951
+ };
15952
+ }];
15953
+ 'computed-property-spacing': ["error", string];
15954
+ 'consistent-this': "off";
15955
+ 'eol-last': ["error", string];
15956
+ 'function-call-argument-newline': ["error", string];
15957
+ 'func-call-spacing': ["error", string];
15958
+ 'func-name-matching': ["off", string, {
15959
+ includeCommonJSModuleExports: boolean;
15960
+ considerPropertyDescriptor: boolean;
15961
+ }];
15962
+ 'func-names': "warn";
15963
+ 'func-style': ["off", string];
15964
+ 'function-paren-newline': ["error", string];
15965
+ 'id-denylist': "off";
15966
+ 'id-length': "off";
15967
+ 'id-match': "off";
15968
+ 'implicit-arrow-linebreak': ["error", string];
15969
+ indent: ["error", number, {
15970
+ SwitchCase: number;
15971
+ VariableDeclarator: number;
15972
+ outerIIFEBody: number;
15973
+ FunctionDeclaration: {
15974
+ parameters: number;
15975
+ body: number;
15976
+ };
15977
+ FunctionExpression: {
15978
+ parameters: number;
15979
+ body: number;
15980
+ };
15981
+ CallExpression: {
15982
+ arguments: number;
15983
+ };
15984
+ ArrayExpression: number;
15985
+ ObjectExpression: number;
15986
+ ImportDeclaration: number;
15987
+ flatTernaryExpressions: boolean;
15988
+ ignoredNodes: string[];
15989
+ ignoreComments: boolean;
15990
+ }];
15991
+ 'jsx-quotes': ["off", string];
15992
+ 'key-spacing': ["error", {
15993
+ beforeColon: boolean;
15994
+ afterColon: boolean;
15995
+ }];
15996
+ 'keyword-spacing': ["error", {
15997
+ before: boolean;
15998
+ after: boolean;
15999
+ overrides: {
16000
+ return: {
16001
+ after: boolean;
16002
+ };
16003
+ throw: {
16004
+ after: boolean;
16005
+ };
16006
+ case: {
16007
+ after: boolean;
16008
+ };
16009
+ };
16010
+ }];
16011
+ 'line-comment-position': ["off", {
16012
+ position: string;
16013
+ ignorePattern: string;
16014
+ applyDefaultPatterns: boolean;
16015
+ }];
16016
+ 'linebreak-style': ["error", string];
16017
+ 'lines-between-class-members': ["error", string, {
16018
+ exceptAfterSingleLine: boolean;
16019
+ }];
16020
+ 'lines-around-comment': "off";
16021
+ 'lines-around-directive': ["error", {
16022
+ before: string;
16023
+ after: string;
16024
+ }];
16025
+ 'logical-assignment-operators': ["off", string, {
16026
+ enforceForIfStatements: boolean;
16027
+ }];
16028
+ 'max-depth': ["off", number];
16029
+ 'max-len': ["error", number, number, {
16030
+ ignoreUrls: boolean;
16031
+ ignoreComments: boolean;
16032
+ ignoreRegExpLiterals: boolean;
16033
+ ignoreStrings: boolean;
16034
+ ignoreTemplateLiterals: boolean;
16035
+ }];
16036
+ 'max-lines': ["off", {
16037
+ max: number;
16038
+ skipBlankLines: boolean;
16039
+ skipComments: boolean;
16040
+ }];
16041
+ 'max-lines-per-function': ["off", {
16042
+ max: number;
16043
+ skipBlankLines: boolean;
16044
+ skipComments: boolean;
16045
+ IIFEs: boolean;
16046
+ }];
16047
+ 'max-nested-callbacks': "off";
16048
+ 'max-params': ["off", number];
16049
+ 'max-statements': ["off", number];
16050
+ 'max-statements-per-line': ["off", {
16051
+ max: number;
16052
+ }];
16053
+ 'multiline-comment-style': ["off", string];
16054
+ 'multiline-ternary': ["off", string];
16055
+ 'new-cap': ["error", {
16056
+ newIsCap: boolean;
16057
+ newIsCapExceptions: never[];
16058
+ capIsNew: boolean;
16059
+ capIsNewExceptions: string[];
16060
+ }];
16061
+ 'new-parens': "error";
16062
+ 'newline-after-var': "off";
16063
+ 'newline-before-return': "off";
16064
+ 'newline-per-chained-call': ["error", {
16065
+ ignoreChainWithDepth: number;
16066
+ }];
16067
+ 'no-array-constructor': "error";
16068
+ 'no-bitwise': "error";
16069
+ 'no-continue': "error";
16070
+ 'no-inline-comments': "off";
16071
+ 'no-lonely-if': "error";
16072
+ 'no-mixed-operators': ["error", {
16073
+ groups: string[][];
16074
+ allowSamePrecedence: boolean;
16075
+ }];
16076
+ 'no-mixed-spaces-and-tabs': "error";
16077
+ 'no-multi-assign': ["error"];
16078
+ 'no-multiple-empty-lines': ["error", {
16079
+ max: number;
16080
+ maxBOF: number;
16081
+ maxEOF: number;
16082
+ }];
16083
+ 'no-negated-condition': "off";
16084
+ 'no-nested-ternary': "error";
16085
+ 'no-new-object': "error";
16086
+ 'no-plusplus': "error";
16087
+ 'no-restricted-syntax': ["error", {
16088
+ selector: string;
16089
+ message: string;
16090
+ }, {
16091
+ selector: string;
16092
+ message: string;
16093
+ }, {
16094
+ selector: string;
16095
+ message: string;
16096
+ }, {
16097
+ selector: string;
16098
+ message: string;
16099
+ }];
16100
+ 'no-spaced-func': "off";
16101
+ 'no-tabs': "error";
16102
+ 'no-ternary': "off";
16103
+ 'no-trailing-spaces': ["error", {
16104
+ skipBlankLines: boolean;
16105
+ ignoreComments: boolean;
16106
+ }];
16107
+ 'no-underscore-dangle': ["error", {
16108
+ allow: never[];
16109
+ allowAfterThis: boolean;
16110
+ allowAfterSuper: boolean;
16111
+ enforceInMethodNames: boolean;
16112
+ }];
16113
+ 'no-unneeded-ternary': ["error", {
16114
+ defaultAssignment: boolean;
16115
+ }];
16116
+ 'no-whitespace-before-property': "error";
16117
+ 'nonblock-statement-body-position': ["error", string, {
16118
+ overrides: {};
16119
+ }];
16120
+ 'object-curly-spacing': ["error", string];
16121
+ 'object-curly-newline': ["error", {
16122
+ ObjectExpression: {
16123
+ minProperties: number;
16124
+ multiline: boolean;
16125
+ consistent: boolean;
16126
+ };
16127
+ ObjectPattern: {
16128
+ minProperties: number;
16129
+ multiline: boolean;
16130
+ consistent: boolean;
16131
+ };
16132
+ ImportDeclaration: {
16133
+ minProperties: number;
16134
+ multiline: boolean;
16135
+ consistent: boolean;
16136
+ };
16137
+ ExportDeclaration: {
16138
+ minProperties: number;
16139
+ multiline: boolean;
16140
+ consistent: boolean;
16141
+ };
16142
+ }];
16143
+ 'object-property-newline': ["error", {
16144
+ allowAllPropertiesOnSameLine: boolean;
16145
+ }];
16146
+ 'one-var': ["error", string];
16147
+ 'one-var-declaration-per-line': ["error", string];
16148
+ 'operator-assignment': ["error", string];
16149
+ 'operator-linebreak': ["error", string, {
16150
+ overrides: {
16151
+ '=': string;
16152
+ };
16153
+ }];
16154
+ 'padded-blocks': ["error", {
16155
+ blocks: string;
16156
+ classes: string;
16157
+ switches: string;
16158
+ }, {
16159
+ allowSingleLineBlocks: boolean;
16160
+ }];
16161
+ 'padding-line-between-statements': "off";
16162
+ 'prefer-exponentiation-operator': "error";
16163
+ 'prefer-object-spread': "error";
16164
+ 'quote-props': ["error", string, {
16165
+ keywords: boolean;
16166
+ unnecessary: boolean;
16167
+ numbers: boolean;
16168
+ }];
16169
+ quotes: ["error", string, {
16170
+ avoidEscape: boolean;
16171
+ }];
16172
+ 'require-jsdoc': "off";
16173
+ semi: ["error", string];
16174
+ 'semi-spacing': ["error", {
16175
+ before: boolean;
16176
+ after: boolean;
16177
+ }];
16178
+ 'semi-style': ["error", string];
16179
+ 'sort-keys': ["off", string, {
16180
+ caseSensitive: boolean;
16181
+ natural: boolean;
16182
+ }];
16183
+ 'sort-vars': "off";
16184
+ 'space-before-blocks': "error";
16185
+ 'space-before-function-paren': ["error", {
16186
+ anonymous: string;
16187
+ named: string;
16188
+ asyncArrow: string;
16189
+ }];
16190
+ 'space-in-parens': ["error", string];
16191
+ 'space-infix-ops': "error";
16192
+ 'space-unary-ops': ["error", {
16193
+ words: boolean;
16194
+ nonwords: boolean;
16195
+ overrides: {};
16196
+ }];
16197
+ 'spaced-comment': ["error", string, {
16198
+ line: {
16199
+ exceptions: string[];
16200
+ markers: string[];
16201
+ };
16202
+ block: {
16203
+ exceptions: string[];
16204
+ markers: string[];
16205
+ balanced: boolean;
16206
+ };
16207
+ }];
16208
+ 'switch-colon-spacing': ["error", {
16209
+ after: boolean;
16210
+ before: boolean;
16211
+ }];
16212
+ 'template-tag-spacing': ["error", string];
16213
+ 'unicode-bom': ["error", string];
16214
+ 'wrap-regex': "off";
16215
+ };
16216
+ } | {
16217
+ name: string;
16218
+ rules: {
16219
+ 'accessor-pairs': "off";
16220
+ 'array-callback-return': ["error", {
16221
+ allowImplicit: boolean;
16222
+ }];
16223
+ 'block-scoped-var': "error";
16224
+ complexity: ["off", number];
16225
+ 'class-methods-use-this': ["error", {
16226
+ exceptMethods: never[];
16227
+ }];
16228
+ 'consistent-return': "error";
16229
+ curly: ["error", string];
16230
+ 'default-case': ["error", {
16231
+ commentPattern: string;
16232
+ }];
16233
+ 'default-case-last': "error";
16234
+ 'default-param-last': "error";
16235
+ 'dot-notation': ["error", {
16236
+ allowKeywords: boolean;
16237
+ }];
16238
+ 'dot-location': ["error", string];
16239
+ eqeqeq: ["error", string, {
16240
+ null: string;
16241
+ }];
16242
+ 'grouped-accessor-pairs': "error";
16243
+ 'guard-for-in': "error";
16244
+ 'max-classes-per-file': ["error", number];
16245
+ 'no-alert': "warn";
16246
+ 'no-caller': "error";
16247
+ 'no-case-declarations': "error";
16248
+ 'no-constructor-return': "error";
16249
+ 'no-div-regex': "off";
16250
+ 'no-else-return': ["error", {
16251
+ allowElseIf: boolean;
16252
+ }];
16253
+ 'no-empty-function': ["error", {
16254
+ allow: string[];
16255
+ }];
16256
+ 'no-empty-pattern': "error";
16257
+ 'no-empty-static-block': "off";
16258
+ 'no-eq-null': "off";
16259
+ 'no-eval': "error";
16260
+ 'no-extend-native': "error";
16261
+ 'no-extra-bind': "error";
16262
+ 'no-extra-label': "error";
16263
+ 'no-fallthrough': "error";
16264
+ 'no-floating-decimal': "error";
16265
+ 'no-global-assign': ["error", {
16266
+ exceptions: never[];
16267
+ }];
16268
+ 'no-native-reassign': "off";
16269
+ 'no-implicit-coercion': ["off", {
16270
+ boolean: boolean;
16271
+ number: boolean;
16272
+ string: boolean;
16273
+ allow: never[];
16274
+ }];
16275
+ 'no-implicit-globals': "off";
16276
+ 'no-implied-eval': "error";
16277
+ 'no-invalid-this': "off";
16278
+ 'no-iterator': "error";
16279
+ 'no-labels': ["error", {
16280
+ allowLoop: boolean;
16281
+ allowSwitch: boolean;
16282
+ }];
16283
+ 'no-lone-blocks': "error";
16284
+ 'no-loop-func': "error";
16285
+ 'no-magic-numbers': ["off", {
16286
+ ignore: never[];
16287
+ ignoreArrayIndexes: boolean;
16288
+ enforceConst: boolean;
16289
+ detectObjects: boolean;
16290
+ }];
16291
+ 'no-multi-spaces': ["error", {
16292
+ ignoreEOLComments: boolean;
16293
+ }];
16294
+ 'no-multi-str': "error";
16295
+ 'no-new': "error";
16296
+ 'no-new-func': "error";
16297
+ 'no-new-wrappers': "error";
16298
+ 'no-nonoctal-decimal-escape': "error";
16299
+ 'no-object-constructor': "off";
16300
+ 'no-octal': "error";
16301
+ 'no-octal-escape': "error";
16302
+ 'no-param-reassign': ["error", {
16303
+ props: boolean;
16304
+ ignorePropertyModificationsFor: string[];
16305
+ }];
16306
+ 'no-proto': "error";
16307
+ 'no-redeclare': "error";
16308
+ 'no-restricted-properties': ["error", {
16309
+ object: string;
16310
+ property: string;
16311
+ message: string;
16312
+ }, {
16313
+ object: string;
16314
+ property: string;
16315
+ message: string;
16316
+ }, {
16317
+ object: string;
16318
+ property: string;
16319
+ message: string;
16320
+ }, {
16321
+ object: string;
16322
+ property: string;
16323
+ message: string;
16324
+ }, {
16325
+ object: string;
16326
+ property: string;
16327
+ message: string;
16328
+ }, {
16329
+ object: string;
16330
+ property: string;
16331
+ message: string;
16332
+ }, {
16333
+ object: string;
16334
+ property: string;
16335
+ message: string;
16336
+ }, {
16337
+ property: string;
16338
+ message: string;
16339
+ }, {
16340
+ property: string;
16341
+ message: string;
16342
+ }, {
16343
+ object: string;
16344
+ property: string;
16345
+ message: string;
16346
+ }];
16347
+ 'no-return-assign': ["error", string];
16348
+ 'no-return-await': "error";
16349
+ 'no-script-url': "error";
16350
+ 'no-self-assign': ["error", {
16351
+ props: boolean;
16352
+ }];
16353
+ 'no-self-compare': "error";
16354
+ 'no-sequences': "error";
16355
+ 'no-throw-literal': "error";
16356
+ 'no-unmodified-loop-condition': "off";
16357
+ 'no-unused-expressions': ["error", {
16358
+ allowShortCircuit: boolean;
16359
+ allowTernary: boolean;
16360
+ allowTaggedTemplates: boolean;
16361
+ }];
16362
+ 'no-unused-labels': "error";
16363
+ 'no-useless-call': "off";
16364
+ 'no-useless-catch': "error";
16365
+ 'no-useless-concat': "error";
16366
+ 'no-useless-escape': "error";
16367
+ 'no-useless-return': "error";
16368
+ 'no-void': "error";
16369
+ 'no-warning-comments': ["off", {
16370
+ terms: string[];
16371
+ location: string;
16372
+ }];
16373
+ 'no-with': "error";
16374
+ 'prefer-promise-reject-errors': ["error", {
16375
+ allowEmptyReject: boolean;
16376
+ }];
16377
+ 'prefer-named-capture-group': "off";
16378
+ 'prefer-object-has-own': "off";
16379
+ 'prefer-regex-literals': ["error", {
16380
+ disallowRedundantWrapping: boolean;
16381
+ }];
16382
+ radix: "error";
16383
+ 'require-await': "off";
16384
+ 'require-unicode-regexp': "off";
16385
+ 'vars-on-top': "error";
16386
+ 'wrap-iife': ["error", string, {
16387
+ functionPrototypeMethods: boolean;
16388
+ }];
16389
+ yoda: "error";
16390
+ };
16391
+ } | {
16392
+ name: string;
16393
+ languageOptions: {
16394
+ globals: {
16395
+ Array: false;
16396
+ ArrayBuffer: false;
16397
+ Boolean: false;
16398
+ DataView: false;
16399
+ Date: false;
16400
+ decodeURI: false;
16401
+ decodeURIComponent: false;
16402
+ encodeURI: false;
16403
+ encodeURIComponent: false;
16404
+ Error: false;
16405
+ escape: false;
16406
+ eval: false;
16407
+ EvalError: false;
16408
+ Float32Array: false;
16409
+ Float64Array: false;
16410
+ Function: false;
16411
+ Infinity: false;
16412
+ Int16Array: false;
16413
+ Int32Array: false;
16414
+ Int8Array: false;
16415
+ Intl: false;
16416
+ isFinite: false;
16417
+ isNaN: false;
16418
+ JSON: false;
16419
+ Map: false;
16420
+ Math: false;
16421
+ NaN: false;
16422
+ Number: false;
16423
+ Object: false;
16424
+ parseFloat: false;
16425
+ parseInt: false;
16426
+ Promise: false;
16427
+ Proxy: false;
16428
+ RangeError: false;
16429
+ ReferenceError: false;
16430
+ Reflect: false;
16431
+ RegExp: false;
16432
+ Set: false;
16433
+ String: false;
16434
+ Symbol: false;
16435
+ SyntaxError: false;
16436
+ TypeError: false;
16437
+ Uint16Array: false;
16438
+ Uint32Array: false;
16439
+ Uint8Array: false;
16440
+ Uint8ClampedArray: false;
16441
+ undefined: false;
16442
+ unescape: false;
16443
+ URIError: false;
16444
+ WeakMap: false;
16445
+ WeakSet: false;
16446
+ };
16447
+ parserOptions: {
16448
+ ecmaVersion: 6;
16449
+ sourceType: "module";
16450
+ ecmaFeatures: {
16451
+ generators: boolean;
16452
+ objectLiteralDuplicateProperties: boolean;
16453
+ };
16454
+ };
16455
+ };
16456
+ rules: {
16457
+ 'arrow-body-style': ["error", string, {
16458
+ requireReturnForObjectLiteral: boolean;
16459
+ }];
16460
+ 'arrow-parens': ["error", string];
16461
+ 'arrow-spacing': ["error", {
16462
+ before: boolean;
16463
+ after: boolean;
16464
+ }];
16465
+ 'constructor-super': "error";
16466
+ 'generator-star-spacing': ["error", {
16467
+ before: boolean;
16468
+ after: boolean;
16469
+ }];
16470
+ 'no-class-assign': "error";
16471
+ 'no-confusing-arrow': ["error", {
16472
+ allowParens: boolean;
16473
+ }];
16474
+ 'no-const-assign': "error";
16475
+ 'no-dupe-class-members': "error";
16476
+ 'no-duplicate-imports': "off";
16477
+ 'no-new-symbol': "error";
16478
+ 'no-restricted-exports': ["error", {
16479
+ restrictedNamedExports: string[];
16480
+ }];
16481
+ 'no-restricted-imports': ["off", {
16482
+ paths: never[];
16483
+ patterns: never[];
16484
+ }];
16485
+ 'no-this-before-super': "error";
16486
+ 'no-useless-computed-key': "error";
16487
+ 'no-useless-constructor': "error";
16488
+ 'no-useless-rename': ["error", {
16489
+ ignoreDestructuring: boolean;
16490
+ ignoreImport: boolean;
16491
+ ignoreExport: boolean;
16492
+ }];
16493
+ 'no-var': "error";
16494
+ 'object-shorthand': ["error", string, {
16495
+ ignoreConstructors: boolean;
16496
+ avoidQuotes: boolean;
16497
+ }];
16498
+ 'prefer-arrow-callback': ["error", {
16499
+ allowNamedFunctions: boolean;
16500
+ allowUnboundThis: boolean;
16501
+ }];
16502
+ 'prefer-const': ["error", {
16503
+ destructuring: string;
16504
+ ignoreReadBeforeAssign: boolean;
16505
+ }];
16506
+ 'prefer-destructuring': ["error", {
16507
+ VariableDeclarator: {
16508
+ array: boolean;
16509
+ object: boolean;
16510
+ };
16511
+ AssignmentExpression: {
16512
+ array: boolean;
16513
+ object: boolean;
16514
+ };
16515
+ }, {
16516
+ enforceForRenamedProperties: boolean;
16517
+ }];
16518
+ 'prefer-numeric-literals': "error";
16519
+ 'prefer-reflect': "off";
16520
+ 'prefer-rest-params': "error";
16521
+ 'prefer-spread': "error";
16522
+ 'prefer-template': "error";
16523
+ 'require-yield': "error";
16524
+ 'rest-spread-spacing': ["error", string];
16525
+ 'sort-imports': ["off", {
16526
+ ignoreCase: boolean;
16527
+ ignoreDeclarationSort: boolean;
16528
+ ignoreMemberSort: boolean;
16529
+ memberSyntaxSortOrder: string[];
16530
+ }];
16531
+ 'symbol-description': "error";
16532
+ 'template-curly-spacing': "error";
16533
+ 'yield-star-spacing': ["error", string];
16534
+ };
16535
+ } | {
16536
+ name: string;
16537
+ rules: {
16538
+ 'for-direction': "error";
16539
+ 'getter-return': ["error", {
16540
+ allowImplicit: boolean;
16541
+ }];
16542
+ 'no-async-promise-executor': "error";
16543
+ 'no-await-in-loop': "error";
16544
+ 'no-compare-neg-zero': "error";
16545
+ 'no-cond-assign': ["error", string];
16546
+ 'no-console': "warn";
16547
+ 'no-constant-binary-expression': "off";
16548
+ 'no-constant-condition': "warn";
16549
+ 'no-control-regex': "error";
16550
+ 'no-debugger': "error";
16551
+ 'no-dupe-args': "error";
16552
+ 'no-dupe-else-if': "error";
16553
+ 'no-dupe-keys': "error";
16554
+ 'no-duplicate-case': "error";
16555
+ 'no-empty': "error";
16556
+ 'no-empty-character-class': "error";
16557
+ 'no-ex-assign': "error";
16558
+ 'no-extra-boolean-cast': "error";
16559
+ 'no-extra-parens': ["off", string, {
16560
+ conditionalAssign: boolean;
16561
+ nestedBinaryExpressions: boolean;
16562
+ returnAssign: boolean;
16563
+ ignoreJSX: string;
16564
+ enforceForArrowConditionals: boolean;
16565
+ }];
16566
+ 'no-extra-semi': "error";
16567
+ 'no-func-assign': "error";
16568
+ 'no-import-assign': "error";
16569
+ 'no-inner-declarations': "error";
16570
+ 'no-invalid-regexp': "error";
16571
+ 'no-irregular-whitespace': "error";
16572
+ 'no-loss-of-precision': "error";
16573
+ 'no-misleading-character-class': "error";
16574
+ 'no-obj-calls': "error";
16575
+ 'no-new-native-nonconstructor': "off";
16576
+ 'no-promise-executor-return': "error";
16577
+ 'no-prototype-builtins': "error";
16578
+ 'no-regex-spaces': "error";
16579
+ 'no-setter-return': "error";
16580
+ 'no-sparse-arrays': "error";
16581
+ 'no-template-curly-in-string': "error";
16582
+ 'no-unexpected-multiline': "error";
16583
+ 'no-unreachable': "error";
16584
+ 'no-unreachable-loop': ["error", {
16585
+ ignore: never[];
16586
+ }];
16587
+ 'no-unsafe-finally': "error";
16588
+ 'no-unsafe-negation': "error";
16589
+ 'no-unsafe-optional-chaining': ["error", {
16590
+ disallowArithmeticOperators: boolean;
16591
+ }];
16592
+ 'no-unused-private-class-members': "off";
16593
+ 'no-useless-backreference': "error";
16594
+ 'no-negated-in-lhs': "off";
16595
+ 'require-atomic-updates': "off";
16596
+ 'use-isnan': "error";
16597
+ 'valid-jsdoc': "off";
16598
+ 'valid-typeof': ["error", {
16599
+ requireStringLiterals: boolean;
16600
+ }];
16601
+ };
16602
+ } | {
16603
+ name: string;
16604
+ rules: {
16605
+ 'init-declarations': "off";
16606
+ 'no-catch-shadow': "off";
16607
+ 'no-delete-var': "error";
16608
+ 'no-label-var': "error";
16609
+ 'no-restricted-globals': ["error", {
16610
+ name: string;
16611
+ message: string;
16612
+ }, {
16613
+ name: string;
16614
+ message: string;
16615
+ }, ...{
16616
+ name: "self" | "location" | "length" | "find" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
16617
+ message: string;
16618
+ }[]];
16619
+ 'no-shadow': "error";
16620
+ 'no-shadow-restricted-names': "error";
16621
+ 'no-undef': "error";
16622
+ 'no-undef-init': "error";
16623
+ 'no-undefined': "off";
16624
+ 'no-unused-vars': ["error", {
16625
+ vars: string;
16626
+ args: string;
16627
+ ignoreRestSiblings: boolean;
16628
+ }];
16629
+ 'no-use-before-define': ["error", {
16630
+ functions: boolean;
16631
+ classes: boolean;
16632
+ variables: boolean;
16633
+ }];
16634
+ };
16635
+ } | {
16636
+ name: string;
16637
+ languageOptions: {
16638
+ globals: {
16639
+ Array: false;
16640
+ ArrayBuffer: false;
16641
+ Boolean: false;
16642
+ DataView: false;
16643
+ Date: false;
16644
+ decodeURI: false;
16645
+ decodeURIComponent: false;
16646
+ encodeURI: false;
16647
+ encodeURIComponent: false;
16648
+ Error: false;
16649
+ escape: false;
16650
+ eval: false;
16651
+ EvalError: false;
16652
+ Float32Array: false;
16653
+ Float64Array: false;
16654
+ Function: false;
16655
+ Infinity: false;
16656
+ Int16Array: false;
16657
+ Int32Array: false;
16658
+ Int8Array: false;
16659
+ Intl: false;
16660
+ isFinite: false;
16661
+ isNaN: false;
16662
+ JSON: false;
16663
+ Map: false;
16664
+ Math: false;
16665
+ NaN: false;
16666
+ Number: false;
16667
+ Object: false;
16668
+ parseFloat: false;
16669
+ parseInt: false;
16670
+ Promise: false;
16671
+ Proxy: false;
16672
+ RangeError: false;
16673
+ ReferenceError: false;
16674
+ Reflect: false;
16675
+ RegExp: false;
16676
+ Set: false;
16677
+ String: false;
16678
+ Symbol: false;
16679
+ SyntaxError: false;
16680
+ TypeError: false;
16681
+ Uint16Array: false;
16682
+ Uint32Array: false;
16683
+ Uint8Array: false;
16684
+ Uint8ClampedArray: false;
16685
+ undefined: false;
16686
+ unescape: false;
16687
+ URIError: false;
16688
+ WeakMap: false;
16689
+ WeakSet: false;
16690
+ };
16691
+ parserOptions: {
16692
+ ecmaVersion: 6;
16693
+ sourceType: "module";
16694
+ };
16695
+ };
16696
+ settings: {
16697
+ 'import-x/resolver': {
16698
+ node: {
16699
+ extensions: string[];
16700
+ };
16701
+ };
16702
+ 'import-x/extensions': string[];
16703
+ 'import-x/core-modules': never[];
16704
+ 'import-x/ignore': string[];
16705
+ };
16706
+ rules: {
16707
+ 'import-x/consistent-type-specifier-style': "off";
16708
+ 'import-x/default': "error";
16709
+ 'import-x/dynamic-import-chunkname': "off";
16710
+ 'import-x/export': "error";
16711
+ 'import-x/exports-last': "off";
16712
+ 'import-x/extensions': ["error", string, {
16713
+ [k: string]: string;
16714
+ }];
16715
+ 'import-x/first': "error";
16716
+ 'import-x/group-exports': "off";
16717
+ 'import-x/imports-first': "off";
16718
+ 'import-x/max-dependencies': "off";
16719
+ 'import-x/named': "error";
16720
+ 'import-x/namespaces': "error";
16721
+ 'import-x/newline-after-import': "error";
16722
+ 'import-x/no-absolute-path': "error";
16723
+ 'import-x/no-amd': "error";
16724
+ 'import-x/no-anonymous-default-export': "off";
16725
+ 'import-x/no-commonjs': "off";
16726
+ 'import-x/no-cycle': ["error", {
16727
+ maxDepth: string;
16728
+ }];
16729
+ 'import-x/no-default-export': "off";
16730
+ 'import-x/no-deprecated': "off";
16731
+ 'import-x/no-duplicates': "error";
16732
+ 'import-x/no-dynamic-require': "error";
16733
+ 'import-x/no-empty-named-blocks': "error";
16734
+ 'import-x/no-extraneous-dependencies': ["error", {
16735
+ devDependencies: string[];
16736
+ optionalDependencies: boolean;
16737
+ peerDependencies: boolean;
16738
+ bundledDependencies: boolean;
16739
+ }];
16740
+ 'import-x/no-import-module-exports': ["error", {
16741
+ exceptions: never[];
16742
+ }];
16743
+ 'import-x/no-internal-modules': "off";
16744
+ 'import-x/no-mutable-exports': "error";
16745
+ 'import-x/no-named-as-default-member': "error";
16746
+ 'import-x/no-named-as-default': "error";
16747
+ 'import-x/no-named-default': "error";
16748
+ 'import-x/no-named-export': "off";
16749
+ 'import-x/no-namespace': "off";
16750
+ 'import-x/no-nodejs-modules': "off";
16751
+ 'import-x/no-relative-packages': "error";
16752
+ 'import-x/no-relative-parent-imports': "off";
16753
+ 'import-x/no-rename-default': "warn";
16754
+ 'import-x/no-restricted-paths': "off";
16755
+ 'import-x/no-self-import': "error";
16756
+ 'import-x/no-unassigned-import': "off";
16757
+ 'import-x/no-unresolved': ["error", {
16758
+ commonjs: boolean;
16759
+ caseSensitive: boolean;
16760
+ }];
16761
+ 'import-x/no-unused-modules': ["off", {
16762
+ ignoreExports: never[];
16763
+ missingExports: boolean;
16764
+ unusedExports: boolean;
16765
+ }];
16766
+ 'import-x/no-useless-path-segments': ["error", {
16767
+ noUselessIndex: boolean;
16768
+ commonjs: boolean;
16769
+ }];
16770
+ 'import-x/no-webpack-loader-syntax': "error";
16771
+ 'import-x/order': ["error", {
16772
+ groups: string[][];
16773
+ }];
16774
+ 'import-x/prefer-default-export': "error";
16775
+ 'import-x/unambiguous': "off";
16776
+ };
16777
+ files?: Array<string | string[]>;
16778
+ ignores?: string[];
16779
+ language?: string;
16780
+ linterOptions?: Linter.LinterOptions;
16781
+ processor?: string | Linter.Processor;
16782
+ plugins?: Record<string, import("eslint").ESLint.Plugin>;
16783
+ } | {
16784
+ name: string;
16785
+ languageOptions: {
16786
+ globals: {
16787
+ AbortController: false;
16788
+ AbortSignal: false;
16789
+ atob: false;
16790
+ Blob: false;
16791
+ BroadcastChannel: false;
16792
+ btoa: false;
16793
+ Buffer: false;
16794
+ ByteLengthQueuingStrategy: false;
16795
+ clearImmediate: false;
16796
+ clearInterval: false;
16797
+ clearTimeout: false;
16798
+ CloseEvent: false;
16799
+ CompressionStream: false;
16800
+ console: false;
16801
+ CountQueuingStrategy: false;
16802
+ crypto: false;
16803
+ Crypto: false;
16804
+ CryptoKey: false;
16805
+ CustomEvent: false;
16806
+ DecompressionStream: false;
16807
+ DOMException: false;
16808
+ Event: false;
16809
+ EventTarget: false;
16810
+ fetch: false;
16811
+ File: false;
16812
+ FormData: false;
16813
+ global: false;
16814
+ Headers: false;
16815
+ MessageChannel: false;
16816
+ MessageEvent: false;
16817
+ MessagePort: false;
16818
+ navigator: false;
16819
+ Navigator: false;
16820
+ performance: false;
16821
+ Performance: false;
16822
+ PerformanceEntry: false;
16823
+ PerformanceMark: false;
16824
+ PerformanceMeasure: false;
16825
+ PerformanceObserver: false;
16826
+ PerformanceObserverEntryList: false;
16827
+ PerformanceResourceTiming: false;
16828
+ process: false;
16829
+ queueMicrotask: false;
16830
+ ReadableByteStreamController: false;
16831
+ ReadableStream: false;
16832
+ ReadableStreamBYOBReader: false;
16833
+ ReadableStreamBYOBRequest: false;
16834
+ ReadableStreamDefaultController: false;
16835
+ ReadableStreamDefaultReader: false;
16836
+ Request: false;
16837
+ Response: false;
16838
+ setImmediate: false;
16839
+ setInterval: false;
16840
+ setTimeout: false;
16841
+ structuredClone: false;
16842
+ SubtleCrypto: false;
16843
+ TextDecoder: false;
16844
+ TextDecoderStream: false;
16845
+ TextEncoder: false;
16846
+ TextEncoderStream: false;
16847
+ TransformStream: false;
16848
+ TransformStreamDefaultController: false;
16849
+ URL: false;
16850
+ URLSearchParams: false;
16851
+ WebAssembly: false;
16852
+ WebSocket: false;
16853
+ WritableStream: false;
16854
+ WritableStreamDefaultController: false;
16855
+ WritableStreamDefaultWriter: false;
16856
+ };
16857
+ };
16858
+ rules: {
16859
+ 'callback-return': "off";
16860
+ 'global-require': "error";
16861
+ 'handle-callback-err': "off";
16862
+ 'no-buffer-constructor': "error";
16863
+ 'no-mixed-requires': ["off", boolean];
16864
+ 'no-new-require': "error";
16865
+ 'no-path-concat': "error";
16866
+ 'no-process-env': "off";
16867
+ 'no-process-exit': "off";
16868
+ 'no-restricted-modules': "off";
16869
+ 'no-sync': "off";
16870
+ };
16871
+ } | {
16872
+ name: string;
16873
+ rules: {
16874
+ strict: ["error", string];
16875
+ };
16876
+ } | {
16877
+ name: string;
16878
+ languageOptions: {
16879
+ parserOptions: {
16880
+ ecmaVersion: 2018;
16881
+ sourceType: "module";
16882
+ };
16883
+ };
16884
+ rules: {};
16885
+ })[];
16886
+ typescript: (Linter.Config<Linter.RulesRecord> | {
16887
+ name: string;
16888
+ rules: {
16889
+ 'constructor-super': "off";
16890
+ 'getter-return': "off";
16891
+ 'no-class-assign': "off";
16892
+ 'no-const-assign': "off";
16893
+ 'no-dupe-args': "off";
16894
+ 'no-dupe-keys': "off";
16895
+ 'no-func-assign': "off";
16896
+ 'no-import-assign': "off";
16897
+ 'no-new-native-nonconstructor': "off";
16898
+ 'no-obj-calls': "off";
16899
+ 'no-setter-return': "off";
16900
+ 'no-this-before-super': "off";
16901
+ 'no-undef': "off";
16902
+ 'no-unreachable': "off";
16903
+ 'no-unsafe-negation': "off";
16904
+ 'no-with': "off";
16905
+ 'valid-typeof': "off";
16906
+ };
16907
+ } | {
16908
+ name: string;
16909
+ settings: {
16910
+ 'import-x/parsers': {
16911
+ '@typescript-eslint/parser': (string | string[])[];
16912
+ };
16913
+ 'import-x/resolver': {
16914
+ node: {
16915
+ extensions: (string | string[])[];
16916
+ };
16917
+ };
16918
+ 'import-x/resolver-next': {
16919
+ interfaceVersion: number;
16920
+ name: string;
16921
+ resolve(source: string, file: string): ResolvedResult;
16922
+ }[];
16923
+ 'import-x/extensions': string[];
16924
+ 'import-x/external-module-folders': string[];
16925
+ };
16926
+ rules: {
16927
+ 'import-x/extensions': ["error", string, {
16928
+ [k: string]: string;
16929
+ }];
16930
+ 'import-x/no-extraneous-dependencies': ["error", {
16931
+ devDependencies: string[];
16932
+ optionalDependencies: boolean;
16933
+ peerDependencies: boolean;
16934
+ bundledDependencies: boolean;
16935
+ }];
16936
+ 'import-x/named': "off";
16937
+ 'import-x/no-named-as-default-member': "off";
16938
+ };
16939
+ })[];
16940
+ all: (Linter.Config<Linter.RulesRecord> | {
16941
+ name: string;
16942
+ rules: {
16943
+ 'array-bracket-newline': ["off", string];
16944
+ 'array-element-newline': ["off", {
16945
+ multiline: boolean;
16946
+ minItems: number;
16947
+ }];
16948
+ 'array-bracket-spacing': ["error", string];
16949
+ 'block-spacing': ["error", string];
16950
+ 'brace-style': ["error", string, {
16951
+ allowSingleLine: boolean;
16952
+ }];
16953
+ camelcase: ["error", {
16954
+ properties: string;
16955
+ ignoreDestructuring: boolean;
16956
+ }];
16957
+ 'capitalized-comments': ["off", string, {
16958
+ line: {
16959
+ ignorePattern: string;
16960
+ ignoreInlineComments: boolean;
16961
+ ignoreConsecutiveComments: boolean;
16962
+ };
16963
+ block: {
16964
+ ignorePattern: string;
16965
+ ignoreInlineComments: boolean;
16966
+ ignoreConsecutiveComments: boolean;
16967
+ };
16968
+ }];
16969
+ 'comma-dangle': ["error", {
16970
+ arrays: string;
16971
+ objects: string;
16972
+ imports: string;
16973
+ exports: string;
16974
+ functions: string;
16975
+ }];
16976
+ 'comma-spacing': ["error", {
16977
+ before: boolean;
16978
+ after: boolean;
16979
+ }];
16980
+ 'comma-style': ["error", string, {
16981
+ exceptions: {
16982
+ ArrayExpression: boolean;
16983
+ ArrayPattern: boolean;
16984
+ ArrowFunctionExpression: boolean;
16985
+ CallExpression: boolean;
16986
+ FunctionDeclaration: boolean;
16987
+ FunctionExpression: boolean;
16988
+ ImportDeclaration: boolean;
16989
+ ObjectExpression: boolean;
16990
+ ObjectPattern: boolean;
16991
+ VariableDeclaration: boolean;
16992
+ NewExpression: boolean;
16993
+ };
16994
+ }];
16995
+ 'computed-property-spacing': ["error", string];
16996
+ 'consistent-this': "off";
16997
+ 'eol-last': ["error", string];
16998
+ 'function-call-argument-newline': ["error", string];
16999
+ 'func-call-spacing': ["error", string];
17000
+ 'func-name-matching': ["off", string, {
17001
+ includeCommonJSModuleExports: boolean;
17002
+ considerPropertyDescriptor: boolean;
17003
+ }];
17004
+ 'func-names': "warn";
17005
+ 'func-style': ["off", string];
17006
+ 'function-paren-newline': ["error", string];
17007
+ 'id-denylist': "off";
17008
+ 'id-length': "off";
17009
+ 'id-match': "off";
17010
+ 'implicit-arrow-linebreak': ["error", string];
17011
+ indent: ["error", number, {
17012
+ SwitchCase: number;
17013
+ VariableDeclarator: number;
17014
+ outerIIFEBody: number;
17015
+ FunctionDeclaration: {
17016
+ parameters: number;
17017
+ body: number;
17018
+ };
17019
+ FunctionExpression: {
17020
+ parameters: number;
17021
+ body: number;
17022
+ };
17023
+ CallExpression: {
17024
+ arguments: number;
17025
+ };
17026
+ ArrayExpression: number;
17027
+ ObjectExpression: number;
17028
+ ImportDeclaration: number;
17029
+ flatTernaryExpressions: boolean;
17030
+ ignoredNodes: string[];
17031
+ ignoreComments: boolean;
17032
+ }];
17033
+ 'jsx-quotes': ["off", string];
17034
+ 'key-spacing': ["error", {
17035
+ beforeColon: boolean;
17036
+ afterColon: boolean;
17037
+ }];
17038
+ 'keyword-spacing': ["error", {
17039
+ before: boolean;
17040
+ after: boolean;
17041
+ overrides: {
17042
+ return: {
17043
+ after: boolean;
17044
+ };
17045
+ throw: {
17046
+ after: boolean;
17047
+ };
17048
+ case: {
17049
+ after: boolean;
17050
+ };
17051
+ };
17052
+ }];
17053
+ 'line-comment-position': ["off", {
17054
+ position: string;
17055
+ ignorePattern: string;
17056
+ applyDefaultPatterns: boolean;
17057
+ }];
17058
+ 'linebreak-style': ["error", string];
17059
+ 'lines-between-class-members': ["error", string, {
17060
+ exceptAfterSingleLine: boolean;
17061
+ }];
17062
+ 'lines-around-comment': "off";
17063
+ 'lines-around-directive': ["error", {
17064
+ before: string;
17065
+ after: string;
17066
+ }];
17067
+ 'logical-assignment-operators': ["off", string, {
17068
+ enforceForIfStatements: boolean;
17069
+ }];
17070
+ 'max-depth': ["off", number];
17071
+ 'max-len': ["error", number, number, {
17072
+ ignoreUrls: boolean;
17073
+ ignoreComments: boolean;
17074
+ ignoreRegExpLiterals: boolean;
17075
+ ignoreStrings: boolean;
17076
+ ignoreTemplateLiterals: boolean;
17077
+ }];
17078
+ 'max-lines': ["off", {
17079
+ max: number;
17080
+ skipBlankLines: boolean;
17081
+ skipComments: boolean;
17082
+ }];
17083
+ 'max-lines-per-function': ["off", {
17084
+ max: number;
17085
+ skipBlankLines: boolean;
17086
+ skipComments: boolean;
17087
+ IIFEs: boolean;
17088
+ }];
17089
+ 'max-nested-callbacks': "off";
17090
+ 'max-params': ["off", number];
17091
+ 'max-statements': ["off", number];
17092
+ 'max-statements-per-line': ["off", {
17093
+ max: number;
17094
+ }];
17095
+ 'multiline-comment-style': ["off", string];
17096
+ 'multiline-ternary': ["off", string];
17097
+ 'new-cap': ["error", {
17098
+ newIsCap: boolean;
17099
+ newIsCapExceptions: never[];
17100
+ capIsNew: boolean;
17101
+ capIsNewExceptions: string[];
17102
+ }];
17103
+ 'new-parens': "error";
17104
+ 'newline-after-var': "off";
17105
+ 'newline-before-return': "off";
17106
+ 'newline-per-chained-call': ["error", {
17107
+ ignoreChainWithDepth: number;
17108
+ }];
17109
+ 'no-array-constructor': "error";
17110
+ 'no-bitwise': "error";
17111
+ 'no-continue': "error";
17112
+ 'no-inline-comments': "off";
17113
+ 'no-lonely-if': "error";
17114
+ 'no-mixed-operators': ["error", {
17115
+ groups: string[][];
17116
+ allowSamePrecedence: boolean;
17117
+ }];
17118
+ 'no-mixed-spaces-and-tabs': "error";
17119
+ 'no-multi-assign': ["error"];
17120
+ 'no-multiple-empty-lines': ["error", {
17121
+ max: number;
17122
+ maxBOF: number;
17123
+ maxEOF: number;
17124
+ }];
17125
+ 'no-negated-condition': "off";
17126
+ 'no-nested-ternary': "error";
17127
+ 'no-new-object': "error";
17128
+ 'no-plusplus': "error";
17129
+ 'no-restricted-syntax': ["error", {
17130
+ selector: string;
17131
+ message: string;
17132
+ }, {
17133
+ selector: string;
17134
+ message: string;
17135
+ }, {
17136
+ selector: string;
17137
+ message: string;
17138
+ }, {
17139
+ selector: string;
17140
+ message: string;
17141
+ }];
17142
+ 'no-spaced-func': "off";
17143
+ 'no-tabs': "error";
17144
+ 'no-ternary': "off";
17145
+ 'no-trailing-spaces': ["error", {
17146
+ skipBlankLines: boolean;
17147
+ ignoreComments: boolean;
17148
+ }];
17149
+ 'no-underscore-dangle': ["error", {
17150
+ allow: never[];
17151
+ allowAfterThis: boolean;
17152
+ allowAfterSuper: boolean;
17153
+ enforceInMethodNames: boolean;
17154
+ }];
17155
+ 'no-unneeded-ternary': ["error", {
17156
+ defaultAssignment: boolean;
17157
+ }];
17158
+ 'no-whitespace-before-property': "error";
17159
+ 'nonblock-statement-body-position': ["error", string, {
17160
+ overrides: {};
17161
+ }];
17162
+ 'object-curly-spacing': ["error", string];
17163
+ 'object-curly-newline': ["error", {
17164
+ ObjectExpression: {
17165
+ minProperties: number;
17166
+ multiline: boolean;
17167
+ consistent: boolean;
17168
+ };
17169
+ ObjectPattern: {
17170
+ minProperties: number;
17171
+ multiline: boolean;
17172
+ consistent: boolean;
17173
+ };
17174
+ ImportDeclaration: {
17175
+ minProperties: number;
17176
+ multiline: boolean;
17177
+ consistent: boolean;
17178
+ };
17179
+ ExportDeclaration: {
17180
+ minProperties: number;
17181
+ multiline: boolean;
17182
+ consistent: boolean;
17183
+ };
17184
+ }];
17185
+ 'object-property-newline': ["error", {
17186
+ allowAllPropertiesOnSameLine: boolean;
17187
+ }];
17188
+ 'one-var': ["error", string];
17189
+ 'one-var-declaration-per-line': ["error", string];
17190
+ 'operator-assignment': ["error", string];
17191
+ 'operator-linebreak': ["error", string, {
17192
+ overrides: {
17193
+ '=': string;
17194
+ };
17195
+ }];
17196
+ 'padded-blocks': ["error", {
17197
+ blocks: string;
17198
+ classes: string;
17199
+ switches: string;
17200
+ }, {
17201
+ allowSingleLineBlocks: boolean;
17202
+ }];
17203
+ 'padding-line-between-statements': "off";
17204
+ 'prefer-exponentiation-operator': "error";
17205
+ 'prefer-object-spread': "error";
17206
+ 'quote-props': ["error", string, {
17207
+ keywords: boolean;
17208
+ unnecessary: boolean;
17209
+ numbers: boolean;
17210
+ }];
17211
+ quotes: ["error", string, {
17212
+ avoidEscape: boolean;
17213
+ }];
17214
+ 'require-jsdoc': "off";
17215
+ semi: ["error", string];
17216
+ 'semi-spacing': ["error", {
17217
+ before: boolean;
17218
+ after: boolean;
17219
+ }];
17220
+ 'semi-style': ["error", string];
17221
+ 'sort-keys': ["off", string, {
17222
+ caseSensitive: boolean;
17223
+ natural: boolean;
17224
+ }];
17225
+ 'sort-vars': "off";
17226
+ 'space-before-blocks': "error";
17227
+ 'space-before-function-paren': ["error", {
17228
+ anonymous: string;
17229
+ named: string;
17230
+ asyncArrow: string;
17231
+ }];
17232
+ 'space-in-parens': ["error", string];
17233
+ 'space-infix-ops': "error";
17234
+ 'space-unary-ops': ["error", {
17235
+ words: boolean;
17236
+ nonwords: boolean;
17237
+ overrides: {};
17238
+ }];
17239
+ 'spaced-comment': ["error", string, {
17240
+ line: {
17241
+ exceptions: string[];
17242
+ markers: string[];
17243
+ };
17244
+ block: {
17245
+ exceptions: string[];
17246
+ markers: string[];
17247
+ balanced: boolean;
17248
+ };
17249
+ }];
17250
+ 'switch-colon-spacing': ["error", {
17251
+ after: boolean;
17252
+ before: boolean;
17253
+ }];
17254
+ 'template-tag-spacing': ["error", string];
17255
+ 'unicode-bom': ["error", string];
17256
+ 'wrap-regex': "off";
17257
+ };
17258
+ } | {
17259
+ name: string;
17260
+ rules: {
17261
+ 'accessor-pairs': "off";
17262
+ 'array-callback-return': ["error", {
17263
+ allowImplicit: boolean;
17264
+ }];
17265
+ 'block-scoped-var': "error";
17266
+ complexity: ["off", number];
17267
+ 'class-methods-use-this': ["error", {
17268
+ exceptMethods: never[];
17269
+ }];
17270
+ 'consistent-return': "error";
17271
+ curly: ["error", string];
17272
+ 'default-case': ["error", {
17273
+ commentPattern: string;
17274
+ }];
17275
+ 'default-case-last': "error";
17276
+ 'default-param-last': "error";
17277
+ 'dot-notation': ["error", {
17278
+ allowKeywords: boolean;
17279
+ }];
17280
+ 'dot-location': ["error", string];
17281
+ eqeqeq: ["error", string, {
17282
+ null: string;
17283
+ }];
17284
+ 'grouped-accessor-pairs': "error";
17285
+ 'guard-for-in': "error";
17286
+ 'max-classes-per-file': ["error", number];
17287
+ 'no-alert': "warn";
17288
+ 'no-caller': "error";
17289
+ 'no-case-declarations': "error";
17290
+ 'no-constructor-return': "error";
17291
+ 'no-div-regex': "off";
17292
+ 'no-else-return': ["error", {
17293
+ allowElseIf: boolean;
17294
+ }];
17295
+ 'no-empty-function': ["error", {
17296
+ allow: string[];
17297
+ }];
17298
+ 'no-empty-pattern': "error";
17299
+ 'no-empty-static-block': "off";
17300
+ 'no-eq-null': "off";
17301
+ 'no-eval': "error";
17302
+ 'no-extend-native': "error";
17303
+ 'no-extra-bind': "error";
17304
+ 'no-extra-label': "error";
17305
+ 'no-fallthrough': "error";
17306
+ 'no-floating-decimal': "error";
17307
+ 'no-global-assign': ["error", {
17308
+ exceptions: never[];
17309
+ }];
17310
+ 'no-native-reassign': "off";
17311
+ 'no-implicit-coercion': ["off", {
17312
+ boolean: boolean;
17313
+ number: boolean;
17314
+ string: boolean;
17315
+ allow: never[];
17316
+ }];
17317
+ 'no-implicit-globals': "off";
17318
+ 'no-implied-eval': "error";
17319
+ 'no-invalid-this': "off";
17320
+ 'no-iterator': "error";
17321
+ 'no-labels': ["error", {
17322
+ allowLoop: boolean;
17323
+ allowSwitch: boolean;
17324
+ }];
17325
+ 'no-lone-blocks': "error";
17326
+ 'no-loop-func': "error";
17327
+ 'no-magic-numbers': ["off", {
17328
+ ignore: never[];
17329
+ ignoreArrayIndexes: boolean;
17330
+ enforceConst: boolean;
17331
+ detectObjects: boolean;
17332
+ }];
17333
+ 'no-multi-spaces': ["error", {
17334
+ ignoreEOLComments: boolean;
17335
+ }];
17336
+ 'no-multi-str': "error";
17337
+ 'no-new': "error";
17338
+ 'no-new-func': "error";
17339
+ 'no-new-wrappers': "error";
17340
+ 'no-nonoctal-decimal-escape': "error";
17341
+ 'no-object-constructor': "off";
17342
+ 'no-octal': "error";
17343
+ 'no-octal-escape': "error";
17344
+ 'no-param-reassign': ["error", {
17345
+ props: boolean;
17346
+ ignorePropertyModificationsFor: string[];
17347
+ }];
17348
+ 'no-proto': "error";
17349
+ 'no-redeclare': "error";
17350
+ 'no-restricted-properties': ["error", {
17351
+ object: string;
17352
+ property: string;
17353
+ message: string;
17354
+ }, {
17355
+ object: string;
17356
+ property: string;
17357
+ message: string;
17358
+ }, {
17359
+ object: string;
17360
+ property: string;
17361
+ message: string;
17362
+ }, {
17363
+ object: string;
17364
+ property: string;
17365
+ message: string;
17366
+ }, {
17367
+ object: string;
17368
+ property: string;
17369
+ message: string;
17370
+ }, {
17371
+ object: string;
17372
+ property: string;
17373
+ message: string;
17374
+ }, {
17375
+ object: string;
17376
+ property: string;
17377
+ message: string;
17378
+ }, {
17379
+ property: string;
17380
+ message: string;
17381
+ }, {
17382
+ property: string;
17383
+ message: string;
17384
+ }, {
17385
+ object: string;
17386
+ property: string;
17387
+ message: string;
17388
+ }];
17389
+ 'no-return-assign': ["error", string];
17390
+ 'no-return-await': "error";
17391
+ 'no-script-url': "error";
17392
+ 'no-self-assign': ["error", {
17393
+ props: boolean;
17394
+ }];
17395
+ 'no-self-compare': "error";
17396
+ 'no-sequences': "error";
17397
+ 'no-throw-literal': "error";
17398
+ 'no-unmodified-loop-condition': "off";
17399
+ 'no-unused-expressions': ["error", {
17400
+ allowShortCircuit: boolean;
17401
+ allowTernary: boolean;
17402
+ allowTaggedTemplates: boolean;
17403
+ }];
17404
+ 'no-unused-labels': "error";
17405
+ 'no-useless-call': "off";
17406
+ 'no-useless-catch': "error";
17407
+ 'no-useless-concat': "error";
17408
+ 'no-useless-escape': "error";
17409
+ 'no-useless-return': "error";
17410
+ 'no-void': "error";
17411
+ 'no-warning-comments': ["off", {
17412
+ terms: string[];
17413
+ location: string;
17414
+ }];
17415
+ 'no-with': "error";
17416
+ 'prefer-promise-reject-errors': ["error", {
17417
+ allowEmptyReject: boolean;
17418
+ }];
17419
+ 'prefer-named-capture-group': "off";
17420
+ 'prefer-object-has-own': "off";
17421
+ 'prefer-regex-literals': ["error", {
17422
+ disallowRedundantWrapping: boolean;
17423
+ }];
17424
+ radix: "error";
17425
+ 'require-await': "off";
17426
+ 'require-unicode-regexp': "off";
17427
+ 'vars-on-top': "error";
17428
+ 'wrap-iife': ["error", string, {
17429
+ functionPrototypeMethods: boolean;
17430
+ }];
17431
+ yoda: "error";
17432
+ };
17433
+ } | {
17434
+ name: string;
17435
+ languageOptions: {
17436
+ globals: {
17437
+ Array: false;
17438
+ ArrayBuffer: false;
17439
+ Boolean: false;
17440
+ DataView: false;
17441
+ Date: false;
17442
+ decodeURI: false;
17443
+ decodeURIComponent: false;
17444
+ encodeURI: false;
17445
+ encodeURIComponent: false;
17446
+ Error: false;
17447
+ escape: false;
17448
+ eval: false;
17449
+ EvalError: false;
17450
+ Float32Array: false;
17451
+ Float64Array: false;
17452
+ Function: false;
17453
+ Infinity: false;
17454
+ Int16Array: false;
17455
+ Int32Array: false;
17456
+ Int8Array: false;
17457
+ Intl: false;
17458
+ isFinite: false;
17459
+ isNaN: false;
17460
+ JSON: false;
17461
+ Map: false;
17462
+ Math: false;
17463
+ NaN: false;
17464
+ Number: false;
17465
+ Object: false;
17466
+ parseFloat: false;
17467
+ parseInt: false;
17468
+ Promise: false;
17469
+ Proxy: false;
17470
+ RangeError: false;
17471
+ ReferenceError: false;
17472
+ Reflect: false;
17473
+ RegExp: false;
17474
+ Set: false;
17475
+ String: false;
17476
+ Symbol: false;
17477
+ SyntaxError: false;
17478
+ TypeError: false;
17479
+ Uint16Array: false;
17480
+ Uint32Array: false;
17481
+ Uint8Array: false;
17482
+ Uint8ClampedArray: false;
17483
+ undefined: false;
17484
+ unescape: false;
17485
+ URIError: false;
17486
+ WeakMap: false;
17487
+ WeakSet: false;
17488
+ };
17489
+ parserOptions: {
17490
+ ecmaVersion: 6;
17491
+ sourceType: "module";
17492
+ ecmaFeatures: {
17493
+ generators: boolean;
17494
+ objectLiteralDuplicateProperties: boolean;
17495
+ };
17496
+ };
17497
+ };
17498
+ rules: {
17499
+ 'arrow-body-style': ["error", string, {
17500
+ requireReturnForObjectLiteral: boolean;
17501
+ }];
17502
+ 'arrow-parens': ["error", string];
17503
+ 'arrow-spacing': ["error", {
17504
+ before: boolean;
17505
+ after: boolean;
17506
+ }];
17507
+ 'constructor-super': "error";
17508
+ 'generator-star-spacing': ["error", {
17509
+ before: boolean;
17510
+ after: boolean;
17511
+ }];
17512
+ 'no-class-assign': "error";
17513
+ 'no-confusing-arrow': ["error", {
17514
+ allowParens: boolean;
17515
+ }];
17516
+ 'no-const-assign': "error";
17517
+ 'no-dupe-class-members': "error";
17518
+ 'no-duplicate-imports': "off";
17519
+ 'no-new-symbol': "error";
17520
+ 'no-restricted-exports': ["error", {
17521
+ restrictedNamedExports: string[];
17522
+ }];
17523
+ 'no-restricted-imports': ["off", {
17524
+ paths: never[];
17525
+ patterns: never[];
17526
+ }];
17527
+ 'no-this-before-super': "error";
17528
+ 'no-useless-computed-key': "error";
17529
+ 'no-useless-constructor': "error";
17530
+ 'no-useless-rename': ["error", {
17531
+ ignoreDestructuring: boolean;
17532
+ ignoreImport: boolean;
17533
+ ignoreExport: boolean;
17534
+ }];
17535
+ 'no-var': "error";
17536
+ 'object-shorthand': ["error", string, {
17537
+ ignoreConstructors: boolean;
17538
+ avoidQuotes: boolean;
17539
+ }];
17540
+ 'prefer-arrow-callback': ["error", {
17541
+ allowNamedFunctions: boolean;
17542
+ allowUnboundThis: boolean;
17543
+ }];
17544
+ 'prefer-const': ["error", {
17545
+ destructuring: string;
17546
+ ignoreReadBeforeAssign: boolean;
17547
+ }];
17548
+ 'prefer-destructuring': ["error", {
17549
+ VariableDeclarator: {
17550
+ array: boolean;
17551
+ object: boolean;
17552
+ };
17553
+ AssignmentExpression: {
17554
+ array: boolean;
17555
+ object: boolean;
17556
+ };
17557
+ }, {
17558
+ enforceForRenamedProperties: boolean;
17559
+ }];
17560
+ 'prefer-numeric-literals': "error";
17561
+ 'prefer-reflect': "off";
17562
+ 'prefer-rest-params': "error";
17563
+ 'prefer-spread': "error";
17564
+ 'prefer-template': "error";
17565
+ 'require-yield': "error";
17566
+ 'rest-spread-spacing': ["error", string];
17567
+ 'sort-imports': ["off", {
17568
+ ignoreCase: boolean;
17569
+ ignoreDeclarationSort: boolean;
17570
+ ignoreMemberSort: boolean;
17571
+ memberSyntaxSortOrder: string[];
17572
+ }];
17573
+ 'symbol-description': "error";
17574
+ 'template-curly-spacing': "error";
17575
+ 'yield-star-spacing': ["error", string];
17576
+ };
17577
+ } | {
17578
+ name: string;
17579
+ rules: {
17580
+ 'for-direction': "error";
17581
+ 'getter-return': ["error", {
17582
+ allowImplicit: boolean;
17583
+ }];
17584
+ 'no-async-promise-executor': "error";
17585
+ 'no-await-in-loop': "error";
17586
+ 'no-compare-neg-zero': "error";
17587
+ 'no-cond-assign': ["error", string];
17588
+ 'no-console': "warn";
17589
+ 'no-constant-binary-expression': "off";
17590
+ 'no-constant-condition': "warn";
17591
+ 'no-control-regex': "error";
17592
+ 'no-debugger': "error";
17593
+ 'no-dupe-args': "error";
17594
+ 'no-dupe-else-if': "error";
17595
+ 'no-dupe-keys': "error";
17596
+ 'no-duplicate-case': "error";
17597
+ 'no-empty': "error";
17598
+ 'no-empty-character-class': "error";
17599
+ 'no-ex-assign': "error";
17600
+ 'no-extra-boolean-cast': "error";
17601
+ 'no-extra-parens': ["off", string, {
17602
+ conditionalAssign: boolean;
17603
+ nestedBinaryExpressions: boolean;
17604
+ returnAssign: boolean;
17605
+ ignoreJSX: string;
17606
+ enforceForArrowConditionals: boolean;
17607
+ }];
17608
+ 'no-extra-semi': "error";
17609
+ 'no-func-assign': "error";
17610
+ 'no-import-assign': "error";
17611
+ 'no-inner-declarations': "error";
17612
+ 'no-invalid-regexp': "error";
17613
+ 'no-irregular-whitespace': "error";
17614
+ 'no-loss-of-precision': "error";
17615
+ 'no-misleading-character-class': "error";
17616
+ 'no-obj-calls': "error";
17617
+ 'no-new-native-nonconstructor': "off";
17618
+ 'no-promise-executor-return': "error";
17619
+ 'no-prototype-builtins': "error";
17620
+ 'no-regex-spaces': "error";
17621
+ 'no-setter-return': "error";
17622
+ 'no-sparse-arrays': "error";
17623
+ 'no-template-curly-in-string': "error";
17624
+ 'no-unexpected-multiline': "error";
17625
+ 'no-unreachable': "error";
17626
+ 'no-unreachable-loop': ["error", {
17627
+ ignore: never[];
17628
+ }];
17629
+ 'no-unsafe-finally': "error";
17630
+ 'no-unsafe-negation': "error";
17631
+ 'no-unsafe-optional-chaining': ["error", {
17632
+ disallowArithmeticOperators: boolean;
17633
+ }];
17634
+ 'no-unused-private-class-members': "off";
17635
+ 'no-useless-backreference': "error";
17636
+ 'no-negated-in-lhs': "off";
17637
+ 'require-atomic-updates': "off";
17638
+ 'use-isnan': "error";
17639
+ 'valid-jsdoc': "off";
17640
+ 'valid-typeof': ["error", {
17641
+ requireStringLiterals: boolean;
17642
+ }];
17643
+ };
17644
+ } | {
17645
+ name: string;
17646
+ rules: {
17647
+ 'init-declarations': "off";
17648
+ 'no-catch-shadow': "off";
17649
+ 'no-delete-var': "error";
17650
+ 'no-label-var': "error";
17651
+ 'no-restricted-globals': ["error", {
17652
+ name: string;
17653
+ message: string;
17654
+ }, {
17655
+ name: string;
17656
+ message: string;
17657
+ }, ...{
17658
+ name: "self" | "location" | "length" | "find" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
17659
+ message: string;
17660
+ }[]];
17661
+ 'no-shadow': "error";
17662
+ 'no-shadow-restricted-names': "error";
17663
+ 'no-undef': "error";
17664
+ 'no-undef-init': "error";
17665
+ 'no-undefined': "off";
17666
+ 'no-unused-vars': ["error", {
17667
+ vars: string;
17668
+ args: string;
17669
+ ignoreRestSiblings: boolean;
17670
+ }];
17671
+ 'no-use-before-define': ["error", {
17672
+ functions: boolean;
17673
+ classes: boolean;
17674
+ variables: boolean;
17675
+ }];
17676
+ };
17677
+ } | {
17678
+ name: string;
17679
+ rules: {
17680
+ 'constructor-super': "off";
17681
+ 'getter-return': "off";
17682
+ 'no-class-assign': "off";
17683
+ 'no-const-assign': "off";
17684
+ 'no-dupe-args': "off";
17685
+ 'no-dupe-keys': "off";
17686
+ 'no-func-assign': "off";
17687
+ 'no-import-assign': "off";
17688
+ 'no-new-native-nonconstructor': "off";
17689
+ 'no-obj-calls': "off";
17690
+ 'no-setter-return': "off";
17691
+ 'no-this-before-super': "off";
17692
+ 'no-undef': "off";
17693
+ 'no-unreachable': "off";
17694
+ 'no-unsafe-negation': "off";
17695
+ 'no-with': "off";
17696
+ 'valid-typeof': "off";
17697
+ };
17698
+ } | {
17699
+ name: string;
17700
+ settings: {
17701
+ 'import-x/parsers': {
17702
+ '@typescript-eslint/parser': (string | string[])[];
17703
+ };
17704
+ 'import-x/resolver': {
17705
+ node: {
17706
+ extensions: (string | string[])[];
17707
+ };
17708
+ };
17709
+ 'import-x/resolver-next': {
17710
+ interfaceVersion: number;
17711
+ name: string;
17712
+ resolve(source: string, file: string): ResolvedResult;
17713
+ }[];
17714
+ 'import-x/extensions': string[];
17715
+ 'import-x/external-module-folders': string[];
17716
+ };
17717
+ rules: {
17718
+ 'import-x/extensions': ["error", string, {
17719
+ [k: string]: string;
17720
+ }];
17721
+ 'import-x/no-extraneous-dependencies': ["error", {
17722
+ devDependencies: string[];
17723
+ optionalDependencies: boolean;
17724
+ peerDependencies: boolean;
17725
+ bundledDependencies: boolean;
17726
+ }];
17727
+ 'import-x/named': "off";
17728
+ 'import-x/no-named-as-default-member': "off";
17729
+ };
17730
+ } | {
17731
+ name: string;
17732
+ languageOptions: {
17733
+ globals: {
17734
+ Array: false;
17735
+ ArrayBuffer: false;
17736
+ Boolean: false;
17737
+ DataView: false;
17738
+ Date: false;
17739
+ decodeURI: false;
17740
+ decodeURIComponent: false;
17741
+ encodeURI: false;
17742
+ encodeURIComponent: false;
17743
+ Error: false;
17744
+ escape: false;
17745
+ eval: false;
17746
+ EvalError: false;
17747
+ Float32Array: false;
17748
+ Float64Array: false;
17749
+ Function: false;
17750
+ Infinity: false;
17751
+ Int16Array: false;
17752
+ Int32Array: false;
17753
+ Int8Array: false;
17754
+ Intl: false;
17755
+ isFinite: false;
17756
+ isNaN: false;
17757
+ JSON: false;
17758
+ Map: false;
17759
+ Math: false;
17760
+ NaN: false;
17761
+ Number: false;
17762
+ Object: false;
17763
+ parseFloat: false;
17764
+ parseInt: false;
17765
+ Promise: false;
17766
+ Proxy: false;
17767
+ RangeError: false;
17768
+ ReferenceError: false;
17769
+ Reflect: false;
17770
+ RegExp: false;
17771
+ Set: false;
17772
+ String: false;
17773
+ Symbol: false;
17774
+ SyntaxError: false;
17775
+ TypeError: false;
17776
+ Uint16Array: false;
17777
+ Uint32Array: false;
17778
+ Uint8Array: false;
17779
+ Uint8ClampedArray: false;
17780
+ undefined: false;
17781
+ unescape: false;
17782
+ URIError: false;
17783
+ WeakMap: false;
17784
+ WeakSet: false;
17785
+ };
17786
+ parserOptions: {
17787
+ ecmaVersion: 6;
17788
+ sourceType: "module";
17789
+ };
17790
+ };
17791
+ settings: {
17792
+ 'import-x/resolver': {
17793
+ node: {
17794
+ extensions: string[];
17795
+ };
17796
+ };
17797
+ 'import-x/extensions': string[];
17798
+ 'import-x/core-modules': never[];
17799
+ 'import-x/ignore': string[];
17800
+ };
17801
+ rules: {
17802
+ 'import-x/consistent-type-specifier-style': "off";
17803
+ 'import-x/default': "error";
17804
+ 'import-x/dynamic-import-chunkname': "off";
17805
+ 'import-x/export': "error";
17806
+ 'import-x/exports-last': "off";
17807
+ 'import-x/extensions': ["error", string, {
17808
+ [k: string]: string;
17809
+ }];
17810
+ 'import-x/first': "error";
17811
+ 'import-x/group-exports': "off";
17812
+ 'import-x/imports-first': "off";
17813
+ 'import-x/max-dependencies': "off";
17814
+ 'import-x/named': "error";
17815
+ 'import-x/namespaces': "error";
17816
+ 'import-x/newline-after-import': "error";
17817
+ 'import-x/no-absolute-path': "error";
17818
+ 'import-x/no-amd': "error";
17819
+ 'import-x/no-anonymous-default-export': "off";
17820
+ 'import-x/no-commonjs': "off";
17821
+ 'import-x/no-cycle': ["error", {
17822
+ maxDepth: string;
17823
+ }];
17824
+ 'import-x/no-default-export': "off";
17825
+ 'import-x/no-deprecated': "off";
17826
+ 'import-x/no-duplicates': "error";
17827
+ 'import-x/no-dynamic-require': "error";
17828
+ 'import-x/no-empty-named-blocks': "error";
17829
+ 'import-x/no-extraneous-dependencies': ["error", {
17830
+ devDependencies: string[];
17831
+ optionalDependencies: boolean;
17832
+ peerDependencies: boolean;
17833
+ bundledDependencies: boolean;
17834
+ }];
17835
+ 'import-x/no-import-module-exports': ["error", {
17836
+ exceptions: never[];
17837
+ }];
17838
+ 'import-x/no-internal-modules': "off";
17839
+ 'import-x/no-mutable-exports': "error";
17840
+ 'import-x/no-named-as-default-member': "error";
17841
+ 'import-x/no-named-as-default': "error";
17842
+ 'import-x/no-named-default': "error";
17843
+ 'import-x/no-named-export': "off";
17844
+ 'import-x/no-namespace': "off";
17845
+ 'import-x/no-nodejs-modules': "off";
17846
+ 'import-x/no-relative-packages': "error";
17847
+ 'import-x/no-relative-parent-imports': "off";
17848
+ 'import-x/no-rename-default': "warn";
17849
+ 'import-x/no-restricted-paths': "off";
17850
+ 'import-x/no-self-import': "error";
17851
+ 'import-x/no-unassigned-import': "off";
17852
+ 'import-x/no-unresolved': ["error", {
17853
+ commonjs: boolean;
17854
+ caseSensitive: boolean;
17855
+ }];
17856
+ 'import-x/no-unused-modules': ["off", {
17857
+ ignoreExports: never[];
17858
+ missingExports: boolean;
17859
+ unusedExports: boolean;
17860
+ }];
17861
+ 'import-x/no-useless-path-segments': ["error", {
17862
+ noUselessIndex: boolean;
17863
+ commonjs: boolean;
17864
+ }];
17865
+ 'import-x/no-webpack-loader-syntax': "error";
17866
+ 'import-x/order': ["error", {
17867
+ groups: string[][];
17868
+ }];
17869
+ 'import-x/prefer-default-export': "error";
17870
+ 'import-x/unambiguous': "off";
17871
+ };
17872
+ files?: Array<string | string[]>;
17873
+ ignores?: string[];
17874
+ language?: string;
17875
+ linterOptions?: Linter.LinterOptions;
17876
+ processor?: string | Linter.Processor;
17877
+ plugins?: Record<string, import("eslint").ESLint.Plugin>;
17878
+ } | {
17879
+ name: string;
17880
+ languageOptions: {
17881
+ globals: {
17882
+ AbortController: false;
17883
+ AbortSignal: false;
17884
+ atob: false;
17885
+ Blob: false;
17886
+ BroadcastChannel: false;
17887
+ btoa: false;
17888
+ Buffer: false;
17889
+ ByteLengthQueuingStrategy: false;
17890
+ clearImmediate: false;
17891
+ clearInterval: false;
17892
+ clearTimeout: false;
17893
+ CloseEvent: false;
17894
+ CompressionStream: false;
17895
+ console: false;
17896
+ CountQueuingStrategy: false;
17897
+ crypto: false;
17898
+ Crypto: false;
17899
+ CryptoKey: false;
17900
+ CustomEvent: false;
17901
+ DecompressionStream: false;
17902
+ DOMException: false;
17903
+ Event: false;
17904
+ EventTarget: false;
17905
+ fetch: false;
17906
+ File: false;
17907
+ FormData: false;
17908
+ global: false;
17909
+ Headers: false;
17910
+ MessageChannel: false;
17911
+ MessageEvent: false;
17912
+ MessagePort: false;
17913
+ navigator: false;
17914
+ Navigator: false;
17915
+ performance: false;
17916
+ Performance: false;
17917
+ PerformanceEntry: false;
17918
+ PerformanceMark: false;
17919
+ PerformanceMeasure: false;
17920
+ PerformanceObserver: false;
17921
+ PerformanceObserverEntryList: false;
17922
+ PerformanceResourceTiming: false;
17923
+ process: false;
17924
+ queueMicrotask: false;
17925
+ ReadableByteStreamController: false;
17926
+ ReadableStream: false;
17927
+ ReadableStreamBYOBReader: false;
17928
+ ReadableStreamBYOBRequest: false;
17929
+ ReadableStreamDefaultController: false;
17930
+ ReadableStreamDefaultReader: false;
17931
+ Request: false;
17932
+ Response: false;
17933
+ setImmediate: false;
17934
+ setInterval: false;
17935
+ setTimeout: false;
17936
+ structuredClone: false;
17937
+ SubtleCrypto: false;
17938
+ TextDecoder: false;
17939
+ TextDecoderStream: false;
17940
+ TextEncoder: false;
17941
+ TextEncoderStream: false;
17942
+ TransformStream: false;
17943
+ TransformStreamDefaultController: false;
17944
+ URL: false;
17945
+ URLSearchParams: false;
17946
+ WebAssembly: false;
17947
+ WebSocket: false;
17948
+ WritableStream: false;
17949
+ WritableStreamDefaultController: false;
17950
+ WritableStreamDefaultWriter: false;
17951
+ };
17952
+ };
17953
+ rules: {
17954
+ 'callback-return': "off";
17955
+ 'global-require': "error";
17956
+ 'handle-callback-err': "off";
17957
+ 'no-buffer-constructor': "error";
17958
+ 'no-mixed-requires': ["off", boolean];
17959
+ 'no-new-require': "error";
17960
+ 'no-path-concat': "error";
17961
+ 'no-process-env': "off";
17962
+ 'no-process-exit': "off";
17963
+ 'no-restricted-modules': "off";
17964
+ 'no-sync': "off";
17965
+ };
17966
+ } | {
17967
+ name: string;
17968
+ rules: {
17969
+ strict: ["error", string];
17970
+ };
17971
+ } | {
17972
+ name: string;
17973
+ languageOptions: {
17974
+ parserOptions: {
17975
+ ecmaVersion: 2018;
17976
+ sourceType: "module";
17977
+ };
17978
+ };
17979
+ rules: {};
17980
+ })[];
17981
+ };
15897
17982
  };