@eslinted/core 11.0.0-rc.0 → 11.0.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/options/json.d.ts +2 -1
- package/dist/factory/options/json.d.ts.map +1 -1
- package/dist/factory/options/json.js.map +1 -1
- package/dist/factory/options/jsonc.d.ts +2 -1
- package/dist/factory/options/jsonc.d.ts.map +1 -1
- package/dist/factory/options/jsonc.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/factory/options/json.ts +2 -1
- package/src/factory/options/jsonc.ts +3 -2
- package/src/index.ts +2 -2
@@ -1,5 +1,6 @@
|
|
1
1
|
import Option from "./option/index.js";
|
2
|
-
|
2
|
+
import type Js from "./js.js";
|
3
|
+
export default class Json extends Option<"json", "json" | keyof Js["option"]["plugins"], true, false, 0, never, never, {
|
3
4
|
language: "json/json";
|
4
5
|
}> {
|
5
6
|
readonly scope = "json";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,MAAM,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACtC,IAAI,EACJ,KAAK,EACL,CAAC,EACD,KAAK,EACL,KAAK,EACL;IAAE,QAAQ,EAAE,WAAW,CAAA;CAAE,CAC1B;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ;;MAAsC;IAE9D,IAAW,eAAe;;;MAKzB;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAG9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MASjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAW,CAAC;IAE9D,IAAW,eAAe;QACxB,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import Option from "./option/index.js";
|
2
|
-
|
2
|
+
import type Json from "./json.js";
|
3
|
+
export default class Jsonc extends Option<"jsonc", keyof Json["plugins"], true, false, ConstructorParameters<typeof Json>[1]["length"], never, never, {
|
3
4
|
language: "json/jsonc";
|
4
5
|
}> {
|
5
6
|
readonly scope = "jsonc";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,MAAM,IAAI,CAAC,SAAS,CAAC,EACrB,IAAI,EACJ,KAAK,EACL,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAC/C,KAAK,EACL,KAAK,EACL;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAC3B;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ;;MAAuC;IAE/D,IAAW,eAAe;;;;MAMzB;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAG9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MASlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAW,CAAC;IAE/D,IAAW,eAAe;QACxB,OAAO;YACL,mBAAmB,EAAE,IAAI;YACzB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
|
package/dist/index.js
CHANGED
@@ -14,9 +14,9 @@ export default function (input) {
|
|
14
14
|
html: new Options
|
15
15
|
.html({ "@html-eslint": plugins["@html-eslint"] }, [parsers.html], ...factory.produce("html")).configs,
|
16
16
|
json: new Options
|
17
|
-
.json({ json: plugins.json }, [], ...factory.produce("json")).configs,
|
17
|
+
.json({ "@stylistic": plugins["@stylistic"], json: plugins.json }, [], ...factory.produce("json")).configs,
|
18
18
|
jsonc: new Options
|
19
|
-
.jsonc({ json: plugins.json }, [], ...factory.produce("jsonc")).configs,
|
19
|
+
.jsonc({ "@stylistic": plugins["@stylistic"], json: plugins.json }, [], ...factory.produce("jsonc")).configs,
|
20
20
|
yml: new Options
|
21
21
|
.yml({ yml: plugins.yml }, [parsers.yml], ...factory.produce("yml")).configs,
|
22
22
|
};
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EACL,OAAO,EACP,OAAO,GACR,MAAM,WAAW,CAAC;AAEnB,MAAM,CAAC,OAAO,WAAW,KAAY;IACnC,IAAI,CAAC;QACH,MAAM,EACJ,OAAO,EACP,OAAO,EACP,KAAK,EACL,KAAK,GACN,GAAG,KAAK,EACT,OAAO,GAAG,IAAI,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EACnC,OAAO,GAAiF;YACtF,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,EACvC,EAAE,EACF,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CACzB,CAAC,OAAO;YACX,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,EAC5F,CAAC,OAAO,CAAC,EAAE,CAAC,EACZ,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CACzB,CAAC,OAAO;YACX,MAAM,EAAE,IAAI,OAAO;iBAChB,MAAM,CACL,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,EACpH,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,EAC5B,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC7B,CAAC,OAAO;YACX,KAAK,EAAE,IAAI,OAAO;iBACf,KAAK,CACJ,EAAE,YAAY,EAAE,OAAO,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AC,OAAO,CAAC,CAC5B,CAAC,OAAO;YACX,GAAG,EAAE,IAAI,OAAO;iBACb,GAAG,CACF,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,EACpB,CAAC,OAAO,CAAC,GAAG,CAAC,EACb,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAC1B,CAAC,OAAO;SACZ,CAAC;QAEF,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IACjD,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC7D,CAAC"}
|
package/package.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
import Option from "./option";
|
2
|
+
import type Json from "./json";
|
2
3
|
|
3
4
|
export default class Jsonc extends Option<
|
4
5
|
"jsonc",
|
5
|
-
"
|
6
|
+
keyof Json["plugins"],
|
6
7
|
true,
|
7
8
|
false,
|
8
|
-
|
9
|
+
ConstructorParameters<typeof Json>[1]["length"],
|
9
10
|
never,
|
10
11
|
never,
|
11
12
|
{ language: "json/jsonc" }
|
package/src/index.ts
CHANGED
@@ -53,13 +53,13 @@ export default function (input: Input): Output {
|
|
53
53
|
).configs,
|
54
54
|
json: new Options
|
55
55
|
.json(
|
56
|
-
{ json: plugins.json },
|
56
|
+
{ "@stylistic": plugins["@stylistic"], json: plugins.json },
|
57
57
|
[],
|
58
58
|
...factory.produce("json"),
|
59
59
|
).configs,
|
60
60
|
jsonc: new Options
|
61
61
|
.jsonc(
|
62
|
-
{ json: plugins.json },
|
62
|
+
{ "@stylistic": plugins["@stylistic"], json: plugins.json },
|
63
63
|
[],
|
64
64
|
...factory.produce("jsonc"),
|
65
65
|
).configs,
|