@eslinted/core 22.0.0 → 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.
@@ -1,10 +1,10 @@
1
1
  {
2
- // #region Meta
3
- // "$md": "37.2.0",
4
- // "$help": "https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/Rules.md",
5
- // "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.37.4/schema/markdownlint-config-schema.json",
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,4 +1,4 @@
1
- export type State = ("error" | "warn" | "off");
1
+ export type State = "error" | "warn" | "off";
2
2
  export type Rules = Record<string, State | readonly [
3
3
  State,
4
4
  ...unknown[]
@@ -1 +1 @@
1
- {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/interface/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,CAChB,OAAO,GACP,MAAM,GACN,KAAK,CACR,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,MAAM,CACxB,MAAM,EACJ,KAAK,GACL,SAAS;IACT,KAAK;IACL,GAAG,OAAO,EAAE;CACb,CACF,CAAC"}
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,5 +1,5 @@
1
1
  import type { IConfig } from "../../config/index.js";
2
- export type IAttachment = ({
2
+ export type IAttachment = {
3
3
  files: string[];
4
- } & Partial<Omit<IConfig, "files">>);
4
+ } & Partial<Omit<IConfig, "files">>;
5
5
  //# sourceMappingURL=attachment.d.ts.map
@@ -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,GAAG,CACtB;IACA,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CACF,CAAC"}
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,IAClB,CACA;IACA,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,CACF,CAAC"}
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: (IConfig["linterOptions"] & IConfig["languageOptions"]);
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,EAAE,CACJ,OAAO,CAAC,eAAe,CAAC,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAC7B,CAAC;IACF,QAAQ,EAAE,MAAM,CACd,KAAK,EACL,aAAa,CACX,MAAM,CACP,CACF,CAAC;CACH"}
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,5 +1,5 @@
1
1
  import type { IConfig } from "../../config/index.js";
2
- export type Attachment = ({
2
+ export type Attachment = {
3
3
  files: string[];
4
- } & Partial<Omit<IConfig, "files">>);
4
+ } & Partial<Omit<IConfig, "files">>;
5
5
  //# sourceMappingURL=attachment.d.ts.map
@@ -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,GAAG,CACrB;IACA,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,OAAO,CACP,IAAI,CACF,OAAO,EACP,OAAO,CACR,CACF,CACF,CAAC"}
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 = ("ts" | "html" | "yml");
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,GAAG,CACzB,IAAI,GACJ,MAAM,GACN,KAAK,CACR,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 = ("@stylistic" | "@typescript-eslint" | "mocha" | "chai-friendly" | "chai-expect" | "@html-eslint" | "css" | "json" | "jsonc" | "yml");
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,GAAG,CACzB,YAAY,GACZ,oBAAoB,GACpB,OAAO,GACP,eAAe,GACf,aAAa,GACb,cAAc,GACd,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,CACR,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
@@ -1,15 +1,15 @@
1
1
  {
2
- "$pkg": "2217.2.0",
2
+ "$pkg": "2217.3.0",
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.0",
6
+ "version": "22.0.2",
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
8
8
  "private": false,
9
9
  "engineStrict": true,
10
10
  "engines": {
11
- "node": ">=22.17.0",
12
- "npm": ">=11.4.2 <12"
11
+ "node": "^22.17.1",
12
+ "npm": "^11.4.2"
13
13
  },
14
14
  "type": "module",
15
15
  "peerDependenciesMeta": {},
@@ -1,8 +1,7 @@
1
- export type State = (
2
- | "error"
3
- | "warn"
4
- | "off"
5
- );
1
+ export type State
2
+ = | "error"
3
+ | "warn"
4
+ | "off";
6
5
  export type Rules = Record<
7
6
  string,
8
7
  | State
@@ -1,7 +1,7 @@
1
1
  import type { IConfig } from "../../config";
2
2
 
3
- export type IAttachment = (
4
- & {
3
+ export type IAttachment
4
+ = & {
5
5
  files: string[];
6
6
  }
7
7
  & Partial<
@@ -9,5 +9,5 @@ export type IAttachment = (
9
9
  IConfig,
10
10
  "files"
11
11
  >
12
- >
13
- );
12
+ >;
13
+
@@ -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
+
@@ -5,10 +5,10 @@ export interface Settings<
5
5
  Scope extends string,
6
6
  Parser extends string,
7
7
  > {
8
- global: (
8
+ global:
9
9
  & IConfig["linterOptions"]
10
10
  & IConfig["languageOptions"]
11
- );
11
+ ;
12
12
  registry: Record<
13
13
  Scope,
14
14
  ScopeManifest<
@@ -1,7 +1,7 @@
1
1
  import type { IConfig } from "../../config";
2
2
 
3
- export type Attachment = (
4
- & {
3
+ export type Attachment
4
+ = & {
5
5
  files: string[];
6
6
  }
7
7
  & Partial<
@@ -9,5 +9,5 @@ export type Attachment = (
9
9
  IConfig,
10
10
  "files"
11
11
  >
12
- >
13
- );
12
+ >;
13
+
@@ -1,5 +1,5 @@
1
- export type RequiredParser = (
2
- | "ts"
3
- | "html"
4
- | "yml"
5
- );
1
+ export type RequiredParser
2
+ = | "ts"
3
+ | "html"
4
+ | "yml";
5
+
@@ -1,12 +1,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
- );
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
+
package/SECURITY.md DELETED
@@ -1,8 +0,0 @@
1
- # Security Policy
2
-
3
- ## Reporting a Vulnerability
4
- This repository participates in GitHub private vulnerability reporting.
5
-
6
- [__⚑ Report Vulnerability__](./../../security/advisories/new)
7
-
8
- Thank you for your dedication to safety.