linted 16.3.2-rc.0 → 16.3.3-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -0
- package/.github/workflows/rc.yml +35 -0
- package/LICENSE +21 -21
- package/README.md +388 -388
- package/SECURITY.md +9 -9
- package/dist/imports/plugins/index.d.ts.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/declarations/markdownlint/index.d.ts +3 -3
- package/src/declarations/markdownlint/parser.d.ts +9 -9
- package/src/declarations/mocha/index.d.ts +8 -8
- package/src/imports/index.ts +4 -4
- package/src/imports/parsers/index.ts +16 -16
- package/src/imports/plugins/index.ts +20 -20
- package/src/index.ts +34 -34
- package/src/statics/files/html/index.ts +1 -1
- package/src/statics/files/index.ts +22 -22
- package/src/statics/files/js/index.ts +1 -1
- package/src/statics/files/json/index.ts +1 -1
- package/src/statics/files/jsonc/index.ts +4 -4
- package/src/statics/files/md/index.ts +1 -1
- package/src/statics/files/mocha/index.ts +1 -1
- package/src/statics/files/svelte/index.ts +1 -1
- package/src/statics/files/ts/index.ts +5 -5
- package/src/statics/files/yml/index.ts +5 -5
- package/src/statics/index.ts +4 -4
- package/src/statics/rules/index.ts +22 -22
- package/src/statics/rules/presets/Html.ts +5 -5
- package/src/statics/rules/presets/Js.ts +5 -5
- package/src/statics/rules/presets/Json.ts +5 -5
- package/src/statics/rules/presets/Jsonc.ts +5 -5
- package/src/statics/rules/presets/Md.ts +4 -4
- package/src/statics/rules/presets/Mocha.ts +5 -5
- package/src/statics/rules/presets/Svelte.ts +16 -16
- package/src/statics/rules/presets/Ts.ts +14 -14
- package/src/statics/rules/presets/Yml.ts +5 -5
- package/src/statics/rules/presets/html/Enable.ts +5 -5
- package/src/statics/rules/presets/html/Recommended.ts +7 -7
- package/src/statics/rules/presets/index.ts +10 -10
- package/src/statics/rules/presets/js/Enable.ts +288 -288
- package/src/statics/rules/presets/js/EnableStylistic.ts +288 -288
- package/src/statics/rules/presets/json/Enable.ts +33 -33
- package/src/statics/rules/presets/json/EnableX.ts +51 -51
- package/src/statics/rules/presets/jsonc/OverrideJson.ts +6 -6
- package/src/statics/rules/presets/md/Enable.ts +23 -23
- package/src/statics/rules/presets/mocha/Enable.ts +5 -5
- package/src/statics/rules/presets/mocha/Recommended.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableJS.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableTS.ts +5 -5
- package/src/statics/rules/presets/svelte/DisableX.ts +6 -6
- package/src/statics/rules/presets/svelte/Enable.ts +130 -130
- package/src/statics/rules/presets/svelte/EnableX.ts +6 -6
- package/src/statics/rules/presets/ts/DisableCompiler.ts +23 -23
- package/src/statics/rules/presets/ts/DisableX.ts +34 -34
- package/src/statics/rules/presets/ts/Enable.ts +407 -407
- package/src/statics/rules/presets/ts/EnableX.ts +87 -87
- package/src/statics/rules/presets/yml/Enable.ts +30 -30
- package/src/statics/rules/presets/yml/EnableX.ts +18 -18
- package/src/statics/rules/strings/id/index.ts +17 -17
- package/src/statics/rules/strings/index.ts +6 -6
- package/src/statics/rules/strings/level/index.ts +5 -5
- package/src/statics/rules/strings/state/index.ts +55 -55
- 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";
|