eslint-config-airbnb-extended 0.0.5 → 0.0.7
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/base/index.d.ts +9 -1162
- package/dist/base/index.js +8 -8
- package/dist/base/recommended.d.ts +1 -997
- package/dist/index.d.ts +9 -1162
- package/dist/rules/imports.d.ts +1 -158
- package/dist/rules/imports.js +9 -16
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/package.json +1 -1
package/dist/base/index.d.ts
CHANGED
|
@@ -174,7 +174,7 @@ declare const _default: {
|
|
|
174
174
|
}];
|
|
175
175
|
yoda: "error";
|
|
176
176
|
};
|
|
177
|
-
}
|
|
177
|
+
};
|
|
178
178
|
'flat/errors': {
|
|
179
179
|
name: string;
|
|
180
180
|
rules: {
|
|
@@ -242,7 +242,7 @@ declare const _default: {
|
|
|
242
242
|
requireStringLiterals: boolean;
|
|
243
243
|
}];
|
|
244
244
|
};
|
|
245
|
-
}
|
|
245
|
+
};
|
|
246
246
|
'flat/es6': {
|
|
247
247
|
name: string;
|
|
248
248
|
languageOptions: {
|
|
@@ -387,165 +387,8 @@ declare const _default: {
|
|
|
387
387
|
'template-curly-spacing': "error";
|
|
388
388
|
'yield-star-spacing': ["error", string];
|
|
389
389
|
};
|
|
390
|
-
}
|
|
391
|
-
'flat/imports':
|
|
392
|
-
name: string;
|
|
393
|
-
languageOptions: {
|
|
394
|
-
globals: {
|
|
395
|
-
Array: false;
|
|
396
|
-
ArrayBuffer: false;
|
|
397
|
-
Boolean: false;
|
|
398
|
-
DataView: false;
|
|
399
|
-
Date: false;
|
|
400
|
-
decodeURI: false;
|
|
401
|
-
decodeURIComponent: false;
|
|
402
|
-
encodeURI: false;
|
|
403
|
-
encodeURIComponent: false;
|
|
404
|
-
Error: false;
|
|
405
|
-
escape: false;
|
|
406
|
-
eval: false;
|
|
407
|
-
EvalError: false;
|
|
408
|
-
Float32Array: false;
|
|
409
|
-
Float64Array: false;
|
|
410
|
-
Function: false;
|
|
411
|
-
Infinity: false;
|
|
412
|
-
Int16Array: false;
|
|
413
|
-
Int32Array: false;
|
|
414
|
-
Int8Array: false;
|
|
415
|
-
Intl: false;
|
|
416
|
-
isFinite: false;
|
|
417
|
-
isNaN: false;
|
|
418
|
-
JSON: false;
|
|
419
|
-
Map: false;
|
|
420
|
-
Math: false;
|
|
421
|
-
NaN: false;
|
|
422
|
-
Number: false;
|
|
423
|
-
Object: false;
|
|
424
|
-
parseFloat: false;
|
|
425
|
-
parseInt: false;
|
|
426
|
-
Promise: false;
|
|
427
|
-
Proxy: false;
|
|
428
|
-
RangeError: false;
|
|
429
|
-
ReferenceError: false;
|
|
430
|
-
Reflect: false;
|
|
431
|
-
RegExp: false;
|
|
432
|
-
Set: false;
|
|
433
|
-
String: false;
|
|
434
|
-
Symbol: false;
|
|
435
|
-
SyntaxError: false;
|
|
436
|
-
TypeError: false;
|
|
437
|
-
Uint16Array: false;
|
|
438
|
-
Uint32Array: false;
|
|
439
|
-
Uint8Array: false;
|
|
440
|
-
Uint8ClampedArray: false;
|
|
441
|
-
undefined: false;
|
|
442
|
-
unescape: false;
|
|
443
|
-
URIError: false;
|
|
444
|
-
WeakMap: false;
|
|
445
|
-
WeakSet: false;
|
|
446
|
-
};
|
|
447
|
-
parserOptions: {
|
|
448
|
-
ecmaVersion: 6;
|
|
449
|
-
sourceType: "module";
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
plugins: {
|
|
453
|
-
import: any;
|
|
454
|
-
};
|
|
455
|
-
settings: {
|
|
456
|
-
'import/resolver': {
|
|
457
|
-
node: {
|
|
458
|
-
extensions: string[];
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
'import/extensions': string[];
|
|
462
|
-
'import/core-modules': never[];
|
|
463
|
-
'import/ignore': string[];
|
|
464
|
-
};
|
|
465
|
-
rules: {
|
|
466
|
-
'import/no-unresolved': ["error", {
|
|
467
|
-
commonjs: boolean;
|
|
468
|
-
caseSensitive: boolean;
|
|
469
|
-
}];
|
|
470
|
-
'import/named': "error";
|
|
471
|
-
'import/default': "off";
|
|
472
|
-
'import/namespace': "off";
|
|
473
|
-
'import/export': "error";
|
|
474
|
-
'import/no-named-as-default': "error";
|
|
475
|
-
'import/no-named-as-default-member': "error";
|
|
476
|
-
'import/no-deprecated': "off";
|
|
477
|
-
'import/no-extraneous-dependencies': ["error", {
|
|
478
|
-
devDependencies: string[];
|
|
479
|
-
optionalDependencies: boolean;
|
|
480
|
-
}];
|
|
481
|
-
'import/no-mutable-exports': "error";
|
|
482
|
-
'import/no-commonjs': "off";
|
|
483
|
-
'import/no-amd': "error";
|
|
484
|
-
'import/no-nodejs-modules': "off";
|
|
485
|
-
'import/first': "error";
|
|
486
|
-
'import/imports-first': "off";
|
|
487
|
-
'import/no-duplicates': "error";
|
|
488
|
-
'import/no-namespace': "off";
|
|
489
|
-
'import/extensions': ["error", string, {
|
|
490
|
-
js: string;
|
|
491
|
-
mjs: string;
|
|
492
|
-
jsx: string;
|
|
493
|
-
}];
|
|
494
|
-
'import/order': ["error", {
|
|
495
|
-
groups: string[][];
|
|
496
|
-
}];
|
|
497
|
-
'import/newline-after-import': "error";
|
|
498
|
-
'import/prefer-default-export': "error";
|
|
499
|
-
'import/no-restricted-paths': "off";
|
|
500
|
-
'import/max-dependencies': ["off", {
|
|
501
|
-
max: number;
|
|
502
|
-
}];
|
|
503
|
-
'import/no-absolute-path': "error";
|
|
504
|
-
'import/no-dynamic-require': "error";
|
|
505
|
-
'import/no-internal-modules': ["off", {
|
|
506
|
-
allow: never[];
|
|
507
|
-
}];
|
|
508
|
-
'import/unambiguous': "off";
|
|
509
|
-
'import/no-webpack-loader-syntax': "error";
|
|
510
|
-
'import/no-unassigned-import': "off";
|
|
511
|
-
'import/no-named-default': "error";
|
|
512
|
-
'import/no-anonymous-default-export': ["off", {
|
|
513
|
-
allowArray: boolean;
|
|
514
|
-
allowArrowFunction: boolean;
|
|
515
|
-
allowAnonymousClass: boolean;
|
|
516
|
-
allowAnonymousFunction: boolean;
|
|
517
|
-
allowLiteral: boolean;
|
|
518
|
-
allowObject: boolean;
|
|
519
|
-
}];
|
|
520
|
-
'import/exports-last': "off";
|
|
521
|
-
'import/group-exports': "off";
|
|
522
|
-
'import/no-default-export': "off";
|
|
523
|
-
'import/no-named-export': "off";
|
|
524
|
-
'import/no-self-import': "error";
|
|
525
|
-
'import/no-cycle': ["error", {
|
|
526
|
-
maxDepth: string;
|
|
527
|
-
}];
|
|
528
|
-
'import/no-useless-path-segments': ["error", {
|
|
529
|
-
commonjs: boolean;
|
|
530
|
-
}];
|
|
531
|
-
'import/dynamic-import-chunkname': ["off", {
|
|
532
|
-
importFunctions: never[];
|
|
533
|
-
webpackChunknameFormat: string;
|
|
534
|
-
}];
|
|
535
|
-
'import/no-relative-parent-imports': "off";
|
|
536
|
-
'import/no-unused-modules': ["off", {
|
|
537
|
-
ignoreExports: never[];
|
|
538
|
-
missingExports: boolean;
|
|
539
|
-
unusedExports: boolean;
|
|
540
|
-
}];
|
|
541
|
-
'import/no-import-module-exports': ["error", {
|
|
542
|
-
exceptions: never[];
|
|
543
|
-
}];
|
|
544
|
-
'import/no-relative-packages': "error";
|
|
545
|
-
'import/consistent-type-specifier-style': ["off", string];
|
|
546
|
-
'import/no-empty-named-blocks': "off";
|
|
547
|
-
};
|
|
548
|
-
}[];
|
|
390
|
+
};
|
|
391
|
+
'flat/imports': any;
|
|
549
392
|
'flat/node': {
|
|
550
393
|
name: string;
|
|
551
394
|
languageOptions: {
|
|
@@ -634,13 +477,13 @@ declare const _default: {
|
|
|
634
477
|
'no-restricted-modules': "off";
|
|
635
478
|
'no-sync': "off";
|
|
636
479
|
};
|
|
637
|
-
}
|
|
480
|
+
};
|
|
638
481
|
'flat/strict': {
|
|
639
482
|
name: string;
|
|
640
483
|
rules: {
|
|
641
484
|
strict: ["error", string];
|
|
642
485
|
};
|
|
643
|
-
}
|
|
486
|
+
};
|
|
644
487
|
'flat/style': {
|
|
645
488
|
name: string;
|
|
646
489
|
rules: {
|
|
@@ -959,7 +802,7 @@ declare const _default: {
|
|
|
959
802
|
'unicode-bom': ["error", string];
|
|
960
803
|
'wrap-regex': "off";
|
|
961
804
|
};
|
|
962
|
-
}
|
|
805
|
+
};
|
|
963
806
|
'flat/variables': {
|
|
964
807
|
name: string;
|
|
965
808
|
rules: {
|
|
@@ -993,1003 +836,7 @@ declare const _default: {
|
|
|
993
836
|
variables: boolean;
|
|
994
837
|
}];
|
|
995
838
|
};
|
|
996
|
-
}
|
|
997
|
-
'flat/recommended':
|
|
998
|
-
name: string;
|
|
999
|
-
rules: {
|
|
1000
|
-
'accessor-pairs': "off";
|
|
1001
|
-
'array-callback-return': ["error", {
|
|
1002
|
-
allowImplicit: boolean;
|
|
1003
|
-
}];
|
|
1004
|
-
'block-scoped-var': "error";
|
|
1005
|
-
complexity: ["off", number];
|
|
1006
|
-
'class-methods-use-this': ["error", {
|
|
1007
|
-
exceptMethods: never[];
|
|
1008
|
-
}];
|
|
1009
|
-
'consistent-return': "error";
|
|
1010
|
-
curly: ["error", string];
|
|
1011
|
-
'default-case': ["error", {
|
|
1012
|
-
commentPattern: string;
|
|
1013
|
-
}];
|
|
1014
|
-
'default-case-last': "error";
|
|
1015
|
-
'default-param-last': "error";
|
|
1016
|
-
'dot-notation': ["error", {
|
|
1017
|
-
allowKeywords: boolean;
|
|
1018
|
-
}];
|
|
1019
|
-
'dot-location': ["error", string];
|
|
1020
|
-
eqeqeq: ["error", string, {
|
|
1021
|
-
null: string;
|
|
1022
|
-
}];
|
|
1023
|
-
'grouped-accessor-pairs': "error";
|
|
1024
|
-
'guard-for-in': "error";
|
|
1025
|
-
'max-classes-per-file': ["error", number];
|
|
1026
|
-
'no-alert': "warn";
|
|
1027
|
-
'no-caller': "error";
|
|
1028
|
-
'no-case-declarations': "error";
|
|
1029
|
-
'no-constructor-return': "error";
|
|
1030
|
-
'no-div-regex': "off";
|
|
1031
|
-
'no-else-return': ["error", {
|
|
1032
|
-
allowElseIf: boolean;
|
|
1033
|
-
}];
|
|
1034
|
-
'no-empty-function': ["error", {
|
|
1035
|
-
allow: string[];
|
|
1036
|
-
}];
|
|
1037
|
-
'no-empty-pattern': "error";
|
|
1038
|
-
'no-empty-static-block': "off";
|
|
1039
|
-
'no-eq-null': "off";
|
|
1040
|
-
'no-eval': "error";
|
|
1041
|
-
'no-extend-native': "error";
|
|
1042
|
-
'no-extra-bind': "error";
|
|
1043
|
-
'no-extra-label': "error";
|
|
1044
|
-
'no-fallthrough': "error";
|
|
1045
|
-
'no-floating-decimal': "error";
|
|
1046
|
-
'no-global-assign': ["error", {
|
|
1047
|
-
exceptions: never[];
|
|
1048
|
-
}];
|
|
1049
|
-
'no-native-reassign': "off";
|
|
1050
|
-
'no-implicit-coercion': ["off", {
|
|
1051
|
-
boolean: boolean;
|
|
1052
|
-
number: boolean;
|
|
1053
|
-
string: boolean;
|
|
1054
|
-
allow: never[];
|
|
1055
|
-
}];
|
|
1056
|
-
'no-implicit-globals': "off";
|
|
1057
|
-
'no-implied-eval': "error";
|
|
1058
|
-
'no-invalid-this': "off";
|
|
1059
|
-
'no-iterator': "error";
|
|
1060
|
-
'no-labels': ["error", {
|
|
1061
|
-
allowLoop: boolean;
|
|
1062
|
-
allowSwitch: boolean;
|
|
1063
|
-
}];
|
|
1064
|
-
'no-lone-blocks': "error";
|
|
1065
|
-
'no-loop-func': "error";
|
|
1066
|
-
'no-magic-numbers': ["off", {
|
|
1067
|
-
ignore: never[];
|
|
1068
|
-
ignoreArrayIndexes: boolean;
|
|
1069
|
-
enforceConst: boolean;
|
|
1070
|
-
detectObjects: boolean;
|
|
1071
|
-
}];
|
|
1072
|
-
'no-multi-spaces': ["error", {
|
|
1073
|
-
ignoreEOLComments: boolean;
|
|
1074
|
-
}];
|
|
1075
|
-
'no-multi-str': "error";
|
|
1076
|
-
'no-new': "error";
|
|
1077
|
-
'no-new-func': "error";
|
|
1078
|
-
'no-new-wrappers': "error";
|
|
1079
|
-
'no-nonoctal-decimal-escape': "error";
|
|
1080
|
-
'no-object-constructor': "off";
|
|
1081
|
-
'no-octal': "error";
|
|
1082
|
-
'no-octal-escape': "error";
|
|
1083
|
-
'no-param-reassign': ["error", {
|
|
1084
|
-
props: boolean;
|
|
1085
|
-
ignorePropertyModificationsFor: string[];
|
|
1086
|
-
}];
|
|
1087
|
-
'no-proto': "error";
|
|
1088
|
-
'no-redeclare': "error";
|
|
1089
|
-
'no-restricted-properties': ["error", {
|
|
1090
|
-
object: string;
|
|
1091
|
-
property: string;
|
|
1092
|
-
message: string;
|
|
1093
|
-
}, {
|
|
1094
|
-
object: string;
|
|
1095
|
-
property: string;
|
|
1096
|
-
message: string;
|
|
1097
|
-
}, {
|
|
1098
|
-
object: string;
|
|
1099
|
-
property: string;
|
|
1100
|
-
message: string;
|
|
1101
|
-
}, {
|
|
1102
|
-
object: string;
|
|
1103
|
-
property: string;
|
|
1104
|
-
message: string;
|
|
1105
|
-
}, {
|
|
1106
|
-
object: string;
|
|
1107
|
-
property: string;
|
|
1108
|
-
message: string;
|
|
1109
|
-
}, {
|
|
1110
|
-
object: string;
|
|
1111
|
-
property: string;
|
|
1112
|
-
message: string;
|
|
1113
|
-
}, {
|
|
1114
|
-
object: string;
|
|
1115
|
-
property: string;
|
|
1116
|
-
message: string;
|
|
1117
|
-
}, {
|
|
1118
|
-
property: string;
|
|
1119
|
-
message: string;
|
|
1120
|
-
}, {
|
|
1121
|
-
property: string;
|
|
1122
|
-
message: string;
|
|
1123
|
-
}, {
|
|
1124
|
-
object: string;
|
|
1125
|
-
property: string;
|
|
1126
|
-
message: string;
|
|
1127
|
-
}];
|
|
1128
|
-
'no-return-assign': ["error", string];
|
|
1129
|
-
'no-return-await': "error";
|
|
1130
|
-
'no-script-url': "error";
|
|
1131
|
-
'no-self-assign': ["error", {
|
|
1132
|
-
props: boolean;
|
|
1133
|
-
}];
|
|
1134
|
-
'no-self-compare': "error";
|
|
1135
|
-
'no-sequences': "error";
|
|
1136
|
-
'no-throw-literal': "error";
|
|
1137
|
-
'no-unmodified-loop-condition': "off";
|
|
1138
|
-
'no-unused-expressions': ["error", {
|
|
1139
|
-
allowShortCircuit: boolean;
|
|
1140
|
-
allowTernary: boolean;
|
|
1141
|
-
allowTaggedTemplates: boolean;
|
|
1142
|
-
}];
|
|
1143
|
-
'no-unused-labels': "error";
|
|
1144
|
-
'no-useless-call': "off";
|
|
1145
|
-
'no-useless-catch': "error";
|
|
1146
|
-
'no-useless-concat': "error";
|
|
1147
|
-
'no-useless-escape': "error";
|
|
1148
|
-
'no-useless-return': "error";
|
|
1149
|
-
'no-void': "error";
|
|
1150
|
-
'no-warning-comments': ["off", {
|
|
1151
|
-
terms: string[];
|
|
1152
|
-
location: string;
|
|
1153
|
-
}];
|
|
1154
|
-
'no-with': "error";
|
|
1155
|
-
'prefer-promise-reject-errors': ["error", {
|
|
1156
|
-
allowEmptyReject: boolean;
|
|
1157
|
-
}];
|
|
1158
|
-
'prefer-named-capture-group': "off";
|
|
1159
|
-
'prefer-object-has-own': "off";
|
|
1160
|
-
'prefer-regex-literals': ["error", {
|
|
1161
|
-
disallowRedundantWrapping: boolean;
|
|
1162
|
-
}];
|
|
1163
|
-
radix: "error";
|
|
1164
|
-
'require-await': "off";
|
|
1165
|
-
'require-unicode-regexp': "off";
|
|
1166
|
-
'vars-on-top': "error";
|
|
1167
|
-
'wrap-iife': ["error", string, {
|
|
1168
|
-
functionPrototypeMethods: boolean;
|
|
1169
|
-
}];
|
|
1170
|
-
yoda: "error";
|
|
1171
|
-
};
|
|
1172
|
-
} | {
|
|
1173
|
-
name: string;
|
|
1174
|
-
rules: {
|
|
1175
|
-
'for-direction': "error";
|
|
1176
|
-
'getter-return': ["error", {
|
|
1177
|
-
allowImplicit: boolean;
|
|
1178
|
-
}];
|
|
1179
|
-
'no-async-promise-executor': "error";
|
|
1180
|
-
'no-await-in-loop': "error";
|
|
1181
|
-
'no-compare-neg-zero': "error";
|
|
1182
|
-
'no-cond-assign': ["error", string];
|
|
1183
|
-
'no-console': "warn";
|
|
1184
|
-
'no-constant-binary-expression': "off";
|
|
1185
|
-
'no-constant-condition': "warn";
|
|
1186
|
-
'no-control-regex': "error";
|
|
1187
|
-
'no-debugger': "error";
|
|
1188
|
-
'no-dupe-args': "error";
|
|
1189
|
-
'no-dupe-else-if': "error";
|
|
1190
|
-
'no-dupe-keys': "error";
|
|
1191
|
-
'no-duplicate-case': "error";
|
|
1192
|
-
'no-empty': "error";
|
|
1193
|
-
'no-empty-character-class': "error";
|
|
1194
|
-
'no-ex-assign': "error";
|
|
1195
|
-
'no-extra-boolean-cast': "error";
|
|
1196
|
-
'no-extra-parens': ["off", string, {
|
|
1197
|
-
conditionalAssign: boolean;
|
|
1198
|
-
nestedBinaryExpressions: boolean;
|
|
1199
|
-
returnAssign: boolean;
|
|
1200
|
-
ignoreJSX: string;
|
|
1201
|
-
enforceForArrowConditionals: boolean;
|
|
1202
|
-
}];
|
|
1203
|
-
'no-extra-semi': "error";
|
|
1204
|
-
'no-func-assign': "error";
|
|
1205
|
-
'no-import-assign': "error";
|
|
1206
|
-
'no-inner-declarations': "error";
|
|
1207
|
-
'no-invalid-regexp': "error";
|
|
1208
|
-
'no-irregular-whitespace': "error";
|
|
1209
|
-
'no-loss-of-precision': "error";
|
|
1210
|
-
'no-misleading-character-class': "error";
|
|
1211
|
-
'no-obj-calls': "error";
|
|
1212
|
-
'no-new-native-nonconstructor': "off";
|
|
1213
|
-
'no-promise-executor-return': "error";
|
|
1214
|
-
'no-prototype-builtins': "error";
|
|
1215
|
-
'no-regex-spaces': "error";
|
|
1216
|
-
'no-setter-return': "error";
|
|
1217
|
-
'no-sparse-arrays': "error";
|
|
1218
|
-
'no-template-curly-in-string': "error";
|
|
1219
|
-
'no-unexpected-multiline': "error";
|
|
1220
|
-
'no-unreachable': "error";
|
|
1221
|
-
'no-unreachable-loop': ["error", {
|
|
1222
|
-
ignore: never[];
|
|
1223
|
-
}];
|
|
1224
|
-
'no-unsafe-finally': "error";
|
|
1225
|
-
'no-unsafe-negation': "error";
|
|
1226
|
-
'no-unsafe-optional-chaining': ["error", {
|
|
1227
|
-
disallowArithmeticOperators: boolean;
|
|
1228
|
-
}];
|
|
1229
|
-
'no-unused-private-class-members': "off";
|
|
1230
|
-
'no-useless-backreference': "error";
|
|
1231
|
-
'no-negated-in-lhs': "off";
|
|
1232
|
-
'require-atomic-updates': "off";
|
|
1233
|
-
'use-isnan': "error";
|
|
1234
|
-
'valid-jsdoc': "off";
|
|
1235
|
-
'valid-typeof': ["error", {
|
|
1236
|
-
requireStringLiterals: boolean;
|
|
1237
|
-
}];
|
|
1238
|
-
};
|
|
1239
|
-
} | {
|
|
1240
|
-
name: string;
|
|
1241
|
-
languageOptions: {
|
|
1242
|
-
globals: {
|
|
1243
|
-
Array: false;
|
|
1244
|
-
ArrayBuffer: false;
|
|
1245
|
-
Boolean: false;
|
|
1246
|
-
DataView: false;
|
|
1247
|
-
Date: false;
|
|
1248
|
-
decodeURI: false;
|
|
1249
|
-
decodeURIComponent: false;
|
|
1250
|
-
encodeURI: false;
|
|
1251
|
-
encodeURIComponent: false;
|
|
1252
|
-
Error: false;
|
|
1253
|
-
escape: false;
|
|
1254
|
-
eval: false;
|
|
1255
|
-
EvalError: false;
|
|
1256
|
-
Float32Array: false;
|
|
1257
|
-
Float64Array: false;
|
|
1258
|
-
Function: false;
|
|
1259
|
-
Infinity: false;
|
|
1260
|
-
Int16Array: false;
|
|
1261
|
-
Int32Array: false;
|
|
1262
|
-
Int8Array: false;
|
|
1263
|
-
Intl: false;
|
|
1264
|
-
isFinite: false;
|
|
1265
|
-
isNaN: false;
|
|
1266
|
-
JSON: false;
|
|
1267
|
-
Map: false;
|
|
1268
|
-
Math: false;
|
|
1269
|
-
NaN: false;
|
|
1270
|
-
Number: false;
|
|
1271
|
-
Object: false;
|
|
1272
|
-
parseFloat: false;
|
|
1273
|
-
parseInt: false;
|
|
1274
|
-
Promise: false;
|
|
1275
|
-
Proxy: false;
|
|
1276
|
-
RangeError: false;
|
|
1277
|
-
ReferenceError: false;
|
|
1278
|
-
Reflect: false;
|
|
1279
|
-
RegExp: false;
|
|
1280
|
-
Set: false;
|
|
1281
|
-
String: false;
|
|
1282
|
-
Symbol: false;
|
|
1283
|
-
SyntaxError: false;
|
|
1284
|
-
TypeError: false;
|
|
1285
|
-
Uint16Array: false;
|
|
1286
|
-
Uint32Array: false;
|
|
1287
|
-
Uint8Array: false;
|
|
1288
|
-
Uint8ClampedArray: false;
|
|
1289
|
-
undefined: false;
|
|
1290
|
-
unescape: false;
|
|
1291
|
-
URIError: false;
|
|
1292
|
-
WeakMap: false;
|
|
1293
|
-
WeakSet: false;
|
|
1294
|
-
};
|
|
1295
|
-
parserOptions: {
|
|
1296
|
-
ecmaVersion: 6;
|
|
1297
|
-
sourceType: "module";
|
|
1298
|
-
ecmaFeatures: {
|
|
1299
|
-
generators: boolean;
|
|
1300
|
-
objectLiteralDuplicateProperties: boolean;
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
1303
|
-
};
|
|
1304
|
-
rules: {
|
|
1305
|
-
'arrow-body-style': ["error", string, {
|
|
1306
|
-
requireReturnForObjectLiteral: boolean;
|
|
1307
|
-
}];
|
|
1308
|
-
'arrow-parens': ["error", string];
|
|
1309
|
-
'arrow-spacing': ["error", {
|
|
1310
|
-
before: boolean;
|
|
1311
|
-
after: boolean;
|
|
1312
|
-
}];
|
|
1313
|
-
'constructor-super': "error";
|
|
1314
|
-
'generator-star-spacing': ["error", {
|
|
1315
|
-
before: boolean;
|
|
1316
|
-
after: boolean;
|
|
1317
|
-
}];
|
|
1318
|
-
'no-class-assign': "error";
|
|
1319
|
-
'no-confusing-arrow': ["error", {
|
|
1320
|
-
allowParens: boolean;
|
|
1321
|
-
}];
|
|
1322
|
-
'no-const-assign': "error";
|
|
1323
|
-
'no-dupe-class-members': "error";
|
|
1324
|
-
'no-duplicate-imports': "off";
|
|
1325
|
-
'no-new-symbol': "error";
|
|
1326
|
-
'no-restricted-exports': ["error", {
|
|
1327
|
-
restrictedNamedExports: string[];
|
|
1328
|
-
}];
|
|
1329
|
-
'no-restricted-imports': ["off", {
|
|
1330
|
-
paths: never[];
|
|
1331
|
-
patterns: never[];
|
|
1332
|
-
}];
|
|
1333
|
-
'no-this-before-super': "error";
|
|
1334
|
-
'no-useless-computed-key': "error";
|
|
1335
|
-
'no-useless-constructor': "error";
|
|
1336
|
-
'no-useless-rename': ["error", {
|
|
1337
|
-
ignoreDestructuring: boolean;
|
|
1338
|
-
ignoreImport: boolean;
|
|
1339
|
-
ignoreExport: boolean;
|
|
1340
|
-
}];
|
|
1341
|
-
'no-var': "error";
|
|
1342
|
-
'object-shorthand': ["error", string, {
|
|
1343
|
-
ignoreConstructors: boolean;
|
|
1344
|
-
avoidQuotes: boolean;
|
|
1345
|
-
}];
|
|
1346
|
-
'prefer-arrow-callback': ["error", {
|
|
1347
|
-
allowNamedFunctions: boolean;
|
|
1348
|
-
allowUnboundThis: boolean;
|
|
1349
|
-
}];
|
|
1350
|
-
'prefer-const': ["error", {
|
|
1351
|
-
destructuring: string;
|
|
1352
|
-
ignoreReadBeforeAssign: boolean;
|
|
1353
|
-
}];
|
|
1354
|
-
'prefer-destructuring': ["error", {
|
|
1355
|
-
VariableDeclarator: {
|
|
1356
|
-
array: boolean;
|
|
1357
|
-
object: boolean;
|
|
1358
|
-
};
|
|
1359
|
-
AssignmentExpression: {
|
|
1360
|
-
array: boolean;
|
|
1361
|
-
object: boolean;
|
|
1362
|
-
};
|
|
1363
|
-
}, {
|
|
1364
|
-
enforceForRenamedProperties: boolean;
|
|
1365
|
-
}];
|
|
1366
|
-
'prefer-numeric-literals': "error";
|
|
1367
|
-
'prefer-reflect': "off";
|
|
1368
|
-
'prefer-rest-params': "error";
|
|
1369
|
-
'prefer-spread': "error";
|
|
1370
|
-
'prefer-template': "error";
|
|
1371
|
-
'require-yield': "error";
|
|
1372
|
-
'rest-spread-spacing': ["error", string];
|
|
1373
|
-
'sort-imports': ["off", {
|
|
1374
|
-
ignoreCase: boolean;
|
|
1375
|
-
ignoreDeclarationSort: boolean;
|
|
1376
|
-
ignoreMemberSort: boolean;
|
|
1377
|
-
memberSyntaxSortOrder: string[];
|
|
1378
|
-
}];
|
|
1379
|
-
'symbol-description': "error";
|
|
1380
|
-
'template-curly-spacing': "error";
|
|
1381
|
-
'yield-star-spacing': ["error", string];
|
|
1382
|
-
};
|
|
1383
|
-
} | {
|
|
1384
|
-
name: string;
|
|
1385
|
-
languageOptions: {
|
|
1386
|
-
globals: {
|
|
1387
|
-
Array: false;
|
|
1388
|
-
ArrayBuffer: false;
|
|
1389
|
-
Boolean: false;
|
|
1390
|
-
DataView: false;
|
|
1391
|
-
Date: false;
|
|
1392
|
-
decodeURI: false;
|
|
1393
|
-
decodeURIComponent: false;
|
|
1394
|
-
encodeURI: false;
|
|
1395
|
-
encodeURIComponent: false;
|
|
1396
|
-
Error: false;
|
|
1397
|
-
escape: false;
|
|
1398
|
-
eval: false;
|
|
1399
|
-
EvalError: false;
|
|
1400
|
-
Float32Array: false;
|
|
1401
|
-
Float64Array: false;
|
|
1402
|
-
Function: false;
|
|
1403
|
-
Infinity: false;
|
|
1404
|
-
Int16Array: false;
|
|
1405
|
-
Int32Array: false;
|
|
1406
|
-
Int8Array: false;
|
|
1407
|
-
Intl: false;
|
|
1408
|
-
isFinite: false;
|
|
1409
|
-
isNaN: false;
|
|
1410
|
-
JSON: false;
|
|
1411
|
-
Map: false;
|
|
1412
|
-
Math: false;
|
|
1413
|
-
NaN: false;
|
|
1414
|
-
Number: false;
|
|
1415
|
-
Object: false;
|
|
1416
|
-
parseFloat: false;
|
|
1417
|
-
parseInt: false;
|
|
1418
|
-
Promise: false;
|
|
1419
|
-
Proxy: false;
|
|
1420
|
-
RangeError: false;
|
|
1421
|
-
ReferenceError: false;
|
|
1422
|
-
Reflect: false;
|
|
1423
|
-
RegExp: false;
|
|
1424
|
-
Set: false;
|
|
1425
|
-
String: false;
|
|
1426
|
-
Symbol: false;
|
|
1427
|
-
SyntaxError: false;
|
|
1428
|
-
TypeError: false;
|
|
1429
|
-
Uint16Array: false;
|
|
1430
|
-
Uint32Array: false;
|
|
1431
|
-
Uint8Array: false;
|
|
1432
|
-
Uint8ClampedArray: false;
|
|
1433
|
-
undefined: false;
|
|
1434
|
-
unescape: false;
|
|
1435
|
-
URIError: false;
|
|
1436
|
-
WeakMap: false;
|
|
1437
|
-
WeakSet: false;
|
|
1438
|
-
};
|
|
1439
|
-
parserOptions: {
|
|
1440
|
-
ecmaVersion: 6;
|
|
1441
|
-
sourceType: "module";
|
|
1442
|
-
};
|
|
1443
|
-
};
|
|
1444
|
-
plugins: {
|
|
1445
|
-
import: any;
|
|
1446
|
-
};
|
|
1447
|
-
settings: {
|
|
1448
|
-
'import/resolver': {
|
|
1449
|
-
node: {
|
|
1450
|
-
extensions: string[];
|
|
1451
|
-
};
|
|
1452
|
-
};
|
|
1453
|
-
'import/extensions': string[];
|
|
1454
|
-
'import/core-modules': never[];
|
|
1455
|
-
'import/ignore': string[];
|
|
1456
|
-
};
|
|
1457
|
-
rules: {
|
|
1458
|
-
'import/no-unresolved': ["error", {
|
|
1459
|
-
commonjs: boolean;
|
|
1460
|
-
caseSensitive: boolean;
|
|
1461
|
-
}];
|
|
1462
|
-
'import/named': "error";
|
|
1463
|
-
'import/default': "off";
|
|
1464
|
-
'import/namespace': "off";
|
|
1465
|
-
'import/export': "error";
|
|
1466
|
-
'import/no-named-as-default': "error";
|
|
1467
|
-
'import/no-named-as-default-member': "error";
|
|
1468
|
-
'import/no-deprecated': "off";
|
|
1469
|
-
'import/no-extraneous-dependencies': ["error", {
|
|
1470
|
-
devDependencies: string[];
|
|
1471
|
-
optionalDependencies: boolean;
|
|
1472
|
-
}];
|
|
1473
|
-
'import/no-mutable-exports': "error";
|
|
1474
|
-
'import/no-commonjs': "off";
|
|
1475
|
-
'import/no-amd': "error";
|
|
1476
|
-
'import/no-nodejs-modules': "off";
|
|
1477
|
-
'import/first': "error";
|
|
1478
|
-
'import/imports-first': "off";
|
|
1479
|
-
'import/no-duplicates': "error";
|
|
1480
|
-
'import/no-namespace': "off";
|
|
1481
|
-
'import/extensions': ["error", string, {
|
|
1482
|
-
js: string;
|
|
1483
|
-
mjs: string;
|
|
1484
|
-
jsx: string;
|
|
1485
|
-
}];
|
|
1486
|
-
'import/order': ["error", {
|
|
1487
|
-
groups: string[][];
|
|
1488
|
-
}];
|
|
1489
|
-
'import/newline-after-import': "error";
|
|
1490
|
-
'import/prefer-default-export': "error";
|
|
1491
|
-
'import/no-restricted-paths': "off";
|
|
1492
|
-
'import/max-dependencies': ["off", {
|
|
1493
|
-
max: number;
|
|
1494
|
-
}];
|
|
1495
|
-
'import/no-absolute-path': "error";
|
|
1496
|
-
'import/no-dynamic-require': "error";
|
|
1497
|
-
'import/no-internal-modules': ["off", {
|
|
1498
|
-
allow: never[];
|
|
1499
|
-
}];
|
|
1500
|
-
'import/unambiguous': "off";
|
|
1501
|
-
'import/no-webpack-loader-syntax': "error";
|
|
1502
|
-
'import/no-unassigned-import': "off";
|
|
1503
|
-
'import/no-named-default': "error";
|
|
1504
|
-
'import/no-anonymous-default-export': ["off", {
|
|
1505
|
-
allowArray: boolean;
|
|
1506
|
-
allowArrowFunction: boolean;
|
|
1507
|
-
allowAnonymousClass: boolean;
|
|
1508
|
-
allowAnonymousFunction: boolean;
|
|
1509
|
-
allowLiteral: boolean;
|
|
1510
|
-
allowObject: boolean;
|
|
1511
|
-
}];
|
|
1512
|
-
'import/exports-last': "off";
|
|
1513
|
-
'import/group-exports': "off";
|
|
1514
|
-
'import/no-default-export': "off";
|
|
1515
|
-
'import/no-named-export': "off";
|
|
1516
|
-
'import/no-self-import': "error";
|
|
1517
|
-
'import/no-cycle': ["error", {
|
|
1518
|
-
maxDepth: string;
|
|
1519
|
-
}];
|
|
1520
|
-
'import/no-useless-path-segments': ["error", {
|
|
1521
|
-
commonjs: boolean;
|
|
1522
|
-
}];
|
|
1523
|
-
'import/dynamic-import-chunkname': ["off", {
|
|
1524
|
-
importFunctions: never[];
|
|
1525
|
-
webpackChunknameFormat: string;
|
|
1526
|
-
}];
|
|
1527
|
-
'import/no-relative-parent-imports': "off";
|
|
1528
|
-
'import/no-unused-modules': ["off", {
|
|
1529
|
-
ignoreExports: never[];
|
|
1530
|
-
missingExports: boolean;
|
|
1531
|
-
unusedExports: boolean;
|
|
1532
|
-
}];
|
|
1533
|
-
'import/no-import-module-exports': ["error", {
|
|
1534
|
-
exceptions: never[];
|
|
1535
|
-
}];
|
|
1536
|
-
'import/no-relative-packages': "error";
|
|
1537
|
-
'import/consistent-type-specifier-style': ["off", string];
|
|
1538
|
-
'import/no-empty-named-blocks': "off";
|
|
1539
|
-
};
|
|
1540
|
-
} | {
|
|
1541
|
-
name: string;
|
|
1542
|
-
languageOptions: {
|
|
1543
|
-
globals: {
|
|
1544
|
-
AbortController: false;
|
|
1545
|
-
AbortSignal: false;
|
|
1546
|
-
atob: false;
|
|
1547
|
-
Blob: false;
|
|
1548
|
-
BroadcastChannel: false;
|
|
1549
|
-
btoa: false;
|
|
1550
|
-
Buffer: false;
|
|
1551
|
-
ByteLengthQueuingStrategy: false;
|
|
1552
|
-
clearImmediate: false;
|
|
1553
|
-
clearInterval: false;
|
|
1554
|
-
clearTimeout: false;
|
|
1555
|
-
CloseEvent: false;
|
|
1556
|
-
CompressionStream: false;
|
|
1557
|
-
console: false;
|
|
1558
|
-
CountQueuingStrategy: false;
|
|
1559
|
-
crypto: false;
|
|
1560
|
-
Crypto: false;
|
|
1561
|
-
CryptoKey: false;
|
|
1562
|
-
CustomEvent: false;
|
|
1563
|
-
DecompressionStream: false;
|
|
1564
|
-
DOMException: false;
|
|
1565
|
-
Event: false;
|
|
1566
|
-
EventTarget: false;
|
|
1567
|
-
fetch: false;
|
|
1568
|
-
File: false;
|
|
1569
|
-
FormData: false;
|
|
1570
|
-
global: false;
|
|
1571
|
-
Headers: false;
|
|
1572
|
-
MessageChannel: false;
|
|
1573
|
-
MessageEvent: false;
|
|
1574
|
-
MessagePort: false;
|
|
1575
|
-
navigator: false;
|
|
1576
|
-
Navigator: false;
|
|
1577
|
-
performance: false;
|
|
1578
|
-
Performance: false;
|
|
1579
|
-
PerformanceEntry: false;
|
|
1580
|
-
PerformanceMark: false;
|
|
1581
|
-
PerformanceMeasure: false;
|
|
1582
|
-
PerformanceObserver: false;
|
|
1583
|
-
PerformanceObserverEntryList: false;
|
|
1584
|
-
PerformanceResourceTiming: false;
|
|
1585
|
-
process: false;
|
|
1586
|
-
queueMicrotask: false;
|
|
1587
|
-
ReadableByteStreamController: false;
|
|
1588
|
-
ReadableStream: false;
|
|
1589
|
-
ReadableStreamBYOBReader: false;
|
|
1590
|
-
ReadableStreamBYOBRequest: false;
|
|
1591
|
-
ReadableStreamDefaultController: false;
|
|
1592
|
-
ReadableStreamDefaultReader: false;
|
|
1593
|
-
Request: false;
|
|
1594
|
-
Response: false;
|
|
1595
|
-
setImmediate: false;
|
|
1596
|
-
setInterval: false;
|
|
1597
|
-
setTimeout: false;
|
|
1598
|
-
structuredClone: false;
|
|
1599
|
-
SubtleCrypto: false;
|
|
1600
|
-
TextDecoder: false;
|
|
1601
|
-
TextDecoderStream: false;
|
|
1602
|
-
TextEncoder: false;
|
|
1603
|
-
TextEncoderStream: false;
|
|
1604
|
-
TransformStream: false;
|
|
1605
|
-
TransformStreamDefaultController: false;
|
|
1606
|
-
URL: false;
|
|
1607
|
-
URLSearchParams: false;
|
|
1608
|
-
WebAssembly: false;
|
|
1609
|
-
WebSocket: false;
|
|
1610
|
-
WritableStream: false;
|
|
1611
|
-
WritableStreamDefaultController: false;
|
|
1612
|
-
WritableStreamDefaultWriter: false;
|
|
1613
|
-
};
|
|
1614
|
-
};
|
|
1615
|
-
rules: {
|
|
1616
|
-
'callback-return': "off";
|
|
1617
|
-
'global-require': "error";
|
|
1618
|
-
'handle-callback-err': "off";
|
|
1619
|
-
'no-buffer-constructor': "error";
|
|
1620
|
-
'no-mixed-requires': ["off", boolean];
|
|
1621
|
-
'no-new-require': "error";
|
|
1622
|
-
'no-path-concat': "error";
|
|
1623
|
-
'no-process-env': "off";
|
|
1624
|
-
'no-process-exit': "off";
|
|
1625
|
-
'no-restricted-modules': "off";
|
|
1626
|
-
'no-sync': "off";
|
|
1627
|
-
};
|
|
1628
|
-
} | {
|
|
1629
|
-
name: string;
|
|
1630
|
-
rules: {
|
|
1631
|
-
strict: ["error", string];
|
|
1632
|
-
};
|
|
1633
|
-
} | {
|
|
1634
|
-
name: string;
|
|
1635
|
-
rules: {
|
|
1636
|
-
'array-bracket-newline': ["off", string];
|
|
1637
|
-
'array-element-newline': ["off", {
|
|
1638
|
-
multiline: boolean;
|
|
1639
|
-
minItems: number;
|
|
1640
|
-
}];
|
|
1641
|
-
'array-bracket-spacing': ["error", string];
|
|
1642
|
-
'block-spacing': ["error", string];
|
|
1643
|
-
'brace-style': ["error", string, {
|
|
1644
|
-
allowSingleLine: boolean;
|
|
1645
|
-
}];
|
|
1646
|
-
camelcase: ["error", {
|
|
1647
|
-
properties: string;
|
|
1648
|
-
ignoreDestructuring: boolean;
|
|
1649
|
-
}];
|
|
1650
|
-
'capitalized-comments': ["off", string, {
|
|
1651
|
-
line: {
|
|
1652
|
-
ignorePattern: string;
|
|
1653
|
-
ignoreInlineComments: boolean;
|
|
1654
|
-
ignoreConsecutiveComments: boolean;
|
|
1655
|
-
};
|
|
1656
|
-
block: {
|
|
1657
|
-
ignorePattern: string;
|
|
1658
|
-
ignoreInlineComments: boolean;
|
|
1659
|
-
ignoreConsecutiveComments: boolean;
|
|
1660
|
-
};
|
|
1661
|
-
}];
|
|
1662
|
-
'comma-dangle': ["error", {
|
|
1663
|
-
arrays: string;
|
|
1664
|
-
objects: string;
|
|
1665
|
-
imports: string;
|
|
1666
|
-
exports: string;
|
|
1667
|
-
functions: string;
|
|
1668
|
-
}];
|
|
1669
|
-
'comma-spacing': ["error", {
|
|
1670
|
-
before: boolean;
|
|
1671
|
-
after: boolean;
|
|
1672
|
-
}];
|
|
1673
|
-
'comma-style': ["error", string, {
|
|
1674
|
-
exceptions: {
|
|
1675
|
-
ArrayExpression: boolean;
|
|
1676
|
-
ArrayPattern: boolean;
|
|
1677
|
-
ArrowFunctionExpression: boolean;
|
|
1678
|
-
CallExpression: boolean;
|
|
1679
|
-
FunctionDeclaration: boolean;
|
|
1680
|
-
FunctionExpression: boolean;
|
|
1681
|
-
ImportDeclaration: boolean;
|
|
1682
|
-
ObjectExpression: boolean;
|
|
1683
|
-
ObjectPattern: boolean;
|
|
1684
|
-
VariableDeclaration: boolean;
|
|
1685
|
-
NewExpression: boolean;
|
|
1686
|
-
};
|
|
1687
|
-
}];
|
|
1688
|
-
'computed-property-spacing': ["error", string];
|
|
1689
|
-
'consistent-this': "off";
|
|
1690
|
-
'eol-last': ["error", string];
|
|
1691
|
-
'function-call-argument-newline': ["error", string];
|
|
1692
|
-
'func-call-spacing': ["error", string];
|
|
1693
|
-
'func-name-matching': ["off", string, {
|
|
1694
|
-
includeCommonJSModuleExports: boolean;
|
|
1695
|
-
considerPropertyDescriptor: boolean;
|
|
1696
|
-
}];
|
|
1697
|
-
'func-names': "warn";
|
|
1698
|
-
'func-style': ["off", string];
|
|
1699
|
-
'function-paren-newline': ["error", string];
|
|
1700
|
-
'id-denylist': "off";
|
|
1701
|
-
'id-length': "off";
|
|
1702
|
-
'id-match': "off";
|
|
1703
|
-
'implicit-arrow-linebreak': ["error", string];
|
|
1704
|
-
indent: ["error", number, {
|
|
1705
|
-
SwitchCase: number;
|
|
1706
|
-
VariableDeclarator: number;
|
|
1707
|
-
outerIIFEBody: number;
|
|
1708
|
-
FunctionDeclaration: {
|
|
1709
|
-
parameters: number;
|
|
1710
|
-
body: number;
|
|
1711
|
-
};
|
|
1712
|
-
FunctionExpression: {
|
|
1713
|
-
parameters: number;
|
|
1714
|
-
body: number;
|
|
1715
|
-
};
|
|
1716
|
-
CallExpression: {
|
|
1717
|
-
arguments: number;
|
|
1718
|
-
};
|
|
1719
|
-
ArrayExpression: number;
|
|
1720
|
-
ObjectExpression: number;
|
|
1721
|
-
ImportDeclaration: number;
|
|
1722
|
-
flatTernaryExpressions: boolean;
|
|
1723
|
-
ignoredNodes: string[];
|
|
1724
|
-
ignoreComments: boolean;
|
|
1725
|
-
}];
|
|
1726
|
-
'jsx-quotes': ["off", string];
|
|
1727
|
-
'key-spacing': ["error", {
|
|
1728
|
-
beforeColon: boolean;
|
|
1729
|
-
afterColon: boolean;
|
|
1730
|
-
}];
|
|
1731
|
-
'keyword-spacing': ["error", {
|
|
1732
|
-
before: boolean;
|
|
1733
|
-
after: boolean;
|
|
1734
|
-
overrides: {
|
|
1735
|
-
return: {
|
|
1736
|
-
after: boolean;
|
|
1737
|
-
};
|
|
1738
|
-
throw: {
|
|
1739
|
-
after: boolean;
|
|
1740
|
-
};
|
|
1741
|
-
case: {
|
|
1742
|
-
after: boolean;
|
|
1743
|
-
};
|
|
1744
|
-
};
|
|
1745
|
-
}];
|
|
1746
|
-
'line-comment-position': ["off", {
|
|
1747
|
-
position: string;
|
|
1748
|
-
ignorePattern: string;
|
|
1749
|
-
applyDefaultPatterns: boolean;
|
|
1750
|
-
}];
|
|
1751
|
-
'linebreak-style': ["error", string];
|
|
1752
|
-
'lines-between-class-members': ["error", string, {
|
|
1753
|
-
exceptAfterSingleLine: boolean;
|
|
1754
|
-
}];
|
|
1755
|
-
'lines-around-comment': "off";
|
|
1756
|
-
'lines-around-directive': ["error", {
|
|
1757
|
-
before: string;
|
|
1758
|
-
after: string;
|
|
1759
|
-
}];
|
|
1760
|
-
'logical-assignment-operators': ["off", string, {
|
|
1761
|
-
enforceForIfStatements: boolean;
|
|
1762
|
-
}];
|
|
1763
|
-
'max-depth': ["off", number];
|
|
1764
|
-
'max-len': ["error", number, number, {
|
|
1765
|
-
ignoreUrls: boolean;
|
|
1766
|
-
ignoreComments: boolean;
|
|
1767
|
-
ignoreRegExpLiterals: boolean;
|
|
1768
|
-
ignoreStrings: boolean;
|
|
1769
|
-
ignoreTemplateLiterals: boolean;
|
|
1770
|
-
}];
|
|
1771
|
-
'max-lines': ["off", {
|
|
1772
|
-
max: number;
|
|
1773
|
-
skipBlankLines: boolean;
|
|
1774
|
-
skipComments: boolean;
|
|
1775
|
-
}];
|
|
1776
|
-
'max-lines-per-function': ["off", {
|
|
1777
|
-
max: number;
|
|
1778
|
-
skipBlankLines: boolean;
|
|
1779
|
-
skipComments: boolean;
|
|
1780
|
-
IIFEs: boolean;
|
|
1781
|
-
}];
|
|
1782
|
-
'max-nested-callbacks': "off";
|
|
1783
|
-
'max-params': ["off", number];
|
|
1784
|
-
'max-statements': ["off", number];
|
|
1785
|
-
'max-statements-per-line': ["off", {
|
|
1786
|
-
max: number;
|
|
1787
|
-
}];
|
|
1788
|
-
'multiline-comment-style': ["off", string];
|
|
1789
|
-
'multiline-ternary': ["off", string];
|
|
1790
|
-
'new-cap': ["error", {
|
|
1791
|
-
newIsCap: boolean;
|
|
1792
|
-
newIsCapExceptions: never[];
|
|
1793
|
-
capIsNew: boolean;
|
|
1794
|
-
capIsNewExceptions: string[];
|
|
1795
|
-
}];
|
|
1796
|
-
'new-parens': "error";
|
|
1797
|
-
'newline-after-var': "off";
|
|
1798
|
-
'newline-before-return': "off";
|
|
1799
|
-
'newline-per-chained-call': ["error", {
|
|
1800
|
-
ignoreChainWithDepth: number;
|
|
1801
|
-
}];
|
|
1802
|
-
'no-array-constructor': "error";
|
|
1803
|
-
'no-bitwise': "error";
|
|
1804
|
-
'no-continue': "error";
|
|
1805
|
-
'no-inline-comments': "off";
|
|
1806
|
-
'no-lonely-if': "error";
|
|
1807
|
-
'no-mixed-operators': ["error", {
|
|
1808
|
-
groups: string[][];
|
|
1809
|
-
allowSamePrecedence: boolean;
|
|
1810
|
-
}];
|
|
1811
|
-
'no-mixed-spaces-and-tabs': "error";
|
|
1812
|
-
'no-multi-assign': ["error"];
|
|
1813
|
-
'no-multiple-empty-lines': ["error", {
|
|
1814
|
-
max: number;
|
|
1815
|
-
maxBOF: number;
|
|
1816
|
-
maxEOF: number;
|
|
1817
|
-
}];
|
|
1818
|
-
'no-negated-condition': "off";
|
|
1819
|
-
'no-nested-ternary': "error";
|
|
1820
|
-
'no-new-object': "error";
|
|
1821
|
-
'no-plusplus': "error";
|
|
1822
|
-
'no-restricted-syntax': ["error", {
|
|
1823
|
-
selector: string;
|
|
1824
|
-
message: string;
|
|
1825
|
-
}, {
|
|
1826
|
-
selector: string;
|
|
1827
|
-
message: string;
|
|
1828
|
-
}, {
|
|
1829
|
-
selector: string;
|
|
1830
|
-
message: string;
|
|
1831
|
-
}, {
|
|
1832
|
-
selector: string;
|
|
1833
|
-
message: string;
|
|
1834
|
-
}];
|
|
1835
|
-
'no-spaced-func': "off";
|
|
1836
|
-
'no-tabs': "error";
|
|
1837
|
-
'no-ternary': "off";
|
|
1838
|
-
'no-trailing-spaces': ["error", {
|
|
1839
|
-
skipBlankLines: boolean;
|
|
1840
|
-
ignoreComments: boolean;
|
|
1841
|
-
}];
|
|
1842
|
-
'no-underscore-dangle': ["error", {
|
|
1843
|
-
allow: never[];
|
|
1844
|
-
allowAfterThis: boolean;
|
|
1845
|
-
allowAfterSuper: boolean;
|
|
1846
|
-
enforceInMethodNames: boolean;
|
|
1847
|
-
}];
|
|
1848
|
-
'no-unneeded-ternary': ["error", {
|
|
1849
|
-
defaultAssignment: boolean;
|
|
1850
|
-
}];
|
|
1851
|
-
'no-whitespace-before-property': "error";
|
|
1852
|
-
'nonblock-statement-body-position': ["error", string, {
|
|
1853
|
-
overrides: {};
|
|
1854
|
-
}];
|
|
1855
|
-
'object-curly-spacing': ["error", string];
|
|
1856
|
-
'object-curly-newline': ["error", {
|
|
1857
|
-
ObjectExpression: {
|
|
1858
|
-
minProperties: number;
|
|
1859
|
-
multiline: boolean;
|
|
1860
|
-
consistent: boolean;
|
|
1861
|
-
};
|
|
1862
|
-
ObjectPattern: {
|
|
1863
|
-
minProperties: number;
|
|
1864
|
-
multiline: boolean;
|
|
1865
|
-
consistent: boolean;
|
|
1866
|
-
};
|
|
1867
|
-
ImportDeclaration: {
|
|
1868
|
-
minProperties: number;
|
|
1869
|
-
multiline: boolean;
|
|
1870
|
-
consistent: boolean;
|
|
1871
|
-
};
|
|
1872
|
-
ExportDeclaration: {
|
|
1873
|
-
minProperties: number;
|
|
1874
|
-
multiline: boolean;
|
|
1875
|
-
consistent: boolean;
|
|
1876
|
-
};
|
|
1877
|
-
}];
|
|
1878
|
-
'object-property-newline': ["error", {
|
|
1879
|
-
allowAllPropertiesOnSameLine: boolean;
|
|
1880
|
-
}];
|
|
1881
|
-
'one-var': ["error", string];
|
|
1882
|
-
'one-var-declaration-per-line': ["error", string];
|
|
1883
|
-
'operator-assignment': ["error", string];
|
|
1884
|
-
'operator-linebreak': ["error", string, {
|
|
1885
|
-
overrides: {
|
|
1886
|
-
'=': string;
|
|
1887
|
-
};
|
|
1888
|
-
}];
|
|
1889
|
-
'padded-blocks': ["error", {
|
|
1890
|
-
blocks: string;
|
|
1891
|
-
classes: string;
|
|
1892
|
-
switches: string;
|
|
1893
|
-
}, {
|
|
1894
|
-
allowSingleLineBlocks: boolean;
|
|
1895
|
-
}];
|
|
1896
|
-
'padding-line-between-statements': "off";
|
|
1897
|
-
'prefer-exponentiation-operator': "error";
|
|
1898
|
-
'prefer-object-spread': "error";
|
|
1899
|
-
'quote-props': ["error", string, {
|
|
1900
|
-
keywords: boolean;
|
|
1901
|
-
unnecessary: boolean;
|
|
1902
|
-
numbers: boolean;
|
|
1903
|
-
}];
|
|
1904
|
-
quotes: ["error", string, {
|
|
1905
|
-
avoidEscape: boolean;
|
|
1906
|
-
}];
|
|
1907
|
-
'require-jsdoc': "off";
|
|
1908
|
-
semi: ["error", string];
|
|
1909
|
-
'semi-spacing': ["error", {
|
|
1910
|
-
before: boolean;
|
|
1911
|
-
after: boolean;
|
|
1912
|
-
}];
|
|
1913
|
-
'semi-style': ["error", string];
|
|
1914
|
-
'sort-keys': ["off", string, {
|
|
1915
|
-
caseSensitive: boolean;
|
|
1916
|
-
natural: boolean;
|
|
1917
|
-
}];
|
|
1918
|
-
'sort-vars': "off";
|
|
1919
|
-
'space-before-blocks': "error";
|
|
1920
|
-
'space-before-function-paren': ["error", {
|
|
1921
|
-
anonymous: string;
|
|
1922
|
-
named: string;
|
|
1923
|
-
asyncArrow: string;
|
|
1924
|
-
}];
|
|
1925
|
-
'space-in-parens': ["error", string];
|
|
1926
|
-
'space-infix-ops': "error";
|
|
1927
|
-
'space-unary-ops': ["error", {
|
|
1928
|
-
words: boolean;
|
|
1929
|
-
nonwords: boolean;
|
|
1930
|
-
overrides: {};
|
|
1931
|
-
}];
|
|
1932
|
-
'spaced-comment': ["error", string, {
|
|
1933
|
-
line: {
|
|
1934
|
-
exceptions: string[];
|
|
1935
|
-
markers: string[];
|
|
1936
|
-
};
|
|
1937
|
-
block: {
|
|
1938
|
-
exceptions: string[];
|
|
1939
|
-
markers: string[];
|
|
1940
|
-
balanced: boolean;
|
|
1941
|
-
};
|
|
1942
|
-
}];
|
|
1943
|
-
'switch-colon-spacing': ["error", {
|
|
1944
|
-
after: boolean;
|
|
1945
|
-
before: boolean;
|
|
1946
|
-
}];
|
|
1947
|
-
'template-tag-spacing': ["error", string];
|
|
1948
|
-
'unicode-bom': ["error", string];
|
|
1949
|
-
'wrap-regex': "off";
|
|
1950
|
-
};
|
|
1951
|
-
} | {
|
|
1952
|
-
name: string;
|
|
1953
|
-
rules: {
|
|
1954
|
-
'init-declarations': "off";
|
|
1955
|
-
'no-catch-shadow': "off";
|
|
1956
|
-
'no-delete-var': "error";
|
|
1957
|
-
'no-label-var': "error";
|
|
1958
|
-
'no-restricted-globals': ["error", {
|
|
1959
|
-
name: string;
|
|
1960
|
-
message: string;
|
|
1961
|
-
}, {
|
|
1962
|
-
name: string;
|
|
1963
|
-
message: string;
|
|
1964
|
-
}, ...{
|
|
1965
|
-
name: "length" | "find" | "name" | "location" | "stop" | "screenX" | "screenY" | "closed" | "top" | "open" | "screen" | "blur" | "close" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "scrollBy" | "scrollTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "event" | "external" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "opener" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "screenLeft" | "screenTop" | "scrollX" | "scrollY" | "scrollbars" | "self" | "status" | "statusbar" | "toolbar" | "confirm" | "moveBy" | "moveTo" | "print" | "resizeBy" | "resizeTo" | "onunload" | "defaultStatus" | "defaultstatus" | "opera";
|
|
1966
|
-
message: string;
|
|
1967
|
-
}[]];
|
|
1968
|
-
'no-shadow': "error";
|
|
1969
|
-
'no-shadow-restricted-names': "error";
|
|
1970
|
-
'no-undef': "error";
|
|
1971
|
-
'no-undef-init': "error";
|
|
1972
|
-
'no-undefined': "off";
|
|
1973
|
-
'no-unused-vars': ["error", {
|
|
1974
|
-
vars: string;
|
|
1975
|
-
args: string;
|
|
1976
|
-
ignoreRestSiblings: boolean;
|
|
1977
|
-
}];
|
|
1978
|
-
'no-use-before-define': ["error", {
|
|
1979
|
-
functions: boolean;
|
|
1980
|
-
classes: boolean;
|
|
1981
|
-
variables: boolean;
|
|
1982
|
-
}];
|
|
1983
|
-
};
|
|
1984
|
-
} | {
|
|
1985
|
-
name: string;
|
|
1986
|
-
languageOptions: {
|
|
1987
|
-
parserOptions: {
|
|
1988
|
-
ecmaVersion: 2018;
|
|
1989
|
-
sourceType: "module";
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
rules: {};
|
|
1993
|
-
})[];
|
|
839
|
+
};
|
|
840
|
+
'flat/recommended': any[];
|
|
1994
841
|
};
|
|
1995
842
|
export default _default;
|