@eslinted/core 22.0.1 → 22.0.2
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/.markdownlint.jsonc +6 -6
- package/dist/interface/config/rule.d.ts +1 -1
- package/dist/interface/config/rule.d.ts.map +1 -1
- package/dist/interface/input/configuration/attachment.d.ts +2 -2
- package/dist/interface/input/configuration/attachment.d.ts.map +1 -1
- package/dist/interface/input/configuration/extensions.d.ts +2 -2
- package/dist/interface/input/configuration/extensions.d.ts.map +1 -1
- package/dist/interface/input/configuration/settings.d.ts +1 -1
- package/dist/interface/input/configuration/settings.d.ts.map +1 -1
- package/dist/interface/output/configs/attachment.d.ts +2 -2
- package/dist/interface/output/configs/attachment.d.ts.map +1 -1
- package/dist/scope/dependencies/parsers.d.ts +1 -1
- package/dist/scope/dependencies/parsers.d.ts.map +1 -1
- package/dist/scope/dependencies/plugins.d.ts +1 -1
- package/dist/scope/dependencies/plugins.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/config/rule.ts +4 -5
- package/src/interface/input/configuration/attachment.ts +4 -4
- package/src/interface/input/configuration/extensions.ts +4 -4
- package/src/interface/input/configuration/settings.ts +2 -2
- package/src/interface/output/configs/attachment.ts +4 -4
- package/src/scope/dependencies/parsers.ts +5 -5
- package/src/scope/dependencies/plugins.ts +12 -12
package/.markdownlint.jsonc
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
// #region
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
// #region v38.0.0
|
3
|
+
"$schema": "https://gist.githubusercontent.com/jimmy-zhening-luo/e0d6b5715f0df18bc462f752520bd485/raw",
|
4
|
+
"$help": {
|
5
|
+
"link": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md",
|
6
|
+
},
|
6
7
|
// #endregion
|
7
|
-
// #region Rules
|
8
8
|
"heading-increment": true /* MD001 */,
|
9
9
|
"heading-style": {
|
10
10
|
"style": "atx",
|
@@ -67,6 +67,7 @@
|
|
67
67
|
"allowed_elements": [
|
68
68
|
"br",
|
69
69
|
"details",
|
70
|
+
"img",
|
70
71
|
"summary",
|
71
72
|
],
|
72
73
|
} /* MD033 */,
|
@@ -124,5 +125,4 @@
|
|
124
125
|
} /* MD055 */,
|
125
126
|
"table-column-count": true /* MD056 */,
|
126
127
|
"blanks-around-tables": false /* MD058 */,
|
127
|
-
// #endregion
|
128
128
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/interface/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/interface/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GACX,OAAO,GACP,MAAM,GACN,KAAK,CAAC;AACZ,MAAM,MAAM,KAAK,GAAG,MAAM,CACxB,MAAM,EACJ,KAAK,GACL,SAAS;IACT,KAAK;IACL,GAAG,OAAO,EAAE;CACb,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,WAAW,GACjB;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { IConfig } from "../../config/index.js";
|
2
|
-
export type Extensions<Scope extends string> =
|
2
|
+
export type Extensions<Scope extends string> = {
|
3
3
|
"*"?: Partial<IConfig["linterOptions"] & IConfig["languageOptions"]> & {
|
4
4
|
ignores?: string[];
|
5
5
|
override?: boolean;
|
@@ -8,5 +8,5 @@ export type Extensions<Scope extends string> = ({
|
|
8
8
|
files?: string[];
|
9
9
|
ignores?: string[];
|
10
10
|
rules?: IConfig["rules"];
|
11
|
-
}
|
11
|
+
}>>;
|
12
12
|
//# sourceMappingURL=extensions.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,KAAK,SAAS,MAAM,
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,KAAK,SAAS,MAAM,IAEhB;IACF,GAAG,CAAC,EAAE,OAAO,CACT,OAAO,CAAC,eAAe,CAAC,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAC7B,GAAG;QACF,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH,GACC,OAAO,CACP,MAAM,CACJ,KAAK,EACL;IACE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;CAC1B,CACF,CACF,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { IConfig } from "../../config/index.js";
|
2
2
|
import type { ScopeManifest } from "./manifest/index.js";
|
3
3
|
export interface Settings<Scope extends string, Parser extends string> {
|
4
|
-
global:
|
4
|
+
global: IConfig["linterOptions"] & IConfig["languageOptions"];
|
5
5
|
registry: Record<Scope, ScopeManifest<Parser>>;
|
6
6
|
}
|
7
7
|
//# sourceMappingURL=settings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,QAAQ,CACvB,KAAK,SAAS,MAAM,EACpB,MAAM,SAAS,MAAM;IAErB,MAAM,
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/configuration/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,QAAQ,CACvB,KAAK,SAAS,MAAM,EACpB,MAAM,SAAS,MAAM;IAErB,MAAM,EACF,OAAO,CAAC,eAAe,CAAC,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAC7B;IACD,QAAQ,EAAE,MAAM,CACd,KAAK,EACL,aAAa,CACX,MAAM,CACP,CACF,CAAC;CACH"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/configs/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/configs/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,UAAU,GAChB;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export type RequiredParser =
|
1
|
+
export type RequiredParser = "ts" | "html" | "yml";
|
2
2
|
//# sourceMappingURL=parsers.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/parsers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/parsers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACpB,IAAI,GACJ,MAAM,GACN,KAAK,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export type RequiredPlugin =
|
1
|
+
export type RequiredPlugin = "@stylistic" | "@typescript-eslint" | "mocha" | "chai-friendly" | "chai-expect" | "@html-eslint" | "css" | "json" | "jsonc" | "yml";
|
2
2
|
//# sourceMappingURL=plugins.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/scope/dependencies/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACpB,YAAY,GACZ,oBAAoB,GACpB,OAAO,GACP,eAAe,GACf,aAAa,GACb,cAAc,GACd,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,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/core",
|
6
|
-
"version": "22.0.
|
6
|
+
"version": "22.0.2",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -2,8 +2,8 @@ import type { IConfig } from "../../config";
|
|
2
2
|
|
3
3
|
export type Extensions<
|
4
4
|
Scope extends string,
|
5
|
-
>
|
6
|
-
& {
|
5
|
+
>
|
6
|
+
= & {
|
7
7
|
"*"?: Partial<
|
8
8
|
& IConfig["linterOptions"]
|
9
9
|
& IConfig["languageOptions"]
|
@@ -21,5 +21,5 @@ export type Extensions<
|
|
21
21
|
rules?: IConfig["rules"];
|
22
22
|
}
|
23
23
|
>
|
24
|
-
|
25
|
-
|
24
|
+
>;
|
25
|
+
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export type RequiredParser
|
2
|
-
| "ts"
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
export type RequiredParser
|
2
|
+
= | "ts"
|
3
|
+
| "html"
|
4
|
+
| "yml";
|
5
|
+
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export type RequiredPlugin
|
2
|
-
| "@stylistic"
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
1
|
+
export type RequiredPlugin
|
2
|
+
= | "@stylistic"
|
3
|
+
| "@typescript-eslint"
|
4
|
+
| "mocha"
|
5
|
+
| "chai-friendly"
|
6
|
+
| "chai-expect"
|
7
|
+
| "@html-eslint"
|
8
|
+
| "css"
|
9
|
+
| "json"
|
10
|
+
| "jsonc"
|
11
|
+
| "yml";
|
12
|
+
|