@eslinted/defaults 19.1.1 → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -761,6 +761,7 @@ declare const _default: {
761
761
  readonly allowNullableString: true;
762
762
  }
763
763
  ];
764
+ readonly "ts/strict-void-return": import("./rules/state.js").State.ON;
764
765
  readonly "ts/switch-exhaustiveness-check": readonly [
765
766
  import("./rules/state.js").State.ON,
766
767
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -744,6 +744,7 @@ declare const _default: {
744
744
  readonly allowNullableString: true;
745
745
  }
746
746
  ];
747
+ readonly "ts/strict-void-return": import("./state.js").State.ON;
747
748
  readonly "ts/switch-exhaustiveness-check": readonly [
748
749
  import("./state.js").State.ON,
749
750
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAYE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAYE"}
@@ -188,6 +188,7 @@ declare const _default: ({
188
188
  readonly allowNullableString: true;
189
189
  }
190
190
  ];
191
+ readonly "ts/strict-void-return": import("../state.js").State.ON;
191
192
  readonly "ts/switch-exhaustiveness-check": readonly [
192
193
  import("../state.js").State.ON,
193
194
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -167,6 +167,7 @@ declare const _default: {
167
167
  readonly allowNullableString: true;
168
168
  }
169
169
  ];
170
+ readonly "ts/strict-void-return": State.ON;
170
171
  readonly "ts/switch-exhaustiveness-check": readonly [
171
172
  State.ON,
172
173
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA6ME"}
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA8ME"}
@@ -166,6 +166,7 @@ export default {
166
166
  allowNullableString: true,
167
167
  },
168
168
  ],
169
+ "ts/strict-void-return": 2,
169
170
  "ts/switch-exhaustiveness-check": [
170
171
  2,
171
172
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/rules/ts/ts.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,mBAAmB,GAAU;QAC7B,mBAAmB,GAAY;QAC/B,uBAAuB,GAAY;QACnC,iCAAiC,GAAY;QAC7C,oCAAoC,GAAY;QAEhD,+BAA+B,EAAE;;YAE/B;gBACE,0BAA0B,EAAE,OAAO;gBACnC,2BAA2B,EAAE,OAAO;aACrC;SACF;QAED,4BAA4B,GAAY;QACxC,4BAA4B,GAAY;QAExC,kCAAkC,EAAE;;YAElC;gBACE,SAAS,EAAE;oBACT,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;QAED,oBAAoB,EAAE;;YAEpB;gBACE,SAAS,EAAE;oBACT,gBAAgB,EAAE,gBAAgB;iBACnC;aACF;SACF;QACD,2BAA2B,GAAY;QAEvC,oBAAoB,GAAU;QAC9B,sBAAsB,GAAU;QAChC,oCAAoC,GAAU;QAC9C,iCAAiC,GAAU;QAE3C,6BAA6B,GAAU;QACvC,mCAAmC,GAAU;QAC7C,sBAAsB,GAAU;QAChC,yBAAyB,GAAU;QACnC,oBAAoB,EAAE;;YAEpB;gBACE,YAAY,EAAE,IAAI;aACnB;SACF;QACD,gCAAgC,GAAU;QAC1C,wBAAwB,EAAE;;YAExB;gBACE,UAAU,EAAE,IAAI;aACjB;SACF;QACD,yBAAyB,EAAE;;YAEzB;gBACE,cAAc,EAAE,IAAI;aACrB;SACF;QACD,oBAAoB,GAAU;QAC9B,gCAAgC,GAAU;QAC1C,wBAAwB,GAAU;QAElC,iCAAiC,EAAE;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CAAC"}
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": "19.1.1",
6
+ "version": "19.2.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -18,7 +18,7 @@ export default [
18
18
  "css/relative-font-units": State.WARN,
19
19
  // "css/selector-complexity": State.OFF /* @preference: or rather too lazy to configure because its default state is literally infinitely permissable */,
20
20
  "css/use-baseline": State.WARN,
21
- // "css/use-layers": State.OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
21
+ // "css/use-layers": State.OFF /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules | BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */,
22
22
  } as const,
23
23
  },
24
24
  ];
@@ -47,7 +47,7 @@ export default {
47
47
  "stylistic/function-paren-newline": [
48
48
  State.WARN,
49
49
  "multiline-arguments",
50
- ], /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */
50
+ ] /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
51
51
  "stylistic/generator-star-spacing": State.WARN,
52
52
  "stylistic/implicit-arrow-linebreak": State.WARN,
53
53
  "stylistic/indent": [
@@ -66,7 +66,7 @@ export default {
66
66
  ],
67
67
  "stylistic/indent-binary-ops": [
68
68
  State.WARN,
69
- 2, /* MUST be same as `stylistic/indent`[1] */
69
+ 2 /* MUST be same as `stylistic/indent`[1] */,
70
70
  ],
71
71
  "stylistic/key-spacing": State.WARN,
72
72
  "stylistic/keyword-spacing": State.WARN,
@@ -136,7 +136,7 @@ export default {
136
136
  {
137
137
  max: 1,
138
138
  maxBOF: 0,
139
- maxEOF: 0, /* INFO: combine with `eol-last` to ensure file still ends with a single line-break (eol character) */
139
+ maxEOF: 0 /* INFO: combine with `eol-last` to ensure file still ends with a single line-break (eol character) */,
140
140
  },
141
141
  ],
142
142
  "stylistic/no-tabs": State.WARN,
@@ -252,7 +252,7 @@ export default {
252
252
  after: true,
253
253
  },
254
254
  },
255
- }, /* BUG: non-overriden rule affects all type annotations (arrows, "as" keyword, "satisfies" keyword) except colons */
255
+ } /* BUG: non-overriden rule affects all type annotations (arrows, "as" keyword, "satisfies" keyword) except colons */,
256
256
  ],
257
257
  "stylistic/type-generic-spacing": State.WARN,
258
258
  "stylistic/type-named-tuple-spacing": State.WARN,
@@ -5,14 +5,14 @@ export default {
5
5
  rules: {
6
6
  // ESLint core rules known to cause problems with `.svelte`.
7
7
  "no-inner-declarations":
8
- State.OFF, /* The AST generated by svelte-eslint-parser will false positive because the root node of the script is not `Program`. INFO: also extended by svelte */
9
- "no-self-assign": State.OFF, /* Self assign is one of way to update reactive value in Svelte. */
10
- "no-unused-vars": State.OFF, /* breaks use of svelte global */
11
- "ts/no-unused-vars": State.OFF, /* breaks use of svelte global */
12
- "prefer-const": State.OFF, /* svelte/prefer-const */
8
+ State.OFF /* The AST generated by svelte-eslint-parser will false positive because the root node of the script is not `Program`. INFO: also extended by svelte */,
9
+ "no-self-assign": State.OFF /* Self assign is one of way to update reactive value in Svelte. */,
10
+ "no-unused-vars": State.OFF /* breaks use of svelte global */,
11
+ "ts/no-unused-vars": State.OFF /* breaks use of svelte global */,
12
+ "prefer-const": State.OFF /* svelte/prefer-const */,
13
13
  // My own
14
- "stylistic/indent": State.OFF, /* @CONFLICT: with `svelte/indent` */
15
- "ts/no-confusing-void-expression": State.OFF, /* @CONFLICT: errors on render() */
14
+ "stylistic/indent": State.OFF /* @CONFLICT: with `svelte/indent` */,
15
+ "ts/no-confusing-void-expression": State.OFF /* @CONFLICT: errors on render() */,
16
16
  // My own (dprint)
17
17
  "stylistic/object-curly-spacing": State.OFF,
18
18
  "stylistic/semi": State.OFF,
@@ -3,12 +3,12 @@ import { State } from "../state";
3
3
  // DOC: http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
4
4
  export default {
5
5
  rules: {
6
- /* @OVERRIDE */ "no-inner-declarations": State.OFF, /* INFO: also disabled by svelte */
6
+ /* @OVERRIDE */ "no-inner-declarations": State.OFF /* INFO: also disabled by svelte */,
7
7
  "svelte/no-inner-declarations": [
8
8
  State.ON,
9
9
  "both",
10
- ], /* same options: no-inner-declarations */
11
- /* @OVERRIDE */ "stylistic/no-trailing-spaces": State.OFF, /* replaces `no-trailing-spaces` */
10
+ ] /* same options: no-inner-declarations */,
11
+ /* @OVERRIDE */ "stylistic/no-trailing-spaces": State.OFF /* replaces `no-trailing-spaces` */,
12
12
  // "svelte/no-trailing-spaces": State.OFF,
13
13
  } as const,
14
14
  };
@@ -187,7 +187,8 @@ export default {
187
187
  allowNullableNumber: true,
188
188
  allowNullableString: true,
189
189
  },
190
- ], /* @requires @tsc: strictNullChecks */
190
+ ] /* @requires @tsc: strictNullChecks */,
191
+ "ts/strict-void-return": State.ON,
191
192
  "ts/switch-exhaustiveness-check": [
192
193
  State.ON,
193
194
  {