@eslinted/core 5.0.0-rc.1 → 5.0.0-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/options/index.d.ts +0 -2
- package/dist/factory/options/index.d.ts.map +1 -1
- package/dist/factory/options/index.js +0 -2
- package/dist/factory/options/index.js.map +1 -1
- package/dist/factory/options/option/template/globals.js +1 -0
- package/dist/factory/options/option/template/index.js +1 -0
- package/dist/factory/options/option/template/language/ecma.js +1 -0
- package/dist/factory/options/option/template/language/index.js +1 -0
- package/dist/factory/options/option/template/language/source.js +1 -0
- package/dist/factory/options/option/template/linter.js +1 -0
- package/dist/factory/options/option/template/plugins.js +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/input/files.js +1 -0
- package/dist/input/imports/parsers.d.ts +1 -1
- package/dist/input/imports/parsers.d.ts.map +1 -1
- package/dist/input/imports/parsers.js +1 -0
- package/dist/input/imports/plugins.d.ts +1 -1
- package/dist/input/imports/plugins.d.ts.map +1 -1
- package/dist/input/imports/plugins.js +1 -0
- package/dist/input/index.js +1 -0
- package/dist/input/parsers.js +1 -0
- package/dist/input/plugins.js +1 -0
- package/dist/input/rules/entry/index.js +1 -0
- package/dist/input/rules/entry/record/index.js +1 -0
- package/dist/input/rules/entry/record/state.js +1 -0
- package/dist/input/rules/index.js +1 -0
- package/dist/output.js +1 -0
- package/dist/scopes.d.ts +1 -1
- package/dist/scopes.d.ts.map +1 -1
- package/dist/scopes.js +0 -1
- package/dist/scopes.js.map +1 -1
- package/package.json +1 -1
- package/src/factory/options/index.ts +0 -2
- package/src/index.ts +0 -7
- package/src/input/imports/parsers.ts +0 -1
- package/src/input/imports/plugins.ts +0 -1
- package/src/scopes.ts +0 -1
- package/tsconfig.json +2 -2
- package/dist/factory/options/md.d.ts +0 -9
- package/dist/factory/options/md.d.ts.map +0 -1
- package/dist/factory/options/md.js +0 -10
- package/dist/factory/options/md.js.map +0 -1
- package/src/factory/options/md.ts +0 -18
@@ -7,7 +7,6 @@ import html from "./html.js";
|
|
7
7
|
import json from "./json.js";
|
8
8
|
import jsonc from "./jsonc.js";
|
9
9
|
import yml from "./yml.js";
|
10
|
-
import md from "./md.js";
|
11
10
|
declare const _default: {
|
12
11
|
readonly js: typeof js;
|
13
12
|
readonly ts: typeof ts;
|
@@ -17,7 +16,6 @@ declare const _default: {
|
|
17
16
|
readonly json: typeof json;
|
18
17
|
readonly jsonc: typeof jsonc;
|
19
18
|
readonly yml: typeof yml;
|
20
|
-
readonly md: typeof md;
|
21
19
|
};
|
22
20
|
export default _default;
|
23
21
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;AAExB,wBASW"}
|
@@ -6,7 +6,6 @@ import html from "./html.js";
|
|
6
6
|
import json from "./json.js";
|
7
7
|
import jsonc from "./jsonc.js";
|
8
8
|
import yml from "./yml.js";
|
9
|
-
import md from "./md.js";
|
10
9
|
export default {
|
11
10
|
js,
|
12
11
|
ts,
|
@@ -16,6 +15,5 @@ export default {
|
|
16
15
|
json,
|
17
16
|
jsonc,
|
18
17
|
yml,
|
19
|
-
md,
|
20
18
|
};
|
21
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOlC,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EACzB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GACpB,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOlC,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EACzB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GACpB,MAAM,CAkER;AAGD,kBAAU,IAAI,CAAC;IACb,KAAY,MAAM,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3C,UAAiB,KAAK,CAAC;QACrB,KAAY,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;QACvC,KAAY,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;QACvC,KAAY,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,UAAiB,KAAK,CAAC;YACrB,KAAY,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;YAClC,KAAY,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;SAC1C;QACD,KAAY,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,UAAiB,KAAK,CAAC;YACrB,KAAY,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;YAClC,KAAY,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;SAC5C;KACF;IACD,KAAY,MAAM,GAAG,MAAM,EAAE,CAAC;CAC/B;AAED,YAAY,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
@@ -19,8 +19,6 @@ export default function (plugins, parsers, files, rules) {
|
|
19
19
|
.jsonc({ jsonc: plugins.jsonc }, [parsers.jsonc], F.files("jsonc"), R.ruleset("jsonc")).configs,
|
20
20
|
yml: new Options
|
21
21
|
.yml({ yml: plugins.yml }, [parsers.yml], F.files("yml"), R.ruleset("yml")).configs,
|
22
|
-
md: new Options
|
23
|
-
.md({ markdownlint: plugins.markdownlint }, [parsers.md], F.files("md"), R.ruleset("md")).configs,
|
24
22
|
};
|
25
23
|
return scopes.flatMap(scope => options[scope]);
|
26
24
|
}
|
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,KAAK,EACL,QAAQ,EACR,OAAO,GACR,MAAM,WAAW,CAAC;AAEnB,M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E,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC7D,CAAC"}
|
package/dist/input/files.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/input/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,MAAM,MAAM,OAAO,GAAG,KAAK,GACvB,CACE,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/input/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,MAAM,MAAM,OAAO,GAAG,KAAK,GACvB,CACE,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,CACV,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export type Plugins = ("@stylistic" | "@typescript-eslint" | "svelte" | "mocha" | "@html-eslint" | "jsonc" | "yml"
|
1
|
+
export type Plugins = ("@stylistic" | "@typescript-eslint" | "svelte" | "mocha" | "@html-eslint" | "jsonc" | "yml");
|
2
2
|
//# sourceMappingURL=plugins.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/input/imports/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,CAClB,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,OAAO,GACP,KAAK,
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/input/imports/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,CAClB,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,OAAO,GACP,KAAK,CACR,CAAC"}
|
package/dist/input/index.js
CHANGED
package/dist/input/parsers.js
CHANGED
package/dist/input/plugins.js
CHANGED
package/dist/output.js
CHANGED
package/dist/scopes.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
export type Scope = typeof scopes[number];
|
2
|
-
export declare const scopes: readonly ["js", "ts", "svelte", "mocha", "html", "json", "jsonc", "yml"
|
2
|
+
export declare const scopes: readonly ["js", "ts", "svelte", "mocha", "html", "json", "jsonc", "yml"];
|
3
3
|
//# sourceMappingURL=scopes.d.ts.map
|
package/dist/scopes.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC1C,eAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC1C,eAAO,MAAM,MAAM,0EAST,CAAC"}
|
package/dist/scopes.js
CHANGED
package/dist/scopes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;
|
1
|
+
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC"}
|
package/package.json
CHANGED
@@ -8,7 +8,6 @@ import html from "./html";
|
|
8
8
|
import json from "./json";
|
9
9
|
import jsonc from "./jsonc";
|
10
10
|
import yml from "./yml";
|
11
|
-
import md from "./md";
|
12
11
|
|
13
12
|
export default {
|
14
13
|
js,
|
@@ -19,5 +18,4 @@ export default {
|
|
19
18
|
json,
|
20
19
|
jsonc,
|
21
20
|
yml,
|
22
|
-
md,
|
23
21
|
} as const;
|
package/src/index.ts
CHANGED
@@ -78,13 +78,6 @@ export default function (
|
|
78
78
|
F.files("yml"),
|
79
79
|
R.ruleset("yml"),
|
80
80
|
).configs,
|
81
|
-
md: new Options
|
82
|
-
.md(
|
83
|
-
{ markdownlint: plugins.markdownlint },
|
84
|
-
[parsers.md],
|
85
|
-
F.files("md"),
|
86
|
-
R.ruleset("md"),
|
87
|
-
).configs,
|
88
81
|
};
|
89
82
|
|
90
83
|
return scopes.flatMap(scope => options[scope]);
|
package/src/scopes.ts
CHANGED
package/tsconfig.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"display": "@jimbojet/tsc",
|
3
|
-
"_version": "5.6.
|
3
|
+
"_version": "5.6.4",
|
4
4
|
"_help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
5
|
"$schema": "https://json.schemastore.org/tsconfig",
|
6
6
|
"include": [
|
@@ -40,7 +40,7 @@
|
|
40
40
|
// "allowUmdGlobalAccess": true,
|
41
41
|
// "baseUrl": "./",
|
42
42
|
// "customConditions": [],
|
43
|
-
"module": "
|
43
|
+
"module": "es2022",
|
44
44
|
"moduleResolution": "bundler",
|
45
45
|
// "moduleSuffixes": [],
|
46
46
|
// "noResolve": true,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import Option from "./option/index.js";
|
2
|
-
export default class Md extends Option<"md", "markdownlint", false, true, 1> {
|
3
|
-
readonly scope = "md";
|
4
|
-
readonly processor: {};
|
5
|
-
get languageOptions(): {
|
6
|
-
readonly parser: unknown;
|
7
|
-
};
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=md.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"md.d.ts","sourceRoot":"","sources":["../../../src/factory/options/md.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"md.js","sourceRoot":"","sources":["../../../src/factory/options/md.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAM/B;IACiB,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import Option from "./option";
|
2
|
-
|
3
|
-
export default class Md extends Option<
|
4
|
-
"md",
|
5
|
-
"markdownlint",
|
6
|
-
false,
|
7
|
-
true,
|
8
|
-
1
|
9
|
-
> {
|
10
|
-
public readonly scope = "md";
|
11
|
-
public readonly processor = {} as const;
|
12
|
-
|
13
|
-
public get languageOptions() {
|
14
|
-
const [parser] = this.parser;
|
15
|
-
|
16
|
-
return { parser } as const;
|
17
|
-
}
|
18
|
-
}
|