linted 16.3.2-rc.0 → 16.3.3-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.github/workflows/RELEASE.yml +35 -0
  2. package/.github/workflows/rc.yml +35 -0
  3. package/LICENSE +21 -21
  4. package/README.md +388 -388
  5. package/SECURITY.md +9 -9
  6. package/dist/imports/plugins/index.d.ts.map +1 -1
  7. package/eslint.config.js +3 -3
  8. package/package.json +99 -99
  9. package/src/declarations/markdownlint/index.d.ts +3 -3
  10. package/src/declarations/markdownlint/parser.d.ts +9 -9
  11. package/src/declarations/mocha/index.d.ts +8 -8
  12. package/src/imports/index.ts +4 -4
  13. package/src/imports/parsers/index.ts +16 -16
  14. package/src/imports/plugins/index.ts +20 -20
  15. package/src/index.ts +34 -34
  16. package/src/statics/files/html/index.ts +1 -1
  17. package/src/statics/files/index.ts +22 -22
  18. package/src/statics/files/js/index.ts +1 -1
  19. package/src/statics/files/json/index.ts +1 -1
  20. package/src/statics/files/jsonc/index.ts +4 -4
  21. package/src/statics/files/md/index.ts +1 -1
  22. package/src/statics/files/mocha/index.ts +1 -1
  23. package/src/statics/files/svelte/index.ts +1 -1
  24. package/src/statics/files/ts/index.ts +5 -5
  25. package/src/statics/files/yml/index.ts +5 -5
  26. package/src/statics/index.ts +4 -4
  27. package/src/statics/rules/index.ts +22 -22
  28. package/src/statics/rules/presets/Html.ts +5 -5
  29. package/src/statics/rules/presets/Js.ts +5 -5
  30. package/src/statics/rules/presets/Json.ts +5 -5
  31. package/src/statics/rules/presets/Jsonc.ts +5 -5
  32. package/src/statics/rules/presets/Md.ts +4 -4
  33. package/src/statics/rules/presets/Mocha.ts +5 -5
  34. package/src/statics/rules/presets/Svelte.ts +16 -16
  35. package/src/statics/rules/presets/Ts.ts +14 -14
  36. package/src/statics/rules/presets/Yml.ts +5 -5
  37. package/src/statics/rules/presets/html/Enable.ts +5 -5
  38. package/src/statics/rules/presets/html/Recommended.ts +7 -7
  39. package/src/statics/rules/presets/index.ts +10 -10
  40. package/src/statics/rules/presets/js/Enable.ts +288 -288
  41. package/src/statics/rules/presets/js/EnableStylistic.ts +288 -288
  42. package/src/statics/rules/presets/json/Enable.ts +33 -33
  43. package/src/statics/rules/presets/json/EnableX.ts +51 -51
  44. package/src/statics/rules/presets/jsonc/OverrideJson.ts +6 -6
  45. package/src/statics/rules/presets/md/Enable.ts +23 -23
  46. package/src/statics/rules/presets/mocha/Enable.ts +5 -5
  47. package/src/statics/rules/presets/mocha/Recommended.ts +7 -7
  48. package/src/statics/rules/presets/svelte/DisableJS.ts +7 -7
  49. package/src/statics/rules/presets/svelte/DisableTS.ts +5 -5
  50. package/src/statics/rules/presets/svelte/DisableX.ts +6 -6
  51. package/src/statics/rules/presets/svelte/Enable.ts +130 -130
  52. package/src/statics/rules/presets/svelte/EnableX.ts +6 -6
  53. package/src/statics/rules/presets/ts/DisableCompiler.ts +23 -23
  54. package/src/statics/rules/presets/ts/DisableX.ts +34 -34
  55. package/src/statics/rules/presets/ts/Enable.ts +407 -407
  56. package/src/statics/rules/presets/ts/EnableX.ts +87 -87
  57. package/src/statics/rules/presets/yml/Enable.ts +30 -30
  58. package/src/statics/rules/presets/yml/EnableX.ts +18 -18
  59. package/src/statics/rules/strings/id/index.ts +17 -17
  60. package/src/statics/rules/strings/index.ts +6 -6
  61. package/src/statics/rules/strings/level/index.ts +5 -5
  62. package/src/statics/rules/strings/state/index.ts +55 -55
  63. package/tsconfig.json +160 -160
@@ -1,4 +1,4 @@
1
- import type RuleEntry from "./index.js";
2
- import Enable from "./md/Enable.js";
3
-
4
- export default [Enable] as const satisfies readonly RuleEntry[];
1
+ import type RuleEntry from "./index.js";
2
+ import Enable from "./md/Enable.js";
3
+
4
+ export default [Enable] as const satisfies readonly RuleEntry[];
@@ -1,5 +1,5 @@
1
- import type RuleEntry from "./index.js";
2
- import Recommended from "./mocha/Recommended.js";
3
- import Enable from "./html/Enable.js";
4
-
5
- export default [Recommended, Enable] as const satisfies readonly RuleEntry[];
1
+ import type RuleEntry from "./index.js";
2
+ import Recommended from "./mocha/Recommended.js";
3
+ import Enable from "./html/Enable.js";
4
+
5
+ export default [Recommended, Enable] as const satisfies readonly RuleEntry[];
@@ -1,16 +1,16 @@
1
- import type RuleEntry from "./index.js";
2
- import TsRuleset from "./Ts.js";
3
- import DisableJS from "./svelte/DisableJS.js";
4
- import DisableTS from "./svelte/DisableTS.js";
5
- import DisableX from "./svelte/DisableX.js";
6
- import EnableX from "./svelte/EnableX.js";
7
- import Enable from "./svelte/Enable.js";
8
-
9
- export default [
10
- ...TsRuleset,
11
- DisableJS,
12
- DisableTS,
13
- DisableX,
14
- EnableX,
15
- Enable,
16
- ] as const satisfies readonly RuleEntry[];
1
+ import type RuleEntry from "./index.js";
2
+ import TsRuleset from "./Ts.js";
3
+ import DisableJS from "./svelte/DisableJS.js";
4
+ import DisableTS from "./svelte/DisableTS.js";
5
+ import DisableX from "./svelte/DisableX.js";
6
+ import EnableX from "./svelte/EnableX.js";
7
+ import Enable from "./svelte/Enable.js";
8
+
9
+ export default [
10
+ ...TsRuleset,
11
+ DisableJS,
12
+ DisableTS,
13
+ DisableX,
14
+ EnableX,
15
+ Enable,
16
+ ] as const satisfies readonly RuleEntry[];
@@ -1,14 +1,14 @@
1
- import type RuleEntry from "./index.js";
2
- import Js from "./Js.js";
3
- import DisableCompiler from "./ts/DisableCompiler.js";
4
- import DisableX from "./ts/DisableX.js";
5
- import EnableX from "./ts/EnableX.js";
6
- import Enable from "./ts/Enable.js";
7
-
8
- export default [
9
- ...Js,
10
- DisableCompiler,
11
- DisableX,
12
- EnableX,
13
- Enable,
14
- ] as const satisfies readonly RuleEntry[];
1
+ import type RuleEntry from "./index.js";
2
+ import Js from "./Js.js";
3
+ import DisableCompiler from "./ts/DisableCompiler.js";
4
+ import DisableX from "./ts/DisableX.js";
5
+ import EnableX from "./ts/EnableX.js";
6
+ import Enable from "./ts/Enable.js";
7
+
8
+ export default [
9
+ ...Js,
10
+ DisableCompiler,
11
+ DisableX,
12
+ EnableX,
13
+ Enable,
14
+ ] as const satisfies readonly RuleEntry[];
@@ -1,5 +1,5 @@
1
- import type RuleEntry from "./index.js";
2
- import EnableX from "./yml/EnableX.js";
3
- import Enable from "./yml/Enable.js";
4
-
5
- export default [EnableX, Enable] as const satisfies readonly RuleEntry[];
1
+ import type RuleEntry from "./index.js";
2
+ import EnableX from "./yml/EnableX.js";
3
+ import Enable from "./yml/Enable.js";
4
+
5
+ export default [EnableX, Enable] as const satisfies readonly RuleEntry[];
@@ -1,5 +1,5 @@
1
- import { Strings, type RuleEntry } from "../index.js";
2
-
3
- const { Id: { Enable }, Level: { OFF } } = Strings;
4
-
5
- export default [Enable, { "@html-eslint/require-title": OFF }] as const satisfies RuleEntry;
1
+ import { Strings, type RuleEntry } from "../index.js";
2
+
3
+ const { Id: { Enable }, Level: { OFF } } = Strings;
4
+
5
+ export default [Enable, { "@html-eslint/require-title": OFF }] as const satisfies RuleEntry;
@@ -1,7 +1,7 @@
1
- import html from "@html-eslint/eslint-plugin";
2
- import { Strings, type RuleEntry } from "../index.js";
3
-
4
- const { Id: { Recommended } } = Strings;
5
-
6
- // Remove shared config once manually configured
7
- export default [Recommended, (html.configs["flat/recommended"] as Record<"rules", RuleEntry.Object>).rules] as const satisfies RuleEntry;
1
+ import html from "@html-eslint/eslint-plugin";
2
+ import { Strings, type RuleEntry } from "../index.js";
3
+
4
+ const { Id: { Recommended } } = Strings;
5
+
6
+ // Remove shared config once manually configured
7
+ export default [Recommended, (html.configs["flat/recommended"] as Record<"rules", RuleEntry.Object>).rules] as const satisfies RuleEntry;
@@ -1,10 +1,10 @@
1
- import type { Boundary } from "@eslinted/core";
2
-
3
- type RuleEntry = Boundary.Input.Rules.Preset.Entry;
4
-
5
- namespace RuleEntry {
6
- export type Object = Boundary.Input.Rules.Preset.Entry.Object;
7
- }
8
-
9
- export type { RuleEntry, RuleEntry as default };
10
- export * as Strings from "../strings/index.js";
1
+ import type { Boundary } from "@eslinted/core";
2
+
3
+ type RuleEntry = Boundary.Input.Rules.Preset.Entry;
4
+
5
+ namespace RuleEntry {
6
+ export type Object = Boundary.Input.Rules.Preset.Entry.Object;
7
+ }
8
+
9
+ export type { RuleEntry, RuleEntry as default };
10
+ export * as Strings from "../strings/index.js";