@eslinted/defaults 10.7.0 → 10.9.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.
@@ -731,6 +731,7 @@ export declare const rules: {
731
731
  readonly ts: ({
732
732
  readonly id: "disable";
733
733
  readonly rules: {
734
+ readonly "consistent-return": "off";
734
735
  readonly "constructor-super": "off";
735
736
  readonly "getter-return": "off";
736
737
  readonly "no-class-assign": "off";
@@ -743,38 +744,28 @@ export declare const rules: {
743
744
  readonly "no-invalid-this": "off";
744
745
  readonly "no-new-native-nonconstructor": "off";
745
746
  readonly "no-obj-calls": "off";
747
+ readonly "no-redeclare": "off";
746
748
  readonly "no-setter-return": "off";
747
749
  readonly "no-this-before-super": "off";
748
750
  readonly "no-undef": "off";
749
751
  readonly "no-unreachable": "off";
750
752
  readonly "no-unsafe-negation": "off";
751
- readonly "consistent-return": "off";
752
- readonly "no-redeclare": "off";
753
753
  };
754
754
  } | {
755
755
  readonly id: "disable/extension";
756
756
  readonly rules: {
757
- readonly "class-methods-use-this": "off";
758
- readonly "consistent-return": "off";
759
- readonly "default-param-last": "off";
760
757
  readonly "dot-notation": "off";
761
- readonly "init-declarations": "off";
762
758
  readonly "max-params": "off";
763
- readonly "no-array-constructor": "off";
764
- readonly "no-dupe-class-members": "off";
765
759
  readonly "no-empty-function": "off";
766
760
  readonly "no-implied-eval": "off";
767
- readonly "no-invalid-this": "off";
768
761
  readonly "no-loop-func": "off";
769
762
  readonly "no-magic-numbers": "off";
770
- readonly "no-redeclare": "off";
771
763
  readonly "no-restricted-imports": "off";
772
764
  readonly "no-shadow": "off";
773
765
  readonly "no-throw-literal": "off";
774
766
  readonly "no-unused-expressions": "off";
775
767
  readonly "no-unused-vars": "off";
776
768
  readonly "no-use-before-define": "off";
777
- readonly "no-useless-constructor": "off";
778
769
  readonly "prefer-destructuring": "off";
779
770
  readonly "prefer-promise-reject-errors": "off";
780
771
  readonly "require-await": "off";
@@ -1056,27 +1047,19 @@ export declare const rules: {
1056
1047
  } | {
1057
1048
  readonly id: "enable/extension";
1058
1049
  readonly rules: {
1059
- readonly "@typescript-eslint/class-methods-use-this": "off";
1060
- readonly "@typescript-eslint/consistent-return": "off";
1061
- readonly "@typescript-eslint/default-param-last": "error";
1062
1050
  readonly "@typescript-eslint/dot-notation": readonly ["error", {
1063
1051
  readonly allowKeywords: true;
1064
1052
  readonly allowPrivateClassPropertyAccess: true;
1065
1053
  readonly allowProtectedClassPropertyAccess: true;
1066
1054
  readonly allowIndexSignaturePropertyAccess: true;
1067
1055
  }];
1068
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
1069
1056
  readonly "@typescript-eslint/max-params": "off";
1070
- readonly "@typescript-eslint/no-array-constructor": "error";
1071
- readonly "@typescript-eslint/no-dupe-class-members": "off";
1072
1057
  readonly "@typescript-eslint/no-empty-function": readonly ["error", {
1073
1058
  readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
1074
1059
  }];
1075
1060
  readonly "@typescript-eslint/no-implied-eval": "error";
1076
- readonly "@typescript-eslint/no-invalid-this": "off";
1077
1061
  readonly "@typescript-eslint/no-loop-func": "error";
1078
1062
  readonly "@typescript-eslint/no-magic-numbers": "off";
1079
- readonly "@typescript-eslint/no-redeclare": "off";
1080
1063
  readonly "@typescript-eslint/no-restricted-imports": "off";
1081
1064
  readonly "@typescript-eslint/no-shadow": "off";
1082
1065
  readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
@@ -1102,7 +1085,6 @@ export declare const rules: {
1102
1085
  readonly typedefs: false;
1103
1086
  readonly ignoreTypeReferences: true;
1104
1087
  }];
1105
- readonly "@typescript-eslint/no-useless-constructor": "error";
1106
1088
  readonly "@typescript-eslint/only-throw-error": readonly ["error", {
1107
1089
  readonly allowThrowingAny: false;
1108
1090
  readonly allowThrowingUnknown: false;
@@ -1412,6 +1394,9 @@ export declare const rules: {
1412
1394
  readonly "@html-eslint/require-explicit-size": "off";
1413
1395
  readonly "@html-eslint/require-li-container": "error";
1414
1396
  readonly "@html-eslint/require-meta-charset": "error";
1397
+ readonly "@html-eslint/use-baseline": readonly ["error", {
1398
+ readonly available: "widely";
1399
+ }];
1415
1400
  readonly "@html-eslint/no-multiple-h1": "error";
1416
1401
  readonly "@html-eslint/require-lang": "error";
1417
1402
  readonly "@html-eslint/require-meta-description": "off";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAC"}
@@ -24,6 +24,9 @@ export declare const HtmlEnable: {
24
24
  readonly "@html-eslint/require-explicit-size": "off";
25
25
  readonly "@html-eslint/require-li-container": "error";
26
26
  readonly "@html-eslint/require-meta-charset": "error";
27
+ readonly "@html-eslint/use-baseline": readonly ["error", {
28
+ readonly available: "widely";
29
+ }];
27
30
  readonly "@html-eslint/no-multiple-h1": "error";
28
31
  readonly "@html-eslint/require-lang": "error";
29
32
  readonly "@html-eslint/require-meta-description": "off";
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/html/enable.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHb,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/html/enable.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHb,CAAC"}
@@ -33,7 +33,13 @@ export const HtmlEnable = {
33
33
  "@html-eslint/require-explicit-size": OFF /* preference, prefer using css */,
34
34
  "@html-eslint/require-li-container": ON,
35
35
  "@html-eslint/require-meta-charset": ON,
36
- // #endregion BEST PRACTICE
36
+ "@html-eslint/use-baseline": [
37
+ ON,
38
+ {
39
+ available: "widely",
40
+ },
41
+ ],
42
+ // #endregion
37
43
  // #region SEO
38
44
  // DOC: https://html-eslint.org/docs/rules#seo
39
45
  "@html-eslint/no-multiple-h1": ON,
@@ -41,7 +47,7 @@ export const HtmlEnable = {
41
47
  "@html-eslint/require-meta-description": OFF /* @CONFLICT: breaks Svelte which leaves meta descriptions to route leaves */,
42
48
  "@html-eslint/require-open-graph-protocol": OFF /* idk what this is, also it probably breaks Svelte */,
43
49
  "@html-eslint/require-title": OFF /* @CONFLICT: breaks Svelte which leaves title to route leaves */,
44
- // #endregion SEO
50
+ // #endregion
45
51
  // #region ACCESSIBILITY
46
52
  // DOC: https://html-eslint.org/docs/rules#accessibility
47
53
  "@html-eslint/no-abstract-roles": ON,
@@ -62,10 +68,9 @@ export const HtmlEnable = {
62
68
  ],
63
69
  "@html-eslint/require-input-label": ON,
64
70
  "@html-eslint/require-meta-viewport": ON,
65
- // #endregion ACCESSIBILITY
71
+ // #endregion
66
72
  // #region STYLE
67
73
  // DOC: https://html-eslint.org/docs/rules#style
68
- // #endregion STYLE
69
74
  "@html-eslint/attrs-newline": [
70
75
  ON,
71
76
  {
@@ -108,6 +113,7 @@ export const HtmlEnable = {
108
113
  "double",
109
114
  ],
110
115
  "@html-eslint/sort-attrs": OFF,
116
+ // #endregion
111
117
  },
112
118
  };
113
119
  //# sourceMappingURL=enable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/html/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QACP,wBAAwB;QACxB,wDAAwD;QACtD,iCAAiC,EAAE,EAAE;QACrC,8BAA8B,EAAE,EAAE;QAClC,oCAAoC,EAAE;YACpC,EAAE;YACF;gBACE,IAAI,EAAE,EAAE;aACT;SACF;QACD,+BAA+B,EAAE,GAAG,CAAC,sCAAsC;QAC3E,oCAAoC,EAAE,EAAE;QACxC,+BAA+B,EAAE,EAAE;QACnC,wCAAwC,EAAE,GAAG;QAC7C,kCAAkC,EAAE,GAAG;QACvC,mCAAmC,EAAE,GAAG;QACxC,8BAA8B,EAAE,EAAE;QAClC,2BAA2B,EAAE,GAAG,CAAC,wCAAwC;QACzE,4BAA4B,EAAE,GAAG;QACjC,kCAAkC,EAAE,EAAE;QACtC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,yBAAyB,EAAE,CAAC,EAAE,CAAC,CAAC,0CAA0C;aAC3E;SACF;QACD,8BAA8B,EAAE,EAAE;QAClC,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;QAC5E,mCAAmC,EAAE,EAAE;QACvC,mCAAmC,EAAE,EAAE;QAEvC,2BAA2B;QAE3B,cAAc;QACd,8CAA8C;QAC9C,6BAA6B,EAAE,EAAE;QACjC,2BAA2B,EAAE,EAAE;QAC/B,uCAAuC,EAAE,GAAG,CAAC,6EAA6E;QAC1H,0CAA0C,EAAE,GAAG,CAAC,sDAAsD;QACtG,4BAA4B,EAAE,GAAG,CAAC,iEAAiE;QAEnG,iBAAiB;QAEjB,wBAAwB;QACxB,wDAAwD;QACxD,gCAAgC,EAAE,EAAE;QACpC,iCAAiC,EAAE,EAAE;QACrC,kCAAkC,EAAE,EAAE;QACtC,uCAAuC,EAAE,EAAE;QAC3C,8BAA8B,EAAE,EAAE;QAClC,uCAAuC,EAAE,EAAE;QAC3C,mCAAmC,EAAE,EAAE;QACvC,qCAAqC,EAAE,EAAE;QACzC,kCAAkC,EAAE,EAAE;QACtC,kCAAkC,EAAE,EAAE;QACtC,8BAA8B,EAAE;YAC9B,EAAE;YACF;gBACE,UAAU,EAAE,EAAE;aACf;SACF;QACD,kCAAkC,EAAE,EAAE;QACtC,oCAAoC,EAAE,EAAE;QAExC,2BAA2B;QAE3B,gBAAgB;QAChB,gDAAgD;QAEhD,mBAAmB;QACnB,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,eAAe,EAAE,CAAC;gBAClB,UAAU,EAAE,SAAS;aACtB;SACF;QACD,8BAA8B,EAAE;YAC9B,EAAE;YACF;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,MAAM,EAAE,CAAC,SAAS,CAAC;aACpB;SACF;QACD,mCAAmC,EAAE,GAAG;QACxC,qBAAqB,EAAE;YACrB,EAAE;YACF,CAAC;SACF,CAAC,4FAA4F;QAC9F,wBAAwB,EAAE,EAAE;QAC5B,gCAAgC,EAAE,GAAG,CAAC,qCAAqC;QAC3E,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,sBAAsB,EAAE,KAAK;gBAC7B,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,sCAAsC,EAAE;YACtC,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,EAAE;QACrC,qBAAqB,EAAE;YACrB,EAAE;YACF,QAAQ;SACT;QACD,yBAAyB,EAAE,GAAG;KACtB;CACF,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/html/enable.ts"],"names":[],"mappings":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iC,EAAE,EAAE;QACrC,kCAAkC,EAAE,EAAE;QACtC,uCAAuC,EAAE,EAAE;QAC3C,8BAA8B,EAAE,EAAE;QAClC,uCAAuC,EAAE,EAAE;QAC3C,mCAAmC,EAAE,EAAE;QACvC,qCAAqC,EAAE,EAAE;QACzC,kCAAkC,EAAE,EAAE;QACtC,kCAAkC,EAAE,EAAE;QACtC,8BAA8B,EAAE;YAC9B,EAAE;YACF;gBACE,UAAU,EAAE,EAAE;aACf;SACF;QACD,kCAAkC,EAAE,EAAE;QACtC,oCAAoC,EAAE,EAAE;QACxC,aAAa;QAEb,gBAAgB;QAChB,gDAAgD;QAChD,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,eAAe,EAAE,CAAC;gBAClB,UAAU,EAAE,SAAS;aACtB;SACF;QACD,8BAA8B,EAAE;YAC9B,EAAE;YACF;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,MAAM,EAAE,CAAC,SAAS,CAAC;aACpB;SACF;QACD,mCAAmC,EAAE,GAAG;QACxC,qBAAqB,EAAE;YACrB,EAAE;YACF,CAAC;SACF,CAAC,4FAA4F;QAC9F,wBAAwB,EAAE,EAAE;QAC5B,gCAAgC,EAAE,GAAG,CAAC,qCAAqC;QAC3E,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,sBAAsB,EAAE,KAAK;gBAC7B,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,sCAAsC,EAAE;YACtC,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,EAAE;QACrC,qBAAqB,EAAE;YACrB,EAAE;YACF,QAAQ;SACT;QACD,yBAAyB,EAAE,GAAG;QAC9B,aAAa;KACL;CACF,CAAC"}
@@ -24,6 +24,9 @@ declare const _default: {
24
24
  readonly "@html-eslint/require-explicit-size": "off";
25
25
  readonly "@html-eslint/require-li-container": "error";
26
26
  readonly "@html-eslint/require-meta-charset": "error";
27
+ readonly "@html-eslint/use-baseline": readonly ["error", {
28
+ readonly available: "widely";
29
+ }];
27
30
  readonly "@html-eslint/no-multiple-h1": "error";
28
31
  readonly "@html-eslint/require-lang": "error";
29
32
  readonly "@html-eslint/require-meta-description": "off";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/html/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/html/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAA4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/js/enable.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAoRO,2OAA2O;;;;;;;;;;;;;;;;;;;;;;;yCAsCnP,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0NrD,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/js/enable.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAmRO,2OAA2O;;;;;;;;;;;;;;;;;;;;;;;yCAsCnP,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuNrD,CAAC"}
@@ -40,7 +40,7 @@ export const Enable = {
40
40
  "no-control-regex": ON,
41
41
  "no-debugger": ON,
42
42
  "no-dupe-args": ON /* tsc */,
43
- "no-dupe-class-members": ON /* tsc -- TSLint:off: tsc */,
43
+ "no-dupe-class-members": ON /* TS-capable BUT tsc */,
44
44
  "no-dupe-else-if": ON,
45
45
  "no-dupe-keys": ON /* tsc */,
46
46
  "no-duplicate-case": ON,
@@ -85,7 +85,7 @@ export const Enable = {
85
85
  skipJSXText: true,
86
86
  },
87
87
  ],
88
- "no-loss-of-precision": ON /* TSLint */,
88
+ "no-loss-of-precision": ON /* TS-capable, originally had TSLint rule but was deprecated */,
89
89
  "no-misleading-character-class": ON,
90
90
  "no-new-native-nonconstructor": ON,
91
91
  "no-obj-calls": ON /* tsc */,
@@ -172,7 +172,7 @@ export const Enable = {
172
172
  requireStringLiterals: true,
173
173
  },
174
174
  ],
175
- // #endregion PROBLEMS
175
+ // #endregion
176
176
  // #region SUGGESTIONS
177
177
  // [ https://eslint.org/docs/latest/rules/#suggestions ]
178
178
  "accessor-pairs": [
@@ -193,14 +193,14 @@ export const Enable = {
193
193
  "block-scoped-var": ON,
194
194
  camelcase: OFF /* preference */,
195
195
  "capitalized-comments": OFF /* preference */,
196
- "class-methods-use-this": OFF /* preference -- TSLint */,
196
+ "class-methods-use-this": OFF /* TS-capable; (preference) */,
197
197
  complexity: OFF /* preference */,
198
198
  "consistent-return": [
199
199
  ON,
200
200
  {
201
201
  treatUndefinedAsUnspecified: false,
202
202
  },
203
- ] /* tsc -- TSLint:off: tsconfig: noImplicitReturns */,
203
+ ] /* tsc -- TSLint:OFF: tsconfig: noImplicitReturns */,
204
204
  "consistent-this": ON,
205
205
  curly: [
206
206
  ON,
@@ -208,7 +208,7 @@ export const Enable = {
208
208
  ],
209
209
  "default-case": OFF /* preference: don't care */,
210
210
  "default-case-last": ON,
211
- "default-param-last": ON /* TSLint */,
211
+ "default-param-last": ON /* TS-capable */,
212
212
  "dot-notation": [
213
213
  ON,
214
214
  {
@@ -230,7 +230,7 @@ export const Enable = {
230
230
  "init-declarations": [
231
231
  ON,
232
232
  always,
233
- ] /* TSLint */,
233
+ ] /* TS-capable */,
234
234
  "logical-assignment-operators": [
235
235
  ON,
236
236
  always,
@@ -243,12 +243,12 @@ export const Enable = {
243
243
  "max-lines": OFF /* preference */,
244
244
  "max-lines-per-function": OFF /* preference */,
245
245
  "max-nested-callbacks": OFF /* preference */,
246
- "max-params": OFF /* preference -- TSLint:off: preference */,
246
+ "max-params": OFF /* preference -- TSLint:OFF: preference */,
247
247
  "max-statements": OFF /* preference */,
248
248
  "multiline-comment-style": OFF /* preference */,
249
249
  "new-cap": OFF /* preference -- breaks Scriptable */,
250
250
  "no-alert": ON,
251
- "no-array-constructor": ON /* TSLint */,
251
+ "no-array-constructor": ON /* TS-capable */,
252
252
  "no-bitwise": [
253
253
  ON,
254
254
  {
@@ -319,7 +319,7 @@ export const Enable = {
319
319
  "no-invalid-this": [
320
320
  ON,
321
321
  { capIsConstructor: false },
322
- ] /* TSLint:off: tsconfig: { strict, noImplicitThis } */,
322
+ ] /* TSLint:OFF: tsconfig: { strict, noImplicitThis } */,
323
323
  "no-iterator": ON,
324
324
  "no-label-var": ON,
325
325
  "no-lone-blocks": ON,
@@ -360,11 +360,11 @@ export const Enable = {
360
360
  "no-redeclare": [
361
361
  ON,
362
362
  { builtinGlobals: true },
363
- ] /* tsc -- TSLint:off: tsc (let, const, -var) */,
363
+ ] /* tsc -- TSLint:OFF: tsc (let, const, -var) */,
364
364
  "no-regex-spaces": OFF /* preference */,
365
365
  "no-restricted-exports": OFF /* preference */,
366
366
  "no-restricted-globals": OFF /* preference */,
367
- "no-restricted-imports": OFF /* preference -- TSLint:off */,
367
+ "no-restricted-imports": OFF /* preference -- TSLint:OFF */,
368
368
  "no-restricted-properties": OFF /* preference */,
369
369
  "no-restricted-syntax": OFF /* preference */,
370
370
  "no-return-assign": OFF /* "always" | "except-parens" (disallow assignments unless enclosed in parens) */,
@@ -375,7 +375,7 @@ export const Enable = {
375
375
  allowInParentheses: true,
376
376
  },
377
377
  ],
378
- "no-shadow": OFF /* investigate -- TSLint:off: investigate */,
378
+ "no-shadow": OFF /* investigate -- TSLint:OFF: investigate */,
379
379
  "no-shadow-restricted-names": ON,
380
380
  "no-ternary": OFF /* preference */,
381
381
  "no-throw-literal": ON /* TSLint */,
@@ -407,7 +407,7 @@ export const Enable = {
407
407
  },
408
408
  ],
409
409
  "no-useless-concat": ON,
410
- "no-useless-constructor": ON /* TSLint */,
410
+ "no-useless-constructor": ON /* TS-capable */,
411
411
  "no-useless-escape": ON,
412
412
  "no-useless-rename": [
413
413
  ON,
@@ -518,11 +518,11 @@ export const Enable = {
518
518
  onlyEquality: false,
519
519
  },
520
520
  ],
521
- // #endregion SUGGESTIONS
522
- // #region LAYOUT & FORMATTING
521
+ // #endregion
522
+ // #region FORMATTING
523
523
  // [ https://eslint.org/docs/latest/rules/#layout--formatting ]
524
524
  "unicode-bom": OFF /* preference: don't care */,
525
- // #endregion LAYOUT & FORMATTING
525
+ // #endregion
526
526
  },
527
527
  };
528
528
  //# sourceMappingURL=enable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","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AC,YAAY;QAChC,wBAAwB,EAAE,EAAE;QAC5B,eAAe,EAAE,EAAE;QACnB,cAAc,EAAE,GAAG,CAAC,gBAAgB;QACpC,WAAW,EAAE,GAAG,CAAC,gBAAgB;QACjC,WAAW,EAAE,GAAG,CAAC,gBAAgB;QACjC,MAAM,EAAE,GAAG,CAAC,gBAAgB;QAC5B,oBAAoB,EAAE,GAAG,CAAC,gBAAgB;QAC1C,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE;YACJ,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,YAAY,EAAE,KAAK;aACpB;SACF;QAED,yBAAyB;QAEzB,8BAA8B;QAC9B,+DAA+D;QAC/D,aAAa,EAAE,GAAG,CAAC,4BAA4B;QAEjD,iCAAiC;KACvB;CACF,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/js/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,KAAK,EACL,MAAM,EACN,SAAS,EACT,WAAW,EACX,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QACL,mBAAmB;QACnB,+DAA+D;QAC/D,uBAAuB,EAAE;YACvB,EAAE;YACF;gBACE,aAAa,EAAE,KAAK;gBACpB,YAAY,EAAE,IAAI;gBAClB,SAAS,EAAE,IAAI;aAChB;SACF;QACD,mBAAmB,EAAE,EAAE,CAAC,SAAS;QACjC,eAAe,EAAE,EAAE;QACnB,eAAe,EAAE;YACf,EAAE;YACF;gBACE,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,SAAS;QACX,2BAA2B,EAAE,EAAE;QAC/B,kBAAkB,EAAE,EAAE;QACtB,iBAAiB,EAAE,EAAE;QACrB,qBAAqB,EAAE,EAAE;QAC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AAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;YACD,EAAE,2BAA2B,EAAE,IAAI,EAAE;SACtC,CAAC,YAAY;QACd,gCAAgC,EAAE,EAAE;QACpC,4BAA4B,EAAE,GAAG;QACjC,yBAAyB,EAAE,EAAE;QAC7B,uBAAuB,EAAE,EAAE;QAC3B,sBAAsB,EAAE,EAAE;QAC1B,8BAA8B,EAAE;YAC9B,EAAE;YACF;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACD,uBAAuB,EAAE;YACvB,EAAE;YACF;gBACE,yBAAyB,EAAE,IAAI;aAChC;SACF,CAAC,YAAY;QACd,oBAAoB,EAAE,EAAE;QACxB,eAAe,EAAE,EAAE;QACnB,iBAAiB,EAAE,EAAE;QACrB,KAAK,EAAE;YACL,EAAE;YACF,SAAS;SACV;QACD,eAAe,EAAE,EAAE,CAAC,YAAY;QAChC,wBAAwB,EAAE,EAAE;QAC5B,eAAe,EAAE,EAAE;QACnB,cAAc,EAAE,GAAG,CAAC,gBAAgB;QACpC,WAAW,EAAE,GAAG,CAAC,gBAAgB;QACjC,WAAW,EAAE,GAAG,CAAC,gBAAgB;QACjC,MAAM,EAAE,GAAG,CAAC,gBAAgB;QAC5B,oBAAoB,EAAE,GAAG,CAAC,gBAAgB;QAC1C,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE;YACJ,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,aAAa;QAEb,qBAAqB;QACrB,+DAA+D;QAC/D,aAAa,EAAE,GAAG,CAAC,4BAA4B;QAC/C,aAAa;KACL;CACF,CAAC"}
@@ -1,27 +1,18 @@
1
1
  export declare const TsDisableExtension: {
2
2
  readonly id: "disable/extension";
3
3
  readonly rules: {
4
- readonly "class-methods-use-this": "off";
5
- readonly "consistent-return": "off";
6
- readonly "default-param-last": "off";
7
4
  readonly "dot-notation": "off";
8
- readonly "init-declarations": "off";
9
5
  readonly "max-params": "off";
10
- readonly "no-array-constructor": "off";
11
- readonly "no-dupe-class-members": "off";
12
6
  readonly "no-empty-function": "off";
13
7
  readonly "no-implied-eval": "off";
14
- readonly "no-invalid-this": "off";
15
8
  readonly "no-loop-func": "off";
16
9
  readonly "no-magic-numbers": "off";
17
- readonly "no-redeclare": "off";
18
10
  readonly "no-restricted-imports": "off";
19
11
  readonly "no-shadow": "off";
20
12
  readonly "no-throw-literal": "off";
21
13
  readonly "no-unused-expressions": "off";
22
14
  readonly "no-unused-vars": "off";
23
15
  readonly "no-use-before-define": "off";
24
- readonly "no-useless-constructor": "off";
25
16
  readonly "prefer-destructuring": "off";
26
17
  readonly "prefer-promise-reject-errors": "off";
27
18
  readonly "require-await": "off";
@@ -1 +1 @@
1
- {"version":3,"file":"disable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable-ext.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BrB,CAAC"}
1
+ {"version":3,"file":"disable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable-ext.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;CA6BrB,CAAC"}
@@ -3,27 +3,27 @@ export const TsDisableExtension = {
3
3
  id: ID.DisableExtension,
4
4
  rules: {
5
5
  // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
6
- "class-methods-use-this": OFF,
7
- "consistent-return": OFF,
8
- "default-param-last": OFF,
6
+ // "class-methods-use-this": OFF /* ESLint now supports TS */,
7
+ // "consistent-return": OFF /* tsc */,
8
+ // "default-param-last": OFF /* ESLint now supports TS */,
9
9
  "dot-notation": OFF,
10
- "init-declarations": OFF,
10
+ // "init-declarations": OFF /* ESLint now supports TS */,
11
11
  "max-params": OFF,
12
- "no-array-constructor": OFF,
13
- "no-dupe-class-members": OFF,
12
+ // "no-array-constructor": OFF /* ESLint now supports TS */,
13
+ // "no-dupe-class-members": OFF /* tsc, although ESLint now supports TS */,
14
14
  "no-empty-function": OFF,
15
15
  "no-implied-eval": OFF,
16
- "no-invalid-this": OFF,
16
+ // "no-invalid-this": OFF /* tsc */,
17
17
  "no-loop-func": OFF,
18
18
  "no-magic-numbers": OFF,
19
- "no-redeclare": OFF,
19
+ // "no-redeclare": OFF /* tsc */,
20
20
  "no-restricted-imports": OFF,
21
21
  "no-shadow": OFF,
22
22
  "no-throw-literal": OFF /* @typescript-eslint/only-throw-error */,
23
23
  "no-unused-expressions": OFF,
24
24
  "no-unused-vars": OFF,
25
25
  "no-use-before-define": OFF,
26
- "no-useless-constructor": OFF,
26
+ // "no-useless-constructor": OFF /* ESLint now supports TS */,
27
27
  "prefer-destructuring": OFF,
28
28
  "prefer-promise-reject-errors": OFF,
29
29
  "require-await": OFF,
@@ -1 +1 @@
1
- {"version":3,"file":"disable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,EAAE,CAAC,gBAAgB;IACvB,KAAK,EAAE;QACP,wEAAwE;QACtE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY,EAAE,GAAG;QACjB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,GAAG;QAC5B,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG,CAAC,yCAAyC;QACjE,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"disable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,EAAE,CAAC,gBAAgB;IACvB,KAAK,EAAE;QACL,wEAAwE;QACxE,8DAA8D;QAC9D,sCAAsC;QACtC,0DAA0D;QAC1D,cAAc,EAAE,GAAG;QACnB,yDAAyD;QACzD,YAAY,EAAE,GAAG;QACjB,4DAA4D;QAC5D,2EAA2E;QAC3E,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,oCAAoC;QACpC,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,iCAAiC;QACjC,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG,CAAC,yCAAyC;QACjE,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,8DAA8D;QAC9D,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACZ;CACF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export declare const TsDisable: {
2
2
  readonly id: "disable";
3
3
  readonly rules: {
4
+ readonly "consistent-return": "off";
4
5
  readonly "constructor-super": "off";
5
6
  readonly "getter-return": "off";
6
7
  readonly "no-class-assign": "off";
@@ -13,13 +14,12 @@ export declare const TsDisable: {
13
14
  readonly "no-invalid-this": "off";
14
15
  readonly "no-new-native-nonconstructor": "off";
15
16
  readonly "no-obj-calls": "off";
17
+ readonly "no-redeclare": "off";
16
18
  readonly "no-setter-return": "off";
17
19
  readonly "no-this-before-super": "off";
18
20
  readonly "no-undef": "off";
19
21
  readonly "no-unreachable": "off";
20
22
  readonly "no-unsafe-negation": "off";
21
- readonly "consistent-return": "off";
22
- readonly "no-redeclare": "off";
23
23
  };
24
24
  };
25
25
  //# sourceMappingURL=disable.d.ts.map
@@ -3,25 +3,25 @@ export const TsDisable = {
3
3
  id: ID.Disable,
4
4
  rules: {
5
5
  // Handled by TypeScript compiler
6
+ "consistent-return": OFF /* TSLint BUT tsc */,
6
7
  "constructor-super": OFF,
7
8
  "getter-return": OFF,
8
9
  "no-class-assign": OFF,
9
10
  "no-const-assign": OFF,
10
11
  "no-dupe-args": OFF,
11
- "no-dupe-class-members": OFF,
12
+ "no-dupe-class-members": OFF /* TS-capable BUT tsc */,
12
13
  "no-dupe-keys": OFF,
13
14
  "no-func-assign": OFF,
14
15
  "no-import-assign": OFF,
15
- "no-invalid-this": OFF,
16
+ "no-invalid-this": OFF /* TSLint BUT tsc */,
16
17
  "no-new-native-nonconstructor": OFF,
17
18
  "no-obj-calls": OFF,
19
+ "no-redeclare": OFF /* TSLint BUT tsc */,
18
20
  "no-setter-return": OFF,
19
21
  "no-this-before-super": OFF,
20
22
  "no-undef": OFF,
21
23
  "no-unreachable": OFF,
22
24
  "no-unsafe-negation": OFF,
23
- "consistent-return": OFF,
24
- "no-redeclare": OFF,
25
25
  },
26
26
  };
27
27
  //# sourceMappingURL=disable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,OAAO;IACd,KAAK,EAAE;QACP,iCAAiC;QAC/B,mBAAmB,EAAE,GAAG;QACxB,eAAe,EAAE,GAAG;QACpB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,kBAAkB,EAAE,GAAG;QACvB,iBAAiB,EAAE,GAAG;QACtB,8BAA8B,EAAE,GAAG;QACnC,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;QACzB,mBAAmB,EAAE,GAAG;QACxB,cAAc,EAAE,GAAG;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,OAAO;IACd,KAAK,EAAE;QACL,iCAAiC;QACjC,mBAAmB,EAAE,GAAG,CAAC,oBAAoB;QAC7C,mBAAmB,EAAE,GAAG;QACxB,eAAe,EAAE,GAAG;QACpB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG,CAAC,wBAAwB;QACrD,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,kBAAkB,EAAE,GAAG;QACvB,iBAAiB,EAAE,GAAG,CAAC,oBAAoB;QAC3C,8BAA8B,EAAE,GAAG;QACnC,cAAc,EAAE,GAAG;QACnB,cAAc,EAAE,GAAG,CAAC,oBAAoB;QACxC,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;KACjB;CACF,CAAC"}
@@ -1,27 +1,19 @@
1
1
  export declare const TsEnableExtension: {
2
2
  readonly id: "enable/extension";
3
3
  readonly rules: {
4
- readonly "@typescript-eslint/class-methods-use-this": "off";
5
- readonly "@typescript-eslint/consistent-return": "off";
6
- readonly "@typescript-eslint/default-param-last": "error";
7
4
  readonly "@typescript-eslint/dot-notation": readonly ["error", {
8
5
  readonly allowKeywords: true;
9
6
  readonly allowPrivateClassPropertyAccess: true;
10
7
  readonly allowProtectedClassPropertyAccess: true;
11
8
  readonly allowIndexSignaturePropertyAccess: true;
12
9
  }];
13
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
14
10
  readonly "@typescript-eslint/max-params": "off";
15
- readonly "@typescript-eslint/no-array-constructor": "error";
16
- readonly "@typescript-eslint/no-dupe-class-members": "off";
17
11
  readonly "@typescript-eslint/no-empty-function": readonly ["error", {
18
12
  readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
19
13
  }];
20
14
  readonly "@typescript-eslint/no-implied-eval": "error";
21
- readonly "@typescript-eslint/no-invalid-this": "off";
22
15
  readonly "@typescript-eslint/no-loop-func": "error";
23
16
  readonly "@typescript-eslint/no-magic-numbers": "off";
24
- readonly "@typescript-eslint/no-redeclare": "off";
25
17
  readonly "@typescript-eslint/no-restricted-imports": "off";
26
18
  readonly "@typescript-eslint/no-shadow": "off";
27
19
  readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
@@ -47,7 +39,6 @@ export declare const TsEnableExtension: {
47
39
  readonly typedefs: false;
48
40
  readonly ignoreTypeReferences: true;
49
41
  }];
50
- readonly "@typescript-eslint/no-useless-constructor": "error";
51
42
  readonly "@typescript-eslint/only-throw-error": readonly ["error", {
52
43
  readonly allowThrowingAny: false;
53
44
  readonly allowThrowingUnknown: false;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable-ext.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GpB,CAAC"}
1
+ {"version":3,"file":"enable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable-ext.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GpB,CAAC"}
@@ -1,11 +1,11 @@
1
- import { ID, ON, OFF, always, all, } from "../../strings/index.js";
1
+ import { ID, ON, OFF, all, } from "../../strings/index.js";
2
2
  export const TsEnableExtension = {
3
3
  id: ID.EnableExtension,
4
4
  rules: {
5
5
  // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
6
- "@typescript-eslint/class-methods-use-this": OFF /* preference -- eslint:off */,
7
- "@typescript-eslint/consistent-return": OFF /* tsconfig: noImplicitReturns */,
8
- "@typescript-eslint/default-param-last": ON,
6
+ // "@typescript-eslint/class-methods-use-this": OFF /* ESLint now supports TS (preference -- eslint:OFF) */,
7
+ // "@typescript-eslint/consistent-return": OFF /* tsc: noImplicitReturns */,
8
+ // "@typescript-eslint/default-param-last": OFF /* ESLint now supports TS */,
9
9
  "@typescript-eslint/dot-notation": [
10
10
  ON,
11
11
  {
@@ -16,13 +16,10 @@ export const TsEnableExtension = {
16
16
  allowIndexSignaturePropertyAccess: true,
17
17
  },
18
18
  ],
19
- "@typescript-eslint/init-declarations": [
20
- ON,
21
- always,
22
- ],
19
+ // "@typescript-eslint/init-declarations": OFF /* ESLint now supports TS */,
23
20
  "@typescript-eslint/max-params": OFF /* preference */,
24
- "@typescript-eslint/no-array-constructor": ON,
25
- "@typescript-eslint/no-dupe-class-members": OFF /* tsc */,
21
+ // "@typescript-eslint/no-array-constructor": OFF /* ESLint now supports TS */,
22
+ // "@typescript-eslint/no-dupe-class-members": OFF /* tsc, although ESLint now supports TS */,
26
23
  "@typescript-eslint/no-empty-function": [
27
24
  ON,
28
25
  {
@@ -35,10 +32,10 @@ export const TsEnableExtension = {
35
32
  }, /* functions, arrowFunctions, generatorFunctions, methods, generatorMethods, getters, setters, constructors, asyncFunctions, asyncMethods; TS-ONLY: private-constructors, protected-constructors, decoratedFunctions, overrideMethods */
36
33
  ],
37
34
  "@typescript-eslint/no-implied-eval": ON,
38
- "@typescript-eslint/no-invalid-this": OFF /* tsconfig: { strict, noImplicitThis } */,
35
+ // "@typescript-eslint/no-invalid-this": OFF /* tsc: { strict, noImplicitThis } */,
39
36
  "@typescript-eslint/no-loop-func": ON,
40
- "@typescript-eslint/no-magic-numbers": OFF,
41
- "@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
37
+ "@typescript-eslint/no-magic-numbers": OFF /* preference */,
38
+ // "@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
42
39
  "@typescript-eslint/no-restricted-imports": OFF /* preference */,
43
40
  "@typescript-eslint/no-shadow": OFF /* investigate */,
44
41
  "@typescript-eslint/no-unused-expressions": [
@@ -73,7 +70,7 @@ export const TsEnableExtension = {
73
70
  ignoreTypeReferences: true,
74
71
  },
75
72
  ],
76
- "@typescript-eslint/no-useless-constructor": ON,
73
+ // "@typescript-eslint/no-useless-constructor": OFF /* ESLint now supports TS */,
77
74
  "@typescript-eslint/only-throw-error": [
78
75
  ON,
79
76
  {
@@ -1 +1 @@
1
- {"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,MAAM,EACN,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,i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BAAuB,EAAE,IAAI;aAC9B;SACF;QACD,yCAAyC,EAAE;YACzC,EAAE;YACF;gBACE,SAAS,EAAE,IAAI;gBACf,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,iBAAiB,EAAE,KAAK;gBACxB,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,KAAK,CAAC,yCAAyC;gBACzD,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,2CAA2C,EAAE,EAAE;QAC/C,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,gBAAgB,EAAE,KAAK;gBACvB,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,yCAAyC,EAAE;YACzC,EAAE;YACF;gBACE,kBAAkB,EAAE;oBAClB,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;iBACb;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;YACD;gBACE,2BAA2B,EAAE,KAAK;gBAClC,uCAAuC,EAAE,KAAK;aAC/C;SACF;QACD,iDAAiD,EAAE;YACjD,EAAE;YACF;gBACE,gBAAgB,EAAE,KAAK;gBACvB,gBAAgB,EAAE,KAAK;gBACvB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,kCAAkC,EAAE,EAAE;KAC9B;CACF,CAAC"}
1
+ {"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,EAAE,CAAC,eAAe;IACtB,KAAK,EAAE;QACL,wEAAwE;QACxE,4GAA4G;QAC5G,4EAA4E;QAC5E,6EAA6E;QAC7E,iCAAiC,EAAE;YACjC,EAAE;YACF;gBACE,aAAa,EAAE,IAAI;gBAEnB,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,KAAK;aAC5B;SACF;QACD,yCAAyC,EAAE;YACzC,EAAE;YACF;gBACE,kBAAkB,EAAE;oBAClB,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;iBACb;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;YACD;gBACE,2BAA2B,EAAE,KAAK;gBAClC,uCAAuC,EAAE,KAAK;aAC/C;SACF;QACD,iDAAiD,EAAE;YACjD,EAAE;YACF;gBACE,gBAAgB,EAAE,KAAK;gBACvB,gBAAgB,EAAE,KAAK;gBACvB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,kCAAkC,EAAE,EAAE;KAC9B;CACF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  declare const _default: ({
2
2
  readonly id: "disable";
3
3
  readonly rules: {
4
+ readonly "consistent-return": "off";
4
5
  readonly "constructor-super": "off";
5
6
  readonly "getter-return": "off";
6
7
  readonly "no-class-assign": "off";
@@ -13,38 +14,28 @@ declare const _default: ({
13
14
  readonly "no-invalid-this": "off";
14
15
  readonly "no-new-native-nonconstructor": "off";
15
16
  readonly "no-obj-calls": "off";
17
+ readonly "no-redeclare": "off";
16
18
  readonly "no-setter-return": "off";
17
19
  readonly "no-this-before-super": "off";
18
20
  readonly "no-undef": "off";
19
21
  readonly "no-unreachable": "off";
20
22
  readonly "no-unsafe-negation": "off";
21
- readonly "consistent-return": "off";
22
- readonly "no-redeclare": "off";
23
23
  };
24
24
  } | {
25
25
  readonly id: "disable/extension";
26
26
  readonly rules: {
27
- readonly "class-methods-use-this": "off";
28
- readonly "consistent-return": "off";
29
- readonly "default-param-last": "off";
30
27
  readonly "dot-notation": "off";
31
- readonly "init-declarations": "off";
32
28
  readonly "max-params": "off";
33
- readonly "no-array-constructor": "off";
34
- readonly "no-dupe-class-members": "off";
35
29
  readonly "no-empty-function": "off";
36
30
  readonly "no-implied-eval": "off";
37
- readonly "no-invalid-this": "off";
38
31
  readonly "no-loop-func": "off";
39
32
  readonly "no-magic-numbers": "off";
40
- readonly "no-redeclare": "off";
41
33
  readonly "no-restricted-imports": "off";
42
34
  readonly "no-shadow": "off";
43
35
  readonly "no-throw-literal": "off";
44
36
  readonly "no-unused-expressions": "off";
45
37
  readonly "no-unused-vars": "off";
46
38
  readonly "no-use-before-define": "off";
47
- readonly "no-useless-constructor": "off";
48
39
  readonly "prefer-destructuring": "off";
49
40
  readonly "prefer-promise-reject-errors": "off";
50
41
  readonly "require-await": "off";
@@ -326,27 +317,19 @@ declare const _default: ({
326
317
  } | {
327
318
  readonly id: "enable/extension";
328
319
  readonly rules: {
329
- readonly "@typescript-eslint/class-methods-use-this": "off";
330
- readonly "@typescript-eslint/consistent-return": "off";
331
- readonly "@typescript-eslint/default-param-last": "error";
332
320
  readonly "@typescript-eslint/dot-notation": readonly ["error", {
333
321
  readonly allowKeywords: true;
334
322
  readonly allowPrivateClassPropertyAccess: true;
335
323
  readonly allowProtectedClassPropertyAccess: true;
336
324
  readonly allowIndexSignaturePropertyAccess: true;
337
325
  }];
338
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
339
326
  readonly "@typescript-eslint/max-params": "off";
340
- readonly "@typescript-eslint/no-array-constructor": "error";
341
- readonly "@typescript-eslint/no-dupe-class-members": "off";
342
327
  readonly "@typescript-eslint/no-empty-function": readonly ["error", {
343
328
  readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
344
329
  }];
345
330
  readonly "@typescript-eslint/no-implied-eval": "error";
346
- readonly "@typescript-eslint/no-invalid-this": "off";
347
331
  readonly "@typescript-eslint/no-loop-func": "error";
348
332
  readonly "@typescript-eslint/no-magic-numbers": "off";
349
- readonly "@typescript-eslint/no-redeclare": "off";
350
333
  readonly "@typescript-eslint/no-restricted-imports": "off";
351
334
  readonly "@typescript-eslint/no-shadow": "off";
352
335
  readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
@@ -372,7 +355,6 @@ declare const _default: ({
372
355
  readonly typedefs: false;
373
356
  readonly ignoreTypeReferences: true;
374
357
  }];
375
- readonly "@typescript-eslint/no-useless-constructor": "error";
376
358
  readonly "@typescript-eslint/only-throw-error": readonly ["error", {
377
359
  readonly allowThrowingAny: false;
378
360
  readonly allowThrowingUnknown: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "10.7.0",
6
+ "version": "10.9.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -22,7 +22,7 @@
22
22
  "npm-run-all": "^4.1.5",
23
23
  "run-script-os": "^1.1.6",
24
24
  "ts-add-js-extension": "^1.6.5",
25
- "typescript": "^5.8.2"
25
+ "typescript": "^5.8.3"
26
26
  },
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
@@ -39,8 +39,13 @@ export const HtmlEnable = {
39
39
  "@html-eslint/require-explicit-size": OFF /* preference, prefer using css */,
40
40
  "@html-eslint/require-li-container": ON,
41
41
  "@html-eslint/require-meta-charset": ON,
42
-
43
- // #endregion BEST PRACTICE
42
+ "@html-eslint/use-baseline": [
43
+ ON,
44
+ {
45
+ available: "widely",
46
+ },
47
+ ],
48
+ // #endregion
44
49
 
45
50
  // #region SEO
46
51
  // DOC: https://html-eslint.org/docs/rules#seo
@@ -49,8 +54,7 @@ export const HtmlEnable = {
49
54
  "@html-eslint/require-meta-description": OFF /* @CONFLICT: breaks Svelte which leaves meta descriptions to route leaves */,
50
55
  "@html-eslint/require-open-graph-protocol": OFF /* idk what this is, also it probably breaks Svelte */,
51
56
  "@html-eslint/require-title": OFF /* @CONFLICT: breaks Svelte which leaves title to route leaves */,
52
-
53
- // #endregion SEO
57
+ // #endregion
54
58
 
55
59
  // #region ACCESSIBILITY
56
60
  // DOC: https://html-eslint.org/docs/rules#accessibility
@@ -72,13 +76,10 @@ export const HtmlEnable = {
72
76
  ],
73
77
  "@html-eslint/require-input-label": ON,
74
78
  "@html-eslint/require-meta-viewport": ON,
75
-
76
- // #endregion ACCESSIBILITY
79
+ // #endregion
77
80
 
78
81
  // #region STYLE
79
82
  // DOC: https://html-eslint.org/docs/rules#style
80
-
81
- // #endregion STYLE
82
83
  "@html-eslint/attrs-newline": [
83
84
  ON,
84
85
  {
@@ -121,5 +122,6 @@ export const HtmlEnable = {
121
122
  "double",
122
123
  ],
123
124
  "@html-eslint/sort-attrs": OFF,
125
+ // #endregion
124
126
  } as const,
125
127
  } as const;
@@ -15,8 +15,8 @@ import {
15
15
  export const Enable = {
16
16
  id: ID.Enable,
17
17
  rules: {
18
- // #region PROBLEMS
19
- // DOC: https://eslint.org/docs/latest/rules/#possible-problems
18
+ // #region PROBLEMS
19
+ // DOC: https://eslint.org/docs/latest/rules/#possible-problems
20
20
  "array-callback-return": [
21
21
  ON,
22
22
  {
@@ -53,7 +53,7 @@ export const Enable = {
53
53
  "no-control-regex": ON,
54
54
  "no-debugger": ON,
55
55
  "no-dupe-args": ON /* tsc */,
56
- "no-dupe-class-members": ON /* tsc -- TSLint:off: tsc */,
56
+ "no-dupe-class-members": ON /* TS-capable BUT tsc */,
57
57
  "no-dupe-else-if": ON,
58
58
  "no-dupe-keys": ON /* tsc */,
59
59
  "no-duplicate-case": ON,
@@ -98,7 +98,7 @@ export const Enable = {
98
98
  skipJSXText: true,
99
99
  },
100
100
  ],
101
- "no-loss-of-precision": ON /* TSLint */,
101
+ "no-loss-of-precision": ON /* TS-capable, originally had TSLint rule but was deprecated */,
102
102
  "no-misleading-character-class": ON,
103
103
  "no-new-native-nonconstructor": ON,
104
104
  "no-obj-calls": ON /* tsc */,
@@ -185,8 +185,7 @@ export const Enable = {
185
185
  requireStringLiterals: true,
186
186
  },
187
187
  ],
188
-
189
- // #endregion PROBLEMS
188
+ // #endregion
190
189
 
191
190
  // #region SUGGESTIONS
192
191
  // [ https://eslint.org/docs/latest/rules/#suggestions ]
@@ -208,14 +207,14 @@ export const Enable = {
208
207
  "block-scoped-var": ON,
209
208
  camelcase: OFF /* preference */,
210
209
  "capitalized-comments": OFF /* preference */,
211
- "class-methods-use-this": OFF /* preference -- TSLint */,
210
+ "class-methods-use-this": OFF /* TS-capable; (preference) */,
212
211
  complexity: OFF /* preference */,
213
212
  "consistent-return": [
214
213
  ON,
215
214
  {
216
215
  treatUndefinedAsUnspecified: false,
217
216
  },
218
- ] /* tsc -- TSLint:off: tsconfig: noImplicitReturns */,
217
+ ] /* tsc -- TSLint:OFF: tsconfig: noImplicitReturns */,
219
218
  "consistent-this": ON,
220
219
  curly: [
221
220
  ON,
@@ -223,7 +222,7 @@ export const Enable = {
223
222
  ],
224
223
  "default-case": OFF /* preference: don't care */,
225
224
  "default-case-last": ON,
226
- "default-param-last": ON /* TSLint */,
225
+ "default-param-last": ON /* TS-capable */,
227
226
  "dot-notation": [
228
227
  ON,
229
228
  {
@@ -245,7 +244,7 @@ export const Enable = {
245
244
  "init-declarations": [
246
245
  ON,
247
246
  always,
248
- ] /* TSLint */,
247
+ ] /* TS-capable */,
249
248
  "logical-assignment-operators": [
250
249
  ON,
251
250
  always,
@@ -258,12 +257,12 @@ export const Enable = {
258
257
  "max-lines": OFF /* preference */,
259
258
  "max-lines-per-function": OFF /* preference */,
260
259
  "max-nested-callbacks": OFF /* preference */,
261
- "max-params": OFF /* preference -- TSLint:off: preference */,
260
+ "max-params": OFF /* preference -- TSLint:OFF: preference */,
262
261
  "max-statements": OFF /* preference */,
263
262
  "multiline-comment-style": OFF /* preference */,
264
263
  "new-cap": OFF /* preference -- breaks Scriptable */,
265
264
  "no-alert": ON,
266
- "no-array-constructor": ON /* TSLint */,
265
+ "no-array-constructor": ON /* TS-capable */,
267
266
  "no-bitwise": [
268
267
  ON,
269
268
  {
@@ -335,7 +334,7 @@ export const Enable = {
335
334
  "no-invalid-this": [
336
335
  ON,
337
336
  { capIsConstructor: false },
338
- ] /* TSLint:off: tsconfig: { strict, noImplicitThis } */,
337
+ ] /* TSLint:OFF: tsconfig: { strict, noImplicitThis } */,
339
338
  "no-iterator": ON,
340
339
  "no-label-var": ON,
341
340
  "no-lone-blocks": ON,
@@ -376,11 +375,11 @@ export const Enable = {
376
375
  "no-redeclare": [
377
376
  ON,
378
377
  { builtinGlobals: true },
379
- ] /* tsc -- TSLint:off: tsc (let, const, -var) */,
378
+ ] /* tsc -- TSLint:OFF: tsc (let, const, -var) */,
380
379
  "no-regex-spaces": OFF /* preference */,
381
380
  "no-restricted-exports": OFF /* preference */,
382
381
  "no-restricted-globals": OFF /* preference */,
383
- "no-restricted-imports": OFF /* preference -- TSLint:off */,
382
+ "no-restricted-imports": OFF /* preference -- TSLint:OFF */,
384
383
  "no-restricted-properties": OFF /* preference */,
385
384
  "no-restricted-syntax": OFF /* preference */,
386
385
  "no-return-assign": OFF /* "always" | "except-parens" (disallow assignments unless enclosed in parens) */,
@@ -391,7 +390,7 @@ export const Enable = {
391
390
  allowInParentheses: true,
392
391
  },
393
392
  ],
394
- "no-shadow": OFF /* investigate -- TSLint:off: investigate */,
393
+ "no-shadow": OFF /* investigate -- TSLint:OFF: investigate */,
395
394
  "no-shadow-restricted-names": ON,
396
395
  "no-ternary": OFF /* preference */,
397
396
  "no-throw-literal": ON /* TSLint */,
@@ -423,7 +422,7 @@ export const Enable = {
423
422
  },
424
423
  ],
425
424
  "no-useless-concat": ON,
426
- "no-useless-constructor": ON /* TSLint */,
425
+ "no-useless-constructor": ON /* TS-capable */,
427
426
  "no-useless-escape": ON,
428
427
  "no-useless-rename": [
429
428
  ON,
@@ -439,7 +438,6 @@ export const Enable = {
439
438
  ON,
440
439
  {
441
440
  allowAsStatement: true,
442
-
443
441
  },
444
442
  ],
445
443
  "no-warning-comments": OFF /* preference */,
@@ -535,13 +533,11 @@ export const Enable = {
535
533
  onlyEquality: false,
536
534
  },
537
535
  ],
536
+ // #endregion
538
537
 
539
- // #endregion SUGGESTIONS
540
-
541
- // #region LAYOUT & FORMATTING
538
+ // #region FORMATTING
542
539
  // [ https://eslint.org/docs/latest/rules/#layout--formatting ]
543
540
  "unicode-bom": OFF /* preference: don't care */,
544
-
545
- // #endregion LAYOUT & FORMATTING
541
+ // #endregion
546
542
  } as const,
547
543
  } as const;
@@ -6,28 +6,28 @@ import {
6
6
  export const TsDisableExtension = {
7
7
  id: ID.DisableExtension,
8
8
  rules: {
9
- // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
10
- "class-methods-use-this": OFF,
11
- "consistent-return": OFF,
12
- "default-param-last": OFF,
9
+ // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
10
+ // "class-methods-use-this": OFF /* ESLint now supports TS */,
11
+ // "consistent-return": OFF /* tsc */,
12
+ // "default-param-last": OFF /* ESLint now supports TS */,
13
13
  "dot-notation": OFF,
14
- "init-declarations": OFF,
14
+ // "init-declarations": OFF /* ESLint now supports TS */,
15
15
  "max-params": OFF,
16
- "no-array-constructor": OFF,
17
- "no-dupe-class-members": OFF,
16
+ // "no-array-constructor": OFF /* ESLint now supports TS */,
17
+ // "no-dupe-class-members": OFF /* tsc, although ESLint now supports TS */,
18
18
  "no-empty-function": OFF,
19
19
  "no-implied-eval": OFF,
20
- "no-invalid-this": OFF,
20
+ // "no-invalid-this": OFF /* tsc */,
21
21
  "no-loop-func": OFF,
22
22
  "no-magic-numbers": OFF,
23
- "no-redeclare": OFF,
23
+ // "no-redeclare": OFF /* tsc */,
24
24
  "no-restricted-imports": OFF,
25
25
  "no-shadow": OFF,
26
26
  "no-throw-literal": OFF /* @typescript-eslint/only-throw-error */,
27
27
  "no-unused-expressions": OFF,
28
28
  "no-unused-vars": OFF,
29
29
  "no-use-before-define": OFF,
30
- "no-useless-constructor": OFF,
30
+ // "no-useless-constructor": OFF /* ESLint now supports TS */,
31
31
  "prefer-destructuring": OFF,
32
32
  "prefer-promise-reject-errors": OFF,
33
33
  "require-await": OFF,
@@ -6,25 +6,25 @@ import {
6
6
  export const TsDisable = {
7
7
  id: ID.Disable,
8
8
  rules: {
9
- // Handled by TypeScript compiler
9
+ // Handled by TypeScript compiler
10
+ "consistent-return": OFF /* TSLint BUT tsc */,
10
11
  "constructor-super": OFF,
11
12
  "getter-return": OFF,
12
13
  "no-class-assign": OFF,
13
14
  "no-const-assign": OFF,
14
15
  "no-dupe-args": OFF,
15
- "no-dupe-class-members": OFF,
16
+ "no-dupe-class-members": OFF /* TS-capable BUT tsc */,
16
17
  "no-dupe-keys": OFF,
17
18
  "no-func-assign": OFF,
18
19
  "no-import-assign": OFF,
19
- "no-invalid-this": OFF,
20
+ "no-invalid-this": OFF /* TSLint BUT tsc */,
20
21
  "no-new-native-nonconstructor": OFF,
21
22
  "no-obj-calls": OFF,
23
+ "no-redeclare": OFF /* TSLint BUT tsc */,
22
24
  "no-setter-return": OFF,
23
25
  "no-this-before-super": OFF,
24
26
  "no-undef": OFF,
25
27
  "no-unreachable": OFF,
26
28
  "no-unsafe-negation": OFF,
27
- "consistent-return": OFF,
28
- "no-redeclare": OFF,
29
29
  } as const,
30
30
  } as const;
@@ -2,17 +2,16 @@ import {
2
2
  ID,
3
3
  ON,
4
4
  OFF,
5
- always,
6
5
  all,
7
6
  } from "../../strings";
8
7
 
9
8
  export const TsEnableExtension = {
10
9
  id: ID.EnableExtension,
11
10
  rules: {
12
- // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
13
- "@typescript-eslint/class-methods-use-this": OFF /* preference -- eslint:off */,
14
- "@typescript-eslint/consistent-return": OFF /* tsconfig: noImplicitReturns */,
15
- "@typescript-eslint/default-param-last": ON,
11
+ // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
12
+ // "@typescript-eslint/class-methods-use-this": OFF /* ESLint now supports TS (preference -- eslint:OFF) */,
13
+ // "@typescript-eslint/consistent-return": OFF /* tsc: noImplicitReturns */,
14
+ // "@typescript-eslint/default-param-last": OFF /* ESLint now supports TS */,
16
15
  "@typescript-eslint/dot-notation": [
17
16
  ON,
18
17
  {
@@ -24,13 +23,10 @@ export const TsEnableExtension = {
24
23
  allowIndexSignaturePropertyAccess: true,
25
24
  },
26
25
  ],
27
- "@typescript-eslint/init-declarations": [
28
- ON,
29
- always,
30
- ],
26
+ // "@typescript-eslint/init-declarations": OFF /* ESLint now supports TS */,
31
27
  "@typescript-eslint/max-params": OFF /* preference */,
32
- "@typescript-eslint/no-array-constructor": ON,
33
- "@typescript-eslint/no-dupe-class-members": OFF /* tsc */,
28
+ // "@typescript-eslint/no-array-constructor": OFF /* ESLint now supports TS */,
29
+ // "@typescript-eslint/no-dupe-class-members": OFF /* tsc, although ESLint now supports TS */,
34
30
  "@typescript-eslint/no-empty-function": [
35
31
  ON,
36
32
  {
@@ -43,10 +39,10 @@ export const TsEnableExtension = {
43
39
  }, /* functions, arrowFunctions, generatorFunctions, methods, generatorMethods, getters, setters, constructors, asyncFunctions, asyncMethods; TS-ONLY: private-constructors, protected-constructors, decoratedFunctions, overrideMethods */
44
40
  ],
45
41
  "@typescript-eslint/no-implied-eval": ON,
46
- "@typescript-eslint/no-invalid-this": OFF /* tsconfig: { strict, noImplicitThis } */,
42
+ // "@typescript-eslint/no-invalid-this": OFF /* tsc: { strict, noImplicitThis } */,
47
43
  "@typescript-eslint/no-loop-func": ON,
48
- "@typescript-eslint/no-magic-numbers": OFF,
49
- "@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
44
+ "@typescript-eslint/no-magic-numbers": OFF /* preference */,
45
+ // "@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
50
46
  "@typescript-eslint/no-restricted-imports": OFF /* preference */,
51
47
  "@typescript-eslint/no-shadow": OFF /* investigate */,
52
48
  "@typescript-eslint/no-unused-expressions": [
@@ -81,7 +77,7 @@ export const TsEnableExtension = {
81
77
  ignoreTypeReferences: true,
82
78
  },
83
79
  ],
84
- "@typescript-eslint/no-useless-constructor": ON,
80
+ // "@typescript-eslint/no-useless-constructor": OFF /* ESLint now supports TS */,
85
81
  "@typescript-eslint/only-throw-error": [
86
82
  ON,
87
83
  {