@eslinted/core 15.1.1 → 15.2.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.
@@ -43,6 +43,7 @@ export declare class Factory {
43
43
  readonly languageOptions: {
44
44
  readonly parserOptions?: {
45
45
  readonly parser?: unknown;
46
+ readonly defaultYAMLVersion: "1.2";
46
47
  } | {
47
48
  readonly parser?: unknown;
48
49
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC;AAE9C,qBAAa,OAAO;aAMA,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC;IALtD,SAAgB,MAAM;;;;;;;;;;;;;;;;MAAC;IACvB,SAAgB,MAAM;;;;MAAC;gBAGrB,IAAI,EAAE,OAAO,IAAI,EACD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,EACpD,EACE,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,YAAY,GACpB,EAAE,KAAK,CAAC,UAAU,CAAC,EACpB,EACE,GAAG,EAAE,eAAoB,EACzB,GAAG,eAAe,EACnB,GAAE,KAAK,CAAC,YAAY,CAAe;IA2D/B,KAAK,CAAC,CAAC,SAAS,MAAM,OAAO,cAAc,EAAE,KAAK,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsD7D"}
@@ -6,6 +6,7 @@ export default class YmlManifest extends ScopeManifest<"yml"> {
6
6
  };
7
7
  readonly parserOptions: {
8
8
  readonly parser: null;
9
+ readonly defaultYAMLVersion: "1.2";
9
10
  };
10
11
  readonly processor: {};
11
12
  readonly language: {};
@@ -1 +1 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,aAAa,CAAC,KAAK,CAAC;IAC3D,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;MAA6B;IAC1D,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,aAAa,CAAC,KAAK,CAAC;IAC3D,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;;MAIlB;IACX,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
@@ -4,7 +4,10 @@ export default class YmlManifest extends ScopeManifest {
4
4
  parser: "yml",
5
5
  globals: null,
6
6
  };
7
- parserOptions = { parser: null };
7
+ parserOptions = {
8
+ parser: null,
9
+ defaultYAMLVersion: "1.2",
10
+ };
8
11
  processor = {};
9
12
  language = {};
10
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/factory/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,aAAoB;IAC3C,eAAe,GAAG;QAChC,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,IAAI;KACL,CAAC;IACK,aAAa,GAAG,EAAE,MAAM,EAAE,IAAI,EAAW,CAAC;IAC1C,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/factory/scopes/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,aAAoB;IAC3C,eAAe,GAAG;QAChC,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,IAAI;KACL,CAAC;IACK,aAAa,GAAG;QAE9B,MAAM,EAAE,IAAI;QACZ,kBAAkB,EAAE,KAAK;KACjB,CAAC;IACK,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.13.0",
3
3
  "name": "@eslinted/core",
4
- "version": "15.1.1",
4
+ "version": "15.2.1",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@types/chai": "^5.0.1",
35
35
  "@types/mocha": "^10.0.10",
36
- "@types/node": "^22.10.5",
36
+ "@types/node": "^22.10.6",
37
37
  "chai": "^5.1.2",
38
38
  "mocha": "^11.0.1",
39
39
  "npm-run-all": "^4.1.5",
@@ -5,7 +5,11 @@ export default class YmlManifest extends ScopeManifest<"yml"> {
5
5
  parser: "yml",
6
6
  globals: null,
7
7
  } as const;
8
- public readonly parserOptions = { parser: null } as const;
8
+ public readonly parserOptions = {
9
+ /* DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration */
10
+ parser: null,
11
+ defaultYAMLVersion: "1.2" /* @default: "1.2" | "1.1" */,
12
+ } as const;
9
13
  public readonly processor = {} as const;
10
14
  public readonly language = {} as const;
11
15
  }