@eslinted/core 4.0.5-rc.0 → 4.0.5-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/factory/files.d.ts +8 -0
- package/dist/factory/files.d.ts.map +1 -0
- package/dist/factory/files.js +16 -0
- package/dist/factory/files.js.map +1 -0
- package/dist/factory/index.d.ts +5 -0
- package/dist/factory/index.d.ts.map +1 -0
- package/dist/factory/index.js +5 -0
- package/dist/factory/index.js.map +1 -0
- package/dist/factory/options/html.d.ts +9 -0
- package/dist/factory/options/html.d.ts.map +1 -0
- package/dist/factory/options/html.js +10 -0
- package/dist/factory/options/html.js.map +1 -0
- package/dist/factory/options/index.d.ts +22 -0
- package/dist/factory/options/index.d.ts.map +1 -0
- package/dist/factory/options/index.js +21 -0
- package/dist/factory/options/index.js.map +1 -0
- package/dist/factory/options/js.d.ts +10 -0
- package/dist/factory/options/js.d.ts.map +1 -0
- package/dist/factory/options/js.js +12 -0
- package/dist/factory/options/js.js.map +1 -0
- package/dist/factory/options/json.d.ts +9 -0
- package/dist/factory/options/json.d.ts.map +1 -0
- package/dist/factory/options/json.js +10 -0
- package/dist/factory/options/json.js.map +1 -0
- package/dist/factory/options/jsonc.d.ts +9 -0
- package/dist/factory/options/jsonc.d.ts.map +1 -0
- package/dist/factory/options/jsonc.js +10 -0
- package/dist/factory/options/jsonc.js.map +1 -0
- package/dist/factory/options/md.d.ts +9 -0
- package/dist/factory/options/md.d.ts.map +1 -0
- package/dist/factory/options/md.js +10 -0
- package/dist/factory/options/md.js.map +1 -0
- package/dist/factory/options/mocha.d.ts +40 -0
- package/dist/factory/options/mocha.d.ts.map +1 -0
- package/dist/factory/options/mocha.js +17 -0
- package/dist/factory/options/mocha.js.map +1 -0
- package/dist/factory/options/option/index.d.ts +2989 -0
- package/dist/factory/options/option/index.d.ts.map +1 -0
- package/dist/factory/options/option/index.js +56 -0
- package/dist/factory/options/option/index.js.map +1 -0
- package/dist/factory/options/option/params/globals.d.ts +3 -0
- package/dist/factory/options/option/params/globals.d.ts.map +1 -0
- package/dist/factory/options/option/params/globals.js +2 -0
- package/dist/factory/options/option/params/globals.js.map +1 -0
- package/dist/factory/options/option/params/language.d.ts +14 -0
- package/dist/factory/options/option/params/language.d.ts.map +1 -0
- package/dist/factory/options/option/params/language.js +2 -0
- package/dist/factory/options/option/params/language.js.map +1 -0
- package/dist/factory/options/option/params/languageOptions/ecma.d.ts +2 -0
- package/dist/factory/options/option/params/languageOptions/ecma.d.ts.map +1 -0
- package/dist/factory/options/option/params/languageOptions/ecma.js +2 -0
- package/dist/factory/options/option/params/languageOptions/ecma.js.map +1 -0
- package/dist/factory/options/option/params/languageOptions/source.d.ts +2 -0
- package/dist/factory/options/option/params/languageOptions/source.d.ts.map +1 -0
- package/dist/factory/options/option/params/languageOptions/source.js +2 -0
- package/dist/factory/options/option/params/languageOptions/source.js.map +1 -0
- package/dist/factory/options/option/params/linter.d.ts +5 -0
- package/dist/factory/options/option/params/linter.d.ts.map +1 -0
- package/dist/factory/options/option/params/linter.js +2 -0
- package/dist/factory/options/option/params/linter.js.map +1 -0
- package/dist/factory/options/option/params/plugins.d.ts +4 -0
- package/dist/factory/options/option/params/plugins.d.ts.map +1 -0
- package/dist/factory/options/option/params/plugins.js +2 -0
- package/dist/factory/options/option/params/plugins.js.map +1 -0
- package/dist/factory/options/option/template.d.ts +14 -0
- package/dist/factory/options/option/template.d.ts.map +1 -0
- package/dist/factory/options/option/template.js +2 -0
- package/dist/factory/options/option/template.js.map +1 -0
- package/dist/factory/options/svelte.d.ts +27 -0
- package/dist/factory/options/svelte.d.ts.map +1 -0
- package/dist/factory/options/svelte.js +21 -0
- package/dist/factory/options/svelte.js.map +1 -0
- package/dist/factory/options/ts.d.ts +19 -0
- package/dist/factory/options/ts.d.ts.map +1 -0
- package/dist/factory/options/ts.js +15 -0
- package/dist/factory/options/ts.js.map +1 -0
- package/dist/factory/options/yml.d.ts +9 -0
- package/dist/factory/options/yml.d.ts.map +1 -0
- package/dist/factory/options/yml.js +10 -0
- package/dist/factory/options/yml.js.map +1 -0
- package/dist/factory/ruleset/index.d.ts +14 -0
- package/dist/factory/ruleset/index.d.ts.map +1 -0
- package/dist/factory/ruleset/index.js +38 -0
- package/dist/factory/ruleset/index.js.map +1 -0
- package/dist/factory/ruleset/rule.d.ts +7 -0
- package/dist/factory/ruleset/rule.d.ts.map +1 -0
- package/dist/factory/ruleset/rule.js +9 -0
- package/dist/factory/ruleset/rule.js.map +1 -0
- package/dist/factory/rulesets.d.ts +9 -0
- package/dist/factory/rulesets.d.ts.map +1 -0
- package/dist/factory/rulesets.js +17 -0
- package/dist/factory/rulesets.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/input.d.ts +11 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +2 -0
- package/dist/input.js.map +1 -0
- package/dist/inputs/files/base.d.ts +3 -0
- package/dist/inputs/files/base.d.ts.map +1 -0
- package/dist/inputs/files/base.js +2 -0
- package/dist/inputs/files/base.js.map +1 -0
- package/dist/inputs/files/includes.d.ts +3 -0
- package/dist/inputs/files/includes.d.ts.map +1 -0
- package/dist/inputs/files/includes.js +2 -0
- package/dist/inputs/files/includes.js.map +1 -0
- package/dist/inputs/files.d.ts +7 -0
- package/dist/inputs/files.d.ts.map +1 -0
- package/dist/inputs/files.js +2 -0
- package/dist/inputs/files.js.map +1 -0
- package/dist/inputs/imports/parsers.d.ts +3 -0
- package/dist/inputs/imports/parsers.d.ts.map +1 -0
- package/dist/inputs/imports/parsers.js +2 -0
- package/dist/inputs/imports/parsers.js.map +1 -0
- package/dist/inputs/imports/plugins.d.ts +2 -0
- package/dist/inputs/imports/plugins.d.ts.map +1 -0
- package/dist/inputs/imports/plugins.js +2 -0
- package/dist/inputs/imports/plugins.js.map +1 -0
- package/dist/inputs/imports.d.ts +3 -0
- package/dist/inputs/imports.d.ts.map +1 -0
- package/dist/inputs/imports.js +2 -0
- package/dist/inputs/imports.js.map +1 -0
- package/dist/inputs/parsers.d.ts +3 -0
- package/dist/inputs/parsers.d.ts.map +1 -0
- package/dist/inputs/parsers.js +2 -0
- package/dist/inputs/parsers.js.map +1 -0
- package/dist/inputs/plugins.d.ts +5 -0
- package/dist/inputs/plugins.d.ts.map +1 -0
- package/dist/inputs/plugins.js +2 -0
- package/dist/inputs/plugins.js.map +1 -0
- package/dist/inputs/rules/entry/index.d.ts +3 -0
- package/dist/inputs/rules/entry/index.d.ts.map +1 -0
- package/dist/inputs/rules/entry/index.js +2 -0
- package/dist/inputs/rules/entry/index.js.map +1 -0
- package/dist/inputs/rules/entry/object/index.d.ts +3 -0
- package/dist/inputs/rules/entry/object/index.d.ts.map +1 -0
- package/dist/inputs/rules/entry/object/index.js +2 -0
- package/dist/inputs/rules/entry/object/index.js.map +1 -0
- package/dist/inputs/rules/entry/object/state/index.d.ts +2 -0
- package/dist/inputs/rules/entry/object/state/index.d.ts.map +1 -0
- package/dist/inputs/rules/entry/object/state/index.js +2 -0
- package/dist/inputs/rules/entry/object/state/index.js.map +1 -0
- package/dist/inputs/rules/overrides.d.ts +4 -0
- package/dist/inputs/rules/overrides.d.ts.map +1 -0
- package/dist/inputs/rules/overrides.js +2 -0
- package/dist/inputs/rules/overrides.js.map +1 -0
- package/dist/inputs/rules/preset.d.ts +4 -0
- package/dist/inputs/rules/preset.d.ts.map +1 -0
- package/dist/inputs/rules/preset.js +2 -0
- package/dist/inputs/rules/preset.js.map +1 -0
- package/dist/inputs/rules.d.ts +7 -0
- package/dist/inputs/rules.d.ts.map +1 -0
- package/dist/inputs/rules.js +2 -0
- package/dist/inputs/rules.js.map +1 -0
- package/dist/output.d.ts +22 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +2 -0
- package/dist/output.js.map +1 -0
- package/dist/scopes.d.ts +3 -0
- package/dist/scopes.d.ts.map +1 -0
- package/dist/scopes.js +12 -0
- package/dist/scopes.js.map +1 -0
- package/package.json +3 -11
- package/src/factory/files.ts +2 -2
- package/src/factory/options/option/index.ts +3 -3
- package/src/factory/ruleset/index.ts +2 -2
- package/src/factory/ruleset/rule.ts +1 -1
- package/src/factory/rulesets.ts +2 -2
- package/src/index.ts +3 -0
- package/src/inputs/files/base.ts +1 -1
- package/src/inputs/imports/parsers.ts +1 -1
- package/src/inputs/rules/overrides.ts +1 -1
- package/src/inputs/rules/preset.ts +1 -1
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Scope } from "@eslinted/core";
|
2
|
+
import type { Input } from "@eslinted/core";
|
3
|
+
export declare class Files {
|
4
|
+
private readonly input;
|
5
|
+
constructor(input: Input["files"]);
|
6
|
+
files(scope: Scope): readonly string[];
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=files.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/factory/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,qBAAa,KAAK;IACJ,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;IAE3C,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAQ9C"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export class Files {
|
2
|
+
input;
|
3
|
+
constructor(input) {
|
4
|
+
this.input = input;
|
5
|
+
}
|
6
|
+
files(scope) {
|
7
|
+
try {
|
8
|
+
const { files, includes } = this.input;
|
9
|
+
return [...files[scope], ...includes[scope] ?? []];
|
10
|
+
}
|
11
|
+
catch (e) {
|
12
|
+
throw new Error(`linted.factory.Files/scope:${scope}`, { cause: e });
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=files.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/factory/files.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,KAAK;IACa;IAA7B,YAA6B,KAAqB;QAArB,UAAK,GAAL,KAAK,CAAgB;IAAG,CAAC;IAE/C,KAAK,CAAC,KAAY;QACvB,IAAI,CAAC;YACH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YAEvC,OAAO,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,8BAA8B,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACrF,CAAC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
export default class Html extends Option<"html", "@html-eslint", false, true, 1> {
|
3
|
+
readonly scope = "html";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=html.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/factory/options/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/factory/options/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAMjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,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"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import js from "./js.js";
|
2
|
+
import ts from "./ts.js";
|
3
|
+
import svelte from "./svelte.js";
|
4
|
+
import mocha from "./mocha.js";
|
5
|
+
import html from "./html.js";
|
6
|
+
import json from "./json.js";
|
7
|
+
import jsonc from "./jsonc.js";
|
8
|
+
import yml from "./yml.js";
|
9
|
+
import md from "./md.js";
|
10
|
+
declare const _default: {
|
11
|
+
readonly js: typeof js;
|
12
|
+
readonly ts: typeof ts;
|
13
|
+
readonly svelte: typeof svelte;
|
14
|
+
readonly mocha: typeof mocha;
|
15
|
+
readonly html: typeof html;
|
16
|
+
readonly json: typeof json;
|
17
|
+
readonly jsonc: typeof jsonc;
|
18
|
+
readonly yml: typeof yml;
|
19
|
+
readonly md: typeof md;
|
20
|
+
};
|
21
|
+
export default _default;
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,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;AACxB,OAAO,EAAE,MAAM,MAAM,CAAC;;;;;;;;;;;;AAEtB,wBAUW"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import js from "./js.js";
|
2
|
+
import ts from "./ts.js";
|
3
|
+
import svelte from "./svelte.js";
|
4
|
+
import mocha from "./mocha.js";
|
5
|
+
import html from "./html.js";
|
6
|
+
import json from "./json.js";
|
7
|
+
import jsonc from "./jsonc.js";
|
8
|
+
import yml from "./yml.js";
|
9
|
+
import md from "./md.js";
|
10
|
+
export default {
|
11
|
+
js,
|
12
|
+
ts,
|
13
|
+
svelte,
|
14
|
+
mocha,
|
15
|
+
html,
|
16
|
+
json,
|
17
|
+
jsonc,
|
18
|
+
yml,
|
19
|
+
md,
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,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;AACxB,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACM,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
export default class Js extends Option<"js", "@stylistic"> {
|
3
|
+
readonly scope = "js";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly ecmaVersion: "latest";
|
7
|
+
readonly sourceType: "module";
|
8
|
+
};
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=js.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../src/factory/options/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC;IACxD,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAE/B,IAAW,eAAe;;;MAKzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../src/factory/options/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAA0B;IACxC,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAE,CAAC;IAE/B,IAAW,eAAe;QACxB,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
export default class Json extends Option<"json", "jsonc", false, true, 1> {
|
3
|
+
readonly scope = "json";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=json.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/factory/options/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAMjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,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"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
export default class Jsonc extends Option<"jsonc", "jsonc", false, true, 1> {
|
3
|
+
readonly scope = "jsonc";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=jsonc.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAMlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,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"}
|
@@ -0,0 +1,9 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
import type Ts from "./ts.js";
|
3
|
+
export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"]["plugins"], true, Ts["option"]["languageOptions"]["parserOptions"], 1, "mocha"> {
|
4
|
+
readonly scope = "mocha";
|
5
|
+
readonly processor: {};
|
6
|
+
readonly types: readonly ["mocha"];
|
7
|
+
get languageOptions(): {
|
8
|
+
readonly ecmaVersion: "latest";
|
9
|
+
readonly sourceType: "module";
|
10
|
+
readonly parser: unknown;
|
11
|
+
readonly parserOptions: {
|
12
|
+
readonly project: "tsconfig.json";
|
13
|
+
readonly ecmaVersion: "latest";
|
14
|
+
readonly sourceType: "module";
|
15
|
+
};
|
16
|
+
readonly globals: {
|
17
|
+
readonly after: false;
|
18
|
+
readonly afterEach: false;
|
19
|
+
readonly before: false;
|
20
|
+
readonly beforeEach: false;
|
21
|
+
readonly context: false;
|
22
|
+
readonly describe: false;
|
23
|
+
readonly it: false;
|
24
|
+
readonly mocha: false;
|
25
|
+
readonly run: false;
|
26
|
+
readonly setup: false;
|
27
|
+
readonly specify: false;
|
28
|
+
readonly suite: false;
|
29
|
+
readonly suiteSetup: false;
|
30
|
+
readonly suiteTeardown: false;
|
31
|
+
readonly teardown: false;
|
32
|
+
readonly test: false;
|
33
|
+
readonly xcontext: false;
|
34
|
+
readonly xdescribe: false;
|
35
|
+
readonly xit: false;
|
36
|
+
readonly xspecify: false;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
}
|
40
|
+
//# sourceMappingURL=mocha.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/factory/options/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACvC,IAAI,EACJ,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EAChD,CAAC,EACD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAe;IACxC,SAAgB,KAAK,qBAAsB;IAE3C,IAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWzB;CACF"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import Option from "./option/index.js";
|
2
|
+
export default class Mocha extends Option {
|
3
|
+
scope = "mocha";
|
4
|
+
processor = {};
|
5
|
+
types = ["mocha"];
|
6
|
+
get languageOptions() {
|
7
|
+
const [parser] = this.parser, globals = this.globals("mocha");
|
8
|
+
return {
|
9
|
+
ecmaVersion: "latest",
|
10
|
+
sourceType: "module",
|
11
|
+
parser,
|
12
|
+
parserOptions: { project: "tsconfig.json", ecmaVersion: "latest", sourceType: "module" },
|
13
|
+
globals,
|
14
|
+
};
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=mocha.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/factory/options/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAG9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAOlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAW,CAAC;IACxB,KAAK,GAAG,CAAC,OAAO,CAAU,CAAC;IAE3C,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAC5B,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAEhC,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM;YACN,aAAa,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE;YACxF,OAAO;SACC,CAAC;IACb,CAAC;CACF"}
|