linted 15.4.14 → 15.4.15-rc.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/files/base.d.ts +7 -7
- package/dist/files/base.d.ts.map +1 -1
- package/dist/files/base.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/parsers/parsers.d.ts +0 -2
- package/dist/parsers/parsers.d.ts.map +1 -1
- package/dist/parsers/parsers.js +0 -2
- package/dist/parsers/parsers.js.map +1 -1
- package/dist/plugins/plugins.d.ts +596 -977
- package/dist/plugins/plugins.d.ts.map +1 -1
- package/dist/plugins/plugins.js +6 -14
- package/dist/plugins/plugins.js.map +1 -1
- package/dist/rules/rules/HtmlRule.d.ts +1 -1
- package/dist/rules/rules/HtmlRule.d.ts.map +1 -1
- package/dist/rules/rules/HtmlRule.js.map +1 -1
- package/dist/rules/rules/JsRule.d.ts +117 -117
- package/dist/rules/rules/JsRule.d.ts.map +1 -1
- package/dist/rules/rules/JsRule.js.map +1 -1
- package/dist/rules/rules/JsonRule.d.ts +13 -13
- package/dist/rules/rules/JsonRule.d.ts.map +1 -1
- package/dist/rules/rules/JsonRule.js.map +1 -1
- package/dist/rules/rules/JsoncRule.d.ts +14 -14
- package/dist/rules/rules/JsoncRule.d.ts.map +1 -1
- package/dist/rules/rules/JsoncRule.js.map +1 -1
- package/dist/rules/rules/MdRule.d.ts +12 -12
- package/dist/rules/rules/MdRule.d.ts.map +1 -1
- package/dist/rules/rules/MdRule.js.map +1 -1
- package/dist/rules/rules/SvelteRule.d.ts +191 -191
- package/dist/rules/rules/SvelteRule.d.ts.map +1 -1
- package/dist/rules/rules/SvelteRule.js.map +1 -1
- package/dist/rules/rules/TsRule.d.ts +170 -170
- package/dist/rules/rules/TsRule.d.ts.map +1 -1
- package/dist/rules/rules/TsRule.js.map +1 -1
- package/dist/rules/rules/YmlRule.d.ts +16 -16
- package/dist/rules/rules/YmlRule.d.ts.map +1 -1
- package/dist/rules/rules/YmlRule.js.map +1 -1
- package/dist/rules/rules/objects/html/HtmlEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/html/HtmlEnable.js +1 -1
- package/dist/rules/rules/objects/html/HtmlEnable.js.map +1 -1
- package/dist/rules/rules/objects/html/HtmlRecommended.d.ts +1 -1
- package/dist/rules/rules/objects/html/HtmlRecommended.d.ts.map +1 -1
- package/dist/rules/rules/objects/html/HtmlRecommended.js.map +1 -1
- package/dist/rules/rules/objects/js/JsEnable.d.ts +56 -56
- package/dist/rules/rules/objects/js/JsEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/js/JsEnable.js +1 -1
- package/dist/rules/rules/objects/js/JsEnable.js.map +1 -1
- package/dist/rules/rules/objects/js/StylisticEnable.d.ts +61 -61
- package/dist/rules/rules/objects/js/StylisticEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/js/StylisticEnable.js +1 -1
- package/dist/rules/rules/objects/js/StylisticEnable.js.map +1 -1
- package/dist/rules/rules/objects/json/JsonEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/json/JsonEnable.js +1 -1
- package/dist/rules/rules/objects/json/JsonEnable.js.map +1 -1
- package/dist/rules/rules/objects/json/JsonEnableX.d.ts +13 -13
- package/dist/rules/rules/objects/json/JsonEnableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/json/JsonEnableX.js +1 -1
- package/dist/rules/rules/objects/json/JsonEnableX.js.map +1 -1
- package/dist/rules/rules/objects/jsonc/JsoncOverride.d.ts +1 -1
- package/dist/rules/rules/objects/jsonc/JsoncOverride.d.ts.map +1 -1
- package/dist/rules/rules/objects/jsonc/JsoncOverride.js +1 -1
- package/dist/rules/rules/objects/jsonc/JsoncOverride.js.map +1 -1
- package/dist/rules/rules/objects/{severity.d.ts → level.d.ts} +1 -1
- package/dist/rules/rules/objects/level.d.ts.map +1 -0
- package/dist/rules/rules/objects/{severity.js → level.js} +1 -1
- package/dist/rules/rules/objects/level.js.map +1 -0
- package/dist/rules/rules/objects/md/MdEnable.d.ts +12 -12
- package/dist/rules/rules/objects/md/MdEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/md/MdEnable.js +1 -1
- package/dist/rules/rules/objects/md/MdEnable.js.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableJS.d.ts.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableJS.js +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableJS.js.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableTS.d.ts.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableTS.js +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableTS.js.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableX.js +1 -1
- package/dist/rules/rules/objects/svelte/SvelteDisableX.js.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnable.d.ts +20 -20
- package/dist/rules/rules/objects/svelte/SvelteEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnable.js +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnable.js.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnableX.d.ts +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnableX.js +1 -1
- package/dist/rules/rules/objects/svelte/SvelteEnableX.js.map +1 -1
- package/dist/rules/rules/objects/ts/TsDisableCompiler.d.ts.map +1 -1
- package/dist/rules/rules/objects/ts/TsDisableCompiler.js +1 -1
- package/dist/rules/rules/objects/ts/TsDisableCompiler.js.map +1 -1
- package/dist/rules/rules/objects/ts/TsDisableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/ts/TsDisableX.js +1 -1
- package/dist/rules/rules/objects/ts/TsDisableX.js.map +1 -1
- package/dist/rules/rules/objects/ts/TsEnable.d.ts +43 -43
- package/dist/rules/rules/objects/ts/TsEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/ts/TsEnable.js +1 -1
- package/dist/rules/rules/objects/ts/TsEnable.js.map +1 -1
- package/dist/rules/rules/objects/ts/TsEnableX.d.ts +10 -10
- package/dist/rules/rules/objects/ts/TsEnableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/ts/TsEnableX.js +1 -1
- package/dist/rules/rules/objects/ts/TsEnableX.js.map +1 -1
- package/dist/rules/rules/objects/yml/YmlEnable.d.ts +8 -8
- package/dist/rules/rules/objects/yml/YmlEnable.d.ts.map +1 -1
- package/dist/rules/rules/objects/yml/YmlEnable.js +1 -1
- package/dist/rules/rules/objects/yml/YmlEnable.js.map +1 -1
- package/dist/rules/rules/objects/yml/YmlEnableX.d.ts +8 -8
- package/dist/rules/rules/objects/yml/YmlEnableX.d.ts.map +1 -1
- package/dist/rules/rules/objects/yml/YmlEnableX.js +1 -1
- package/dist/rules/rules/objects/yml/YmlEnableX.js.map +1 -1
- package/dist/rules/rules.d.ts +522 -522
- package/dist/rules/rules.d.ts.map +1 -1
- package/dist/rules/rules.js.map +1 -1
- package/package.json +2 -2
- package/src/files/base.ts +2 -2
- package/src/index.ts +12 -8
- package/src/parsers/parsers.ts +2 -4
- package/src/plugins/plugins.ts +8 -16
- package/src/rules/rules/HtmlRule.ts +2 -2
- package/src/rules/rules/JsRule.ts +2 -2
- package/src/rules/rules/JsonRule.ts +2 -2
- package/src/rules/rules/JsoncRule.ts +2 -2
- package/src/rules/rules/MdRule.ts +2 -2
- package/src/rules/rules/SvelteRule.ts +2 -2
- package/src/rules/rules/TsRule.ts +2 -2
- package/src/rules/rules/YmlRule.ts +2 -2
- package/src/rules/rules/objects/html/HtmlEnable.ts +3 -3
- package/src/rules/rules/objects/html/HtmlRecommended.ts +3 -3
- package/src/rules/rules/objects/js/JsEnable.ts +3 -3
- package/src/rules/rules/objects/js/StylisticEnable.ts +3 -3
- package/src/rules/rules/objects/json/JsonEnable.ts +3 -3
- package/src/rules/rules/objects/json/JsonEnableX.ts +3 -3
- package/src/rules/rules/objects/jsonc/JsoncOverride.ts +3 -3
- package/src/rules/rules/objects/md/MdEnable.ts +3 -3
- package/src/rules/rules/objects/svelte/SvelteDisableJS.ts +3 -3
- package/src/rules/rules/objects/svelte/SvelteDisableTS.ts +3 -3
- package/src/rules/rules/objects/svelte/SvelteDisableX.ts +3 -3
- package/src/rules/rules/objects/svelte/SvelteEnable.ts +3 -3
- package/src/rules/rules/objects/svelte/SvelteEnableX.ts +3 -3
- package/src/rules/rules/objects/ts/TsDisableCompiler.ts +3 -3
- package/src/rules/rules/objects/ts/TsDisableX.ts +3 -3
- package/src/rules/rules/objects/ts/TsEnable.ts +3 -3
- package/src/rules/rules/objects/ts/TsEnableX.ts +3 -3
- package/src/rules/rules/objects/yml/YmlEnable.ts +3 -3
- package/src/rules/rules/objects/yml/YmlEnableX.ts +3 -3
- package/src/rules/rules.ts +2 -2
- package/dist/rules/rules/objects/severity.d.ts.map +0 -1
- package/dist/rules/rules/objects/severity.js.map +0 -1
- /package/src/rules/rules/objects/{severity.ts → level.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/rules/rules.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAQiD"}
|
package/dist/rules/rules.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/rules/rules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnC,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,sBAAsB,CAAC;AACzC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/rules/rules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnC,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,sBAAsB,CAAC;AACzC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CAC2C,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.13.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "15.4.
|
4
|
+
"version": "15.4.15-rc.0",
|
5
5
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
},
|
50
50
|
"optionalDependencies": {},
|
51
51
|
"dependencies": {
|
52
|
-
"@eslinted/core": "~
|
52
|
+
"@eslinted/core": "~2.0.0-rc.3",
|
53
53
|
"@html-eslint/eslint-plugin": "~0.25.0",
|
54
54
|
"@html-eslint/parser": "~0.25.0",
|
55
55
|
"@stylistic/eslint-plugin": "~2.3.0",
|
package/src/files/base.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
|
3
3
|
export default {
|
4
4
|
js: ["**/*.config.js"],
|
@@ -19,4 +19,4 @@ export default {
|
|
19
19
|
"**/*.yaml",
|
20
20
|
".github/workflows/*.yml",
|
21
21
|
],
|
22
|
-
} as const satisfies
|
22
|
+
} as const satisfies Boundary.Input.Files.Base;
|
package/src/index.ts
CHANGED
@@ -1,21 +1,25 @@
|
|
1
|
-
import core, { type
|
1
|
+
import core, { type Boundary } from "@eslinted/core";
|
2
2
|
import plugins from "./plugins/plugins.js";
|
3
3
|
import parsers from "./parsers/parsers.js";
|
4
4
|
import base from "./files/base.js";
|
5
|
-
import
|
5
|
+
import preset from "./rules/rules.js";
|
6
6
|
|
7
7
|
export default function (
|
8
|
-
includes:
|
9
|
-
overrides: Input.Overrides = {},
|
8
|
+
includes: Boundary.Input.Files.Includes = {},
|
9
|
+
overrides: Boundary.Input.Rules.Overrides = {},
|
10
10
|
) {
|
11
11
|
try {
|
12
12
|
return core(
|
13
13
|
plugins,
|
14
14
|
parsers,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
{
|
16
|
+
base,
|
17
|
+
includes,
|
18
|
+
},
|
19
|
+
{
|
20
|
+
preset,
|
21
|
+
overrides,
|
22
|
+
},
|
19
23
|
);
|
20
24
|
}
|
21
25
|
catch (e) {
|
package/src/parsers/parsers.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import ts from "@typescript-eslint/parser";
|
3
3
|
import svelte from "svelte-eslint-parser";
|
4
4
|
import html from "@html-eslint/parser";
|
@@ -6,11 +6,9 @@ import jsonc from "jsonc-eslint-parser";
|
|
6
6
|
import yml from "yaml-eslint-parser";
|
7
7
|
|
8
8
|
export default {
|
9
|
-
js: null,
|
10
9
|
ts,
|
11
10
|
svelte,
|
12
11
|
html,
|
13
|
-
json: jsonc,
|
14
12
|
jsonc,
|
15
13
|
yml,
|
16
|
-
} as const satisfies
|
14
|
+
} as const satisfies Boundary.Input.Parsers;
|
package/src/plugins/plugins.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import stylistic from "@stylistic/eslint-plugin";
|
3
3
|
import ts from "@typescript-eslint/eslint-plugin";
|
4
4
|
import svelte from "eslint-plugin-svelte";
|
@@ -7,18 +7,10 @@ import jsonc from "eslint-plugin-jsonc";
|
|
7
7
|
import yml from "eslint-plugin-yml";
|
8
8
|
|
9
9
|
export default {
|
10
|
-
|
11
|
-
ts:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
"@typescript-eslint": ts as unknown as { configs: unknown },
|
18
|
-
svelte,
|
19
|
-
},
|
20
|
-
html: { "@html-eslint": html },
|
21
|
-
json: { jsonc },
|
22
|
-
jsonc: { jsonc },
|
23
|
-
yml: { yml },
|
24
|
-
} as const satisfies Record<Scope, Record<string, { configs: unknown }>>;
|
10
|
+
"@stylistic": stylistic,
|
11
|
+
"@typescript-eslint": ts as unknown as { configs: unknown },
|
12
|
+
svelte,
|
13
|
+
"@html-eslint": html,
|
14
|
+
jsonc,
|
15
|
+
yml,
|
16
|
+
} as const satisfies Boundary.Input.Plugins;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import HtmlRecommended from "./objects/html/HtmlRecommended.js";
|
3
3
|
import HtmlEnable from "./objects/html/HtmlEnable.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
HtmlRecommended,
|
7
7
|
HtmlEnable,
|
8
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
8
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import StylisticEnable from "./objects/js/StylisticEnable.js";
|
3
3
|
import JsEnable from "./objects/js/JsEnable.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
StylisticEnable,
|
7
7
|
JsEnable,
|
8
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
8
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import JsonEnableX from "./objects/json/JsonEnableX.js";
|
3
3
|
import JsonEnable from "./objects/json/JsonEnable.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
JsonEnableX,
|
7
7
|
JsonEnable,
|
8
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
8
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import JsonRuleset from "./JsonRule.js";
|
3
3
|
import JsoncOverride from "./objects/jsonc/JsoncOverride.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
...JsonRuleset,
|
7
7
|
JsoncOverride,
|
8
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
8
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import MdEnable from "./objects/md/MdEnable.js";
|
3
3
|
|
4
|
-
export default [MdEnable] as const satisfies readonly Input.Rules.Entry[];
|
4
|
+
export default [MdEnable] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import TsRuleset from "./TsRule.js";
|
3
3
|
import SvelteDisableJS from "./objects/svelte/SvelteDisableJS.js";
|
4
4
|
import SvelteDisableTS from "./objects/svelte/SvelteDisableTS.js";
|
@@ -13,4 +13,4 @@ export default [
|
|
13
13
|
SvelteDisableX,
|
14
14
|
SvelteEnableX,
|
15
15
|
SvelteEnable,
|
16
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
16
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import JsRuleset from "./JsRule.js";
|
3
3
|
import TsDisableCompiler from "./objects/ts/TsDisableCompiler.js";
|
4
4
|
import TsDisableX from "./objects/ts/TsDisableX.js";
|
@@ -11,4 +11,4 @@ export default [
|
|
11
11
|
TsDisableX,
|
12
12
|
TsEnableX,
|
13
13
|
TsEnable,
|
14
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
14
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import YmlEnableX from "./objects/yml/YmlEnableX.js";
|
3
3
|
import YmlEnable from "./objects/yml/YmlEnable.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
YmlEnableX,
|
7
7
|
YmlEnable,
|
8
|
-
] as const satisfies readonly Input.Rules.Entry[];
|
8
|
+
] as const satisfies readonly Boundary.Input.Rules.Preset.Entry[];
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
import { Enable } from "../id.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
Enable,
|
7
7
|
{ "@html-eslint/require-title": OFF },
|
8
|
-
] as const satisfies Input.Rules.Entry;
|
8
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import html from "@html-eslint/eslint-plugin";
|
2
|
-
import type {
|
2
|
+
import type { Boundary } from "@eslinted/core";
|
3
3
|
import { Recommended } from "../id.js";
|
4
4
|
|
5
5
|
export default [
|
6
6
|
Recommended,
|
7
|
-
(html.configs["flat/recommended"] as Record<"rules", Input.Rules.Entry
|
8
|
-
] as const satisfies Input.Rules.Entry;
|
7
|
+
(html.configs["flat/recommended"] as Record<"rules", Boundary.Input.Rules.Preset.Entry.Object>).rules, // Remove shared config once manually configured
|
8
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -475,4 +475,4 @@ export default [
|
|
475
475
|
|
476
476
|
// #endregion
|
477
477
|
},
|
478
|
-
] as const satisfies Input.Rules.Entry;
|
478
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -684,4 +684,4 @@ export default [
|
|
684
684
|
},
|
685
685
|
],
|
686
686
|
},
|
687
|
-
] as const satisfies Input.Rules.Entry;
|
687
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
} from "../state.js";
|
5
5
|
import { Enable } from "../id.js";
|
@@ -33,4 +33,4 @@ export default [
|
|
33
33
|
"jsonc/valid-json-number": ERROR,
|
34
34
|
"jsonc/vue-custom-block/no-parsing-error": ERROR,
|
35
35
|
},
|
36
|
-
] as const satisfies Input.Rules.Entry;
|
36
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -100,4 +100,4 @@ export default [
|
|
100
100
|
],
|
101
101
|
"jsonc/space-unary-ops": ERROR,
|
102
102
|
},
|
103
|
-
] as const satisfies Input.Rules.Entry;
|
103
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
ALWAYS_MULTILINE,
|
5
5
|
} from "../state.js";
|
@@ -16,4 +16,4 @@ export default [
|
|
16
16
|
ALWAYS_MULTILINE, // trailing commas are allowed in JSONC
|
17
17
|
],
|
18
18
|
},
|
19
|
-
] as const satisfies Input.Rules.Entry;
|
19
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
} from "../state.js";
|
5
5
|
import { Enable } from "../id.js";
|
@@ -64,4 +64,4 @@ export default [
|
|
64
64
|
{ style: "leading_and_trailing" },
|
65
65
|
],
|
66
66
|
},
|
67
|
-
] as const satisfies Input.Rules.Entry;
|
67
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
|
4
4
|
export default [
|
5
5
|
"disable-js",
|
@@ -10,4 +10,4 @@ export default [
|
|
10
10
|
"no-inner-declarations": OFF, // ESLint Core
|
11
11
|
"no-self-assign": OFF, // ESLint Core
|
12
12
|
},
|
13
|
-
] as const satisfies Input.Rules.Entry;
|
13
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
|
4
4
|
export default [
|
5
5
|
"disable-ts",
|
6
6
|
{ "@typescript-eslint/no-unused-vars": OFF },
|
7
|
-
] as const satisfies Input.Rules.Entry;
|
7
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
import { DisableX } from "../id.js";
|
4
4
|
|
5
5
|
export default [
|
@@ -12,4 +12,4 @@ export default [
|
|
12
12
|
// "@stylistic/no-trailing-spaces": OFF,
|
13
13
|
|
14
14
|
},
|
15
|
-
] as const satisfies Input.Rules.Entry;
|
15
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -211,4 +211,4 @@ export default [
|
|
211
211
|
],
|
212
212
|
"svelte/system": ERROR,
|
213
213
|
},
|
214
|
-
] as const satisfies Input.Rules.Entry;
|
214
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
BOTH,
|
5
5
|
} from "../state.js";
|
@@ -16,4 +16,4 @@ export default [
|
|
16
16
|
], /* Same options as in JsEnable */
|
17
17
|
"svelte/no-trailing-spaces": OFF, /* Only applies to HTML comments, which I don't intend to use: http://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/ */
|
18
18
|
},
|
19
|
-
] as const satisfies Input.Rules.Entry;
|
19
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
|
4
4
|
export default [
|
5
5
|
"disable-compiler",
|
@@ -19,4 +19,4 @@ export default [
|
|
19
19
|
"consistent-return": OFF,
|
20
20
|
"no-redeclare": OFF,
|
21
21
|
},
|
22
|
-
] as const satisfies Input.Rules.Entry;
|
22
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { OFF } from "../level.js";
|
3
3
|
import { DisableX } from "../id.js";
|
4
4
|
|
5
5
|
export default [
|
@@ -34,4 +34,4 @@ export default [
|
|
34
34
|
"prefer-promise-reject-errors": OFF,
|
35
35
|
"require-await": OFF,
|
36
36
|
},
|
37
|
-
] as const satisfies Input.Rules.Entry;
|
37
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
} from "../state.js";
|
@@ -549,4 +549,4 @@ export default [
|
|
549
549
|
],
|
550
550
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
551
551
|
},
|
552
|
-
] as const satisfies Input.Rules.Entry;
|
552
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
ALL,
|
5
5
|
ALWAYS,
|
@@ -116,4 +116,4 @@ export default [
|
|
116
116
|
"in-try-catch",
|
117
117
|
],
|
118
118
|
},
|
119
|
-
] as const satisfies Input.Rules.Entry;
|
119
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR, OFF } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR, OFF } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -74,4 +74,4 @@ export default [
|
|
74
74
|
"yml/sort-sequence-values": OFF,
|
75
75
|
"yml/vue-custom-block/no-parsing-error": ERROR,
|
76
76
|
},
|
77
|
-
] as const satisfies Input.Rules.Entry;
|
77
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import { ERROR } from "../
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
|
+
import { ERROR } from "../level.js";
|
3
3
|
import {
|
4
4
|
NEVER,
|
5
5
|
ALWAYS,
|
@@ -72,4 +72,4 @@ export default [
|
|
72
72
|
ALWAYS,
|
73
73
|
],
|
74
74
|
},
|
75
|
-
] as const satisfies Input.Rules.Entry;
|
75
|
+
] as const satisfies Boundary.Input.Rules.Preset.Entry;
|
package/src/rules/rules.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Boundary } from "@eslinted/core";
|
2
2
|
import js from "./rules/JsRule.js";
|
3
3
|
import ts from "./rules/TsRule.js";
|
4
4
|
import svelte from "./rules/SvelteRule.js";
|
@@ -15,4 +15,4 @@ export default {
|
|
15
15
|
json,
|
16
16
|
jsonc,
|
17
17
|
yml,
|
18
|
-
} as const satisfies Input.Rules;
|
18
|
+
} as const satisfies Boundary.Input.Rules.Preset;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"severity.d.ts","sourceRoot":"","sources":["../../../../src/rules/rules/objects/severity.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK,UAAU,EACrB,IAAI,SAAS,EACb,GAAG,QAAQ,CAAC;AAEZ,OAAO,EACL,KAAK,EACL,IAAI,EACJ,GAAG,GACJ,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"severity.js","sourceRoot":"","sources":["../../../../src/rules/rules/objects/severity.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,OAAO,EACrB,IAAI,GAAG,MAAM,EACb,GAAG,GAAG,KAAK,CAAC;AAEZ,OAAO,EACL,KAAK,EACL,IAAI,EACJ,GAAG,GACJ,CAAC"}
|
File without changes
|