@eslinted/core 4.0.4 → 4.0.5-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -4
- package/src/factory/{files/index.ts → files.ts} +4 -4
- package/src/factory/index.ts +3 -6
- package/src/factory/options/{option/html/index.ts → html.ts} +1 -1
- package/src/factory/options/index.ts +9 -9
- package/src/factory/options/{option/js/index.ts → js.ts} +1 -1
- package/src/factory/options/{option/json/index.ts → json.ts} +1 -1
- package/src/factory/options/{option/jsonc/index.ts → jsonc.ts} +1 -1
- package/src/factory/options/{option/md/index.ts → md.ts} +1 -1
- package/src/factory/options/{option/mocha/index.ts → mocha.ts} +2 -2
- package/src/factory/options/option/index.ts +19 -13
- package/src/factory/options/option/params/globals.ts +3 -0
- package/src/{boundary/output/config/option/language/index.ts → factory/options/option/params/language.ts} +3 -5
- package/src/factory/options/option/params/languageOptions/ecma.ts +1 -0
- package/src/factory/options/option/params/languageOptions/source.ts +1 -0
- package/src/{boundary/output/config/option/linter/index.ts → factory/options/option/params/linter.ts} +1 -1
- package/src/factory/options/option/params/plugins.ts +1 -0
- package/src/factory/options/option/template.ts +24 -0
- package/src/factory/options/{option/svelte/index.ts → svelte.ts} +2 -2
- package/src/factory/options/{option/ts/index.ts → ts.ts} +2 -2
- package/src/factory/options/{option/yml/index.ts → yml.ts} +1 -1
- package/src/factory/{rulesets/ruleset → ruleset}/index.ts +5 -4
- package/src/factory/ruleset/rule.ts +8 -0
- package/src/factory/{rulesets/index.ts → rulesets.ts} +5 -5
- package/src/index.ts +23 -19
- package/src/input.ts +11 -0
- package/src/inputs/files/base.ts +3 -0
- package/src/inputs/files/includes.ts +3 -0
- package/src/inputs/files.ts +7 -0
- package/src/inputs/imports/parsers.ts +11 -0
- package/src/{dependency/plugins/index.ts → inputs/imports/plugins.ts} +2 -5
- package/src/inputs/imports.ts +2 -0
- package/src/inputs/parsers.ts +3 -0
- package/src/inputs/plugins.ts +3 -0
- package/src/inputs/rules/entry/index.ts +3 -0
- package/src/inputs/rules/entry/object/index.ts +7 -0
- package/src/inputs/rules/entry/object/state/index.ts +4 -0
- package/src/inputs/rules/overrides.ts +4 -0
- package/src/inputs/rules/preset.ts +4 -0
- package/src/inputs/rules.ts +7 -0
- package/src/{boundary/output/config/index.ts → output.ts} +3 -4
- package/src/{scopes/index.ts → scopes.ts} +1 -3
- package/dist/boundary/index.d.ts +0 -9
- package/dist/boundary/index.d.ts.map +0 -1
- package/dist/boundary/index.js +0 -2
- package/dist/boundary/index.js.map +0 -1
- package/dist/boundary/input/files/default/index.d.ts +0 -4
- package/dist/boundary/input/files/default/index.d.ts.map +0 -1
- package/dist/boundary/input/files/default/index.js +0 -2
- package/dist/boundary/input/files/default/index.js.map +0 -1
- package/dist/boundary/input/files/includes/index.d.ts +0 -4
- package/dist/boundary/input/files/includes/index.d.ts.map +0 -1
- package/dist/boundary/input/files/includes/index.js +0 -2
- package/dist/boundary/input/files/includes/index.js.map +0 -1
- package/dist/boundary/input/files/index.d.ts +0 -8
- package/dist/boundary/input/files/index.d.ts.map +0 -1
- package/dist/boundary/input/files/index.js +0 -2
- package/dist/boundary/input/files/index.js.map +0 -1
- package/dist/boundary/input/index.d.ts +0 -14
- package/dist/boundary/input/index.d.ts.map +0 -1
- package/dist/boundary/input/index.js +0 -2
- package/dist/boundary/input/index.js.map +0 -1
- package/dist/boundary/input/parsers/index.d.ts +0 -4
- package/dist/boundary/input/parsers/index.d.ts.map +0 -1
- package/dist/boundary/input/parsers/index.js +0 -2
- package/dist/boundary/input/parsers/index.js.map +0 -1
- package/dist/boundary/input/plugins/index.d.ts +0 -6
- package/dist/boundary/input/plugins/index.d.ts.map +0 -1
- package/dist/boundary/input/plugins/index.js +0 -2
- package/dist/boundary/input/plugins/index.js.map +0 -1
- package/dist/boundary/input/rules/index.d.ts +0 -8
- package/dist/boundary/input/rules/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/index.js +0 -2
- package/dist/boundary/input/rules/index.js.map +0 -1
- package/dist/boundary/input/rules/overrides/index.d.ts +0 -5
- package/dist/boundary/input/rules/overrides/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/overrides/index.js +0 -2
- package/dist/boundary/input/rules/overrides/index.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/index.d.ts +0 -4
- package/dist/boundary/input/rules/preset/entry/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/index.js +0 -2
- package/dist/boundary/input/rules/preset/entry/index.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/index.d.ts +0 -4
- package/dist/boundary/input/rules/preset/entry/object/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/index.js +0 -2
- package/dist/boundary/input/rules/preset/entry/object/index.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts +0 -3
- package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/state/index.js +0 -2
- package/dist/boundary/input/rules/preset/entry/object/state/index.js.map +0 -1
- package/dist/boundary/input/rules/preset/index.d.ts +0 -5
- package/dist/boundary/input/rules/preset/index.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/index.js +0 -2
- package/dist/boundary/input/rules/preset/index.js.map +0 -1
- package/dist/boundary/output/config/index.d.ts +0 -22
- package/dist/boundary/output/config/index.d.ts.map +0 -1
- package/dist/boundary/output/config/index.js +0 -2
- package/dist/boundary/output/config/index.js.map +0 -1
- package/dist/boundary/output/config/option/index.d.ts +0 -14
- package/dist/boundary/output/config/option/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/index.js +0 -2
- package/dist/boundary/output/config/option/index.js.map +0 -1
- package/dist/boundary/output/config/option/language/ecma/index.d.ts +0 -3
- package/dist/boundary/output/config/option/language/ecma/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/language/ecma/index.js +0 -2
- package/dist/boundary/output/config/option/language/ecma/index.js.map +0 -1
- package/dist/boundary/output/config/option/language/index.d.ts +0 -15
- package/dist/boundary/output/config/option/language/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/language/index.js +0 -2
- package/dist/boundary/output/config/option/language/index.js.map +0 -1
- package/dist/boundary/output/config/option/language/source/index.d.ts +0 -3
- package/dist/boundary/output/config/option/language/source/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/language/source/index.js +0 -2
- package/dist/boundary/output/config/option/language/source/index.js.map +0 -1
- package/dist/boundary/output/config/option/linter/index.d.ts +0 -5
- package/dist/boundary/output/config/option/linter/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/linter/index.js +0 -2
- package/dist/boundary/output/config/option/linter/index.js.map +0 -1
- package/dist/boundary/output/config/option/plugins/index.d.ts +0 -5
- package/dist/boundary/output/config/option/plugins/index.d.ts.map +0 -1
- package/dist/boundary/output/config/option/plugins/index.js +0 -2
- package/dist/boundary/output/config/option/plugins/index.js.map +0 -1
- package/dist/boundary/output/index.d.ts +0 -3
- package/dist/boundary/output/index.d.ts.map +0 -1
- package/dist/boundary/output/index.js +0 -2
- package/dist/boundary/output/index.js.map +0 -1
- package/dist/dependency/globals/index.d.ts +0 -4
- package/dist/dependency/globals/index.d.ts.map +0 -1
- package/dist/dependency/globals/index.js +0 -2
- package/dist/dependency/globals/index.js.map +0 -1
- package/dist/dependency/index.d.ts +0 -5
- package/dist/dependency/index.d.ts.map +0 -1
- package/dist/dependency/index.js +0 -2
- package/dist/dependency/index.js.map +0 -1
- package/dist/dependency/parsers/index.d.ts +0 -4
- package/dist/dependency/parsers/index.d.ts.map +0 -1
- package/dist/dependency/parsers/index.js +0 -2
- package/dist/dependency/parsers/index.js.map +0 -1
- package/dist/dependency/plugins/index.d.ts +0 -3
- package/dist/dependency/plugins/index.d.ts.map +0 -1
- package/dist/dependency/plugins/index.js +0 -2
- package/dist/dependency/plugins/index.js.map +0 -1
- package/dist/factory/files/index.d.ts +0 -8
- package/dist/factory/files/index.d.ts.map +0 -1
- package/dist/factory/files/index.js +0 -16
- package/dist/factory/files/index.js.map +0 -1
- package/dist/factory/index.d.ts +0 -7
- package/dist/factory/index.d.ts.map +0 -1
- package/dist/factory/index.js +0 -7
- package/dist/factory/index.js.map +0 -1
- package/dist/factory/options/index.d.ts +0 -22
- package/dist/factory/options/index.d.ts.map +0 -1
- package/dist/factory/options/index.js +0 -21
- package/dist/factory/options/index.js.map +0 -1
- package/dist/factory/options/option/html/index.d.ts +0 -9
- package/dist/factory/options/option/html/index.d.ts.map +0 -1
- package/dist/factory/options/option/html/index.js +0 -10
- package/dist/factory/options/option/html/index.js.map +0 -1
- package/dist/factory/options/option/index.d.ts +0 -2989
- package/dist/factory/options/option/index.d.ts.map +0 -1
- package/dist/factory/options/option/index.js +0 -56
- package/dist/factory/options/option/index.js.map +0 -1
- package/dist/factory/options/option/js/index.d.ts +0 -10
- package/dist/factory/options/option/js/index.d.ts.map +0 -1
- package/dist/factory/options/option/js/index.js +0 -12
- package/dist/factory/options/option/js/index.js.map +0 -1
- package/dist/factory/options/option/json/index.d.ts +0 -9
- package/dist/factory/options/option/json/index.d.ts.map +0 -1
- package/dist/factory/options/option/json/index.js +0 -10
- package/dist/factory/options/option/json/index.js.map +0 -1
- package/dist/factory/options/option/jsonc/index.d.ts +0 -9
- package/dist/factory/options/option/jsonc/index.d.ts.map +0 -1
- package/dist/factory/options/option/jsonc/index.js +0 -10
- package/dist/factory/options/option/jsonc/index.js.map +0 -1
- package/dist/factory/options/option/md/index.d.ts +0 -9
- package/dist/factory/options/option/md/index.d.ts.map +0 -1
- package/dist/factory/options/option/md/index.js +0 -10
- package/dist/factory/options/option/md/index.js.map +0 -1
- package/dist/factory/options/option/mocha/index.d.ts +0 -40
- package/dist/factory/options/option/mocha/index.d.ts.map +0 -1
- package/dist/factory/options/option/mocha/index.js +0 -17
- package/dist/factory/options/option/mocha/index.js.map +0 -1
- package/dist/factory/options/option/svelte/index.d.ts +0 -27
- package/dist/factory/options/option/svelte/index.d.ts.map +0 -1
- package/dist/factory/options/option/svelte/index.js +0 -21
- package/dist/factory/options/option/svelte/index.js.map +0 -1
- package/dist/factory/options/option/ts/index.d.ts +0 -19
- package/dist/factory/options/option/ts/index.d.ts.map +0 -1
- package/dist/factory/options/option/ts/index.js +0 -15
- package/dist/factory/options/option/ts/index.js.map +0 -1
- package/dist/factory/options/option/yml/index.d.ts +0 -9
- package/dist/factory/options/option/yml/index.d.ts.map +0 -1
- package/dist/factory/options/option/yml/index.js +0 -10
- package/dist/factory/options/option/yml/index.js.map +0 -1
- package/dist/factory/rulesets/index.d.ts +0 -9
- package/dist/factory/rulesets/index.d.ts.map +0 -1
- package/dist/factory/rulesets/index.js +0 -17
- package/dist/factory/rulesets/index.js.map +0 -1
- package/dist/factory/rulesets/ruleset/index.d.ts +0 -13
- package/dist/factory/rulesets/ruleset/index.d.ts.map +0 -1
- package/dist/factory/rulesets/ruleset/index.js +0 -38
- package/dist/factory/rulesets/ruleset/index.js.map +0 -1
- package/dist/factory/rulesets/ruleset/rule/index.d.ts +0 -7
- package/dist/factory/rulesets/ruleset/rule/index.d.ts.map +0 -1
- package/dist/factory/rulesets/ruleset/rule/index.js +0 -9
- package/dist/factory/rulesets/ruleset/rule/index.js.map +0 -1
- package/dist/index.d.ts +0 -23
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -31
- package/dist/index.js.map +0 -1
- package/dist/scopes/index.d.ts +0 -4
- package/dist/scopes/index.d.ts.map +0 -1
- package/dist/scopes/index.js +0 -13
- package/dist/scopes/index.js.map +0 -1
- package/src/boundary/index.ts +0 -15
- package/src/boundary/input/files/default/index.ts +0 -8
- package/src/boundary/input/files/includes/index.ts +0 -5
- package/src/boundary/input/files/index.ts +0 -11
- package/src/boundary/input/index.ts +0 -23
- package/src/boundary/input/parsers/index.ts +0 -5
- package/src/boundary/input/plugins/index.ts +0 -5
- package/src/boundary/input/rules/index.ts +0 -14
- package/src/boundary/input/rules/overrides/index.ts +0 -6
- package/src/boundary/input/rules/preset/entry/index.ts +0 -9
- package/src/boundary/input/rules/preset/entry/object/index.ts +0 -13
- package/src/boundary/input/rules/preset/entry/object/state/index.ts +0 -10
- package/src/boundary/input/rules/preset/index.ts +0 -10
- package/src/boundary/output/config/option/index.ts +0 -24
- package/src/boundary/output/config/option/language/ecma/index.ts +0 -3
- package/src/boundary/output/config/option/language/source/index.ts +0 -3
- package/src/boundary/output/config/option/plugins/index.ts +0 -3
- package/src/boundary/output/index.ts +0 -3
- package/src/dependency/globals/index.ts +0 -8
- package/src/dependency/index.ts +0 -5
- package/src/dependency/parsers/index.ts +0 -13
- package/src/factory/rulesets/ruleset/rule/index.ts +0 -8
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEzD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM,CAClC,CAAC,SAAS,KAAK,EACf,QAAQ,SAAS,OAAO,EACxB,MAAM,SAAS,OAAO,GAAG,IAAI,EAC7B,aAAa,SAAS,MAAM,GAAG,OAAO,GAAG,KAAK,EAC9C,WAAW,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EACjC,WAAW,SAAS,MAAM,OAAO,OAAO,GAAG,KAAK,EAChD,SAAS,SAAS,MAAM,GAAG,KAAK;aAYd,KAAK,EAAE,SAAS,MAAM,EAAE;aACxB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;aACnB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;aACxC,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC;IAbrD,OAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpC"}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import globals from "globals";
|
2
|
-
export default class Option {
|
3
|
-
files;
|
4
|
-
ruleset;
|
5
|
-
plugins;
|
6
|
-
parser;
|
7
|
-
linterOptions = { noInlineConfig: true, reportUnusedDisableDirectives: "error" };
|
8
|
-
constructor(files, ruleset, plugins, parser) {
|
9
|
-
this.files = files;
|
10
|
-
this.ruleset = ruleset;
|
11
|
-
this.plugins = plugins;
|
12
|
-
this.parser = parser;
|
13
|
-
}
|
14
|
-
get configs() {
|
15
|
-
try {
|
16
|
-
const { scope, ruleset, files, option, } = this;
|
17
|
-
if (ruleset.id !== scope)
|
18
|
-
throw new TypeError(`Option and Ruleset scope mismatch`, { cause: { option: scope, ruleset: ruleset.id } });
|
19
|
-
else if (files.length < 1)
|
20
|
-
return [];
|
21
|
-
else {
|
22
|
-
const baseName = `linted/scope:${scope}/rule:${ruleset.id}`;
|
23
|
-
return ruleset.records.map(([ruleId, rules]) => {
|
24
|
-
const name = `${baseName}+${ruleId}`;
|
25
|
-
return {
|
26
|
-
name,
|
27
|
-
files,
|
28
|
-
rules,
|
29
|
-
...option,
|
30
|
-
};
|
31
|
-
});
|
32
|
-
}
|
33
|
-
}
|
34
|
-
catch (e) {
|
35
|
-
throw new Error(`linted.factory.Option/scope:${this.scope}: configs`, { cause: e });
|
36
|
-
}
|
37
|
-
}
|
38
|
-
get option() {
|
39
|
-
try {
|
40
|
-
const { plugins, linterOptions, languageOptions, processor, } = this;
|
41
|
-
return {
|
42
|
-
plugins,
|
43
|
-
linterOptions,
|
44
|
-
languageOptions,
|
45
|
-
...processor,
|
46
|
-
};
|
47
|
-
}
|
48
|
-
catch (e) {
|
49
|
-
throw new Error(`linted.factory.Option/scope:${this.scope}: option`, { cause: e });
|
50
|
-
}
|
51
|
-
}
|
52
|
-
globals(type) {
|
53
|
-
return globals[type];
|
54
|
-
}
|
55
|
-
}
|
56
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAM9B,MAAM,CAAC,OAAO,OAAgB,MAAM;IAmBhB;IACA;IACA;IACA;IAbD,aAAa,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,EAAW,CAAC;IAS3G,YACkB,KAAwB,EACxB,OAAmB,EACnB,OAAwC,EACxC,MAAmC;QAHnC,UAAK,GAAL,KAAK,CAAmB;QACxB,YAAO,GAAP,OAAO,CAAY;QACnB,YAAO,GAAP,OAAO,CAAiC;QACxC,WAAM,GAAN,MAAM,CAA6B;IAClD,CAAC;IAEJ,IAAW,OAAO;QAChB,IAAI,CAAC;YACH,MAAM,EACJ,KAAK,EACL,OAAO,EACP,KAAK,EACL,MAAM,GACP,GAAG,IAAI,CAAC;YAET,IAAI,OAAO,CAAC,EAAE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1,10 +0,0 @@
|
|
1
|
-
import Option from "../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=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import Option from "../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=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import Option from "../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=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import Option from "../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=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,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,40 +0,0 @@
|
|
1
|
-
import Option from "../index.js";
|
2
|
-
import type Ts from "../ts/index.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=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,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"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import Option from "../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=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,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"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import Option from "../index.js";
|
2
|
-
import type Ts from "../ts/index.js";
|
3
|
-
export default class Svelte extends Option<"svelte", "svelte" | keyof Ts["option"]["plugins"], true, {
|
4
|
-
parser: unknown;
|
5
|
-
} & {
|
6
|
-
extraFileExtensions: readonly [".svelte"];
|
7
|
-
} & Ts["option"]["languageOptions"]["parserOptions"], 2, never, {
|
8
|
-
processor: "svelte/svelte";
|
9
|
-
}> {
|
10
|
-
readonly scope = "svelte";
|
11
|
-
readonly processor: {
|
12
|
-
readonly processor: "svelte/svelte";
|
13
|
-
};
|
14
|
-
get languageOptions(): {
|
15
|
-
readonly ecmaVersion: "latest";
|
16
|
-
readonly sourceType: "module";
|
17
|
-
readonly parser: unknown;
|
18
|
-
readonly parserOptions: {
|
19
|
-
readonly parser: unknown;
|
20
|
-
readonly extraFileExtensions: readonly [".svelte"];
|
21
|
-
readonly project: "tsconfig.json";
|
22
|
-
readonly ecmaVersion: "latest";
|
23
|
-
readonly sourceType: "module";
|
24
|
-
};
|
25
|
-
};
|
26
|
-
}
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR,QAAQ,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACxC,IAAI,EACJ;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACtH,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IAEpE,IAAW,eAAe;;;;;;;;;;;MAezB;CACF"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import Option from "../index.js";
|
2
|
-
export default class Svelte extends Option {
|
3
|
-
scope = "svelte";
|
4
|
-
processor = { processor: "svelte/svelte" };
|
5
|
-
get languageOptions() {
|
6
|
-
const [parser, tsParser] = this.parser;
|
7
|
-
return {
|
8
|
-
ecmaVersion: "latest",
|
9
|
-
sourceType: "module",
|
10
|
-
parser,
|
11
|
-
parserOptions: {
|
12
|
-
parser: tsParser,
|
13
|
-
extraFileExtensions: [".svelte"],
|
14
|
-
project: "tsconfig.json",
|
15
|
-
ecmaVersion: "latest",
|
16
|
-
sourceType: "module",
|
17
|
-
},
|
18
|
-
};
|
19
|
-
}
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAQnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IAEpE,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAEvC,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM;YACN,aAAa,EAAE;gBACb,MAAM,EAAE,QAAQ;gBAChB,mBAAmB,EAAE,CAAC,SAAS,CAAU;gBACzC,OAAO,EAAE,eAAe;gBACxB,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACO,CAAC;IACb,CAAC;CACF"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import Option from "../index.js";
|
2
|
-
import type Js from "../js/index.js";
|
3
|
-
export default class Ts extends Option<"ts", "@typescript-eslint" | keyof Js["option"]["plugins"], true, {
|
4
|
-
project: "tsconfig.json";
|
5
|
-
} & Js["option"]["languageOptions"], 1> {
|
6
|
-
readonly scope = "ts";
|
7
|
-
readonly processor: {};
|
8
|
-
get languageOptions(): {
|
9
|
-
readonly ecmaVersion: "latest";
|
10
|
-
readonly sourceType: "module";
|
11
|
-
readonly parser: unknown;
|
12
|
-
readonly parserOptions: {
|
13
|
-
readonly project: "tsconfig.json";
|
14
|
-
readonly ecmaVersion: "latest";
|
15
|
-
readonly sourceType: "module";
|
16
|
-
};
|
17
|
-
};
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ,oBAAoB,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,EACpD,IAAI,EACJ;IAAE,OAAO,EAAE,eAAe,CAAA;CAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,EAC9D,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;;;;;;;;MASzB;CACF"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import Option from "../index.js";
|
2
|
-
export default class Ts extends Option {
|
3
|
-
scope = "ts";
|
4
|
-
processor = {};
|
5
|
-
get languageOptions() {
|
6
|
-
const [parser] = this.parser;
|
7
|
-
return {
|
8
|
-
ecmaVersion: "latest",
|
9
|
-
sourceType: "module",
|
10
|
-
parser,
|
11
|
-
parserOptions: { project: "tsconfig.json", ecmaVersion: "latest", sourceType: "module" },
|
12
|
-
};
|
13
|
-
}
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,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;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;SAChF,CAAC;IACb,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAAM,CACrC,KAAK,EACL,KAAK,EACL,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,KAAK,SAAS;IAC9B,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,MAMhC;IACiB,KAAK,GAAG,KAAK,CAAC;IACd,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,9 +0,0 @@
|
|
1
|
-
import Ruleset from "./ruleset/index.js";
|
2
|
-
import type { Input } from "../../boundary/index.js";
|
3
|
-
import type { Scope } from "../../scopes/index.js";
|
4
|
-
export default class {
|
5
|
-
private readonly input;
|
6
|
-
constructor(input: Input.Rules.Rules);
|
7
|
-
ruleset<S extends Scope>(scope: literalful<S>): Ruleset<S>;
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/rulesets/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAiB,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,MAAM,CAAC,OAAO;IACA,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK;IAE9C,OAAO,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;CAQlE"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import Ruleset, { Rule } from "./ruleset/index.js";
|
2
|
-
export default class {
|
3
|
-
input;
|
4
|
-
constructor(input) {
|
5
|
-
this.input = input;
|
6
|
-
}
|
7
|
-
ruleset(scope) {
|
8
|
-
try {
|
9
|
-
const { rules, overrides } = this.input;
|
10
|
-
return new Ruleset(scope, ...rules[scope].map(args => new Rule(...args))).override(overrides[scope]);
|
11
|
-
}
|
12
|
-
catch (e) {
|
13
|
-
throw new Error(`linted.factory.Rulesets/ruleset/scope:${scope}`, { cause: e });
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/rulesets/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAInD,MAAM,CAAC,OAAO;IACiB;IAA7B,YAA6B,KAAwB;QAAxB,UAAK,GAAL,KAAK,CAAmB;IAAG,CAAC;IAElD,OAAO,CAAkB,KAAoB;QAClD,IAAI,CAAC;YACH,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YAExC,OAAO,IAAI,OAAO,CAAI,KAAK,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1G,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,yCAAyC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IAChG,CAAC;CACF"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { Scope } from "../../../scopes/index.js";
|
2
|
-
import Rule from "./rule/index.js";
|
3
|
-
export { Rule };
|
4
|
-
export default class Ruleset<S extends Scope> {
|
5
|
-
private readonly scope;
|
6
|
-
readonly ruleset: readonly Rule[];
|
7
|
-
overrides: Null<Rule>;
|
8
|
-
constructor(scope: literalful<S>, ...rules: readonly Rule[]);
|
9
|
-
get id(): literalful<S>;
|
10
|
-
get records(): (readonly [string, Readonly<Record<string, import("../../../boundary/input/rules/preset/entry/object/state/index.js").RuleLevel | readonly [import("../../../boundary/input/rules/preset/entry/object/state/index.js").RuleLevel, ...unknown[]]>>])[];
|
11
|
-
override(overrides: undefined | Rule["rules"]): this;
|
12
|
-
}
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/rulesets/ruleset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,IAAI,MAAM,iBAAiB,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO,CAAC,CAAC,SAAS,KAAK;IAI9B,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,SAAgB,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAQ;gBAEP,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,IAAI,EAAE;IAO5E,IAAW,EAAE,kBAIZ;IAED,IAAW,OAAO,0PAUjB;IAEM,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;CAMrD"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import Rule from "./rule/index.js";
|
2
|
-
export { Rule };
|
3
|
-
export default class Ruleset {
|
4
|
-
scope;
|
5
|
-
ruleset;
|
6
|
-
overrides = null;
|
7
|
-
constructor(scope, ...rules) {
|
8
|
-
this.scope = scope;
|
9
|
-
try {
|
10
|
-
this.ruleset = [...rules];
|
11
|
-
}
|
12
|
-
catch (e) {
|
13
|
-
throw new Error(`linted.factory.Ruleset`, { cause: e });
|
14
|
-
}
|
15
|
-
}
|
16
|
-
get id() {
|
17
|
-
const { scope } = this;
|
18
|
-
return scope;
|
19
|
-
}
|
20
|
-
get records() {
|
21
|
-
try {
|
22
|
-
const { ruleset, overrides } = this;
|
23
|
-
return [
|
24
|
-
...ruleset.map(rules => [rules.id, rules.rules]),
|
25
|
-
...overrides === null ? [] : [[overrides.id, overrides.rules]],
|
26
|
-
];
|
27
|
-
}
|
28
|
-
catch (e) {
|
29
|
-
throw new Error(`linted.factory.Ruleset: records`, { cause: e });
|
30
|
-
}
|
31
|
-
}
|
32
|
-
override(overrides) {
|
33
|
-
if (typeof overrides !== "undefined")
|
34
|
-
this.overrides = new Rule("override", overrides);
|
35
|
-
return this;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/rulesets/ruleset/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,iBAAiB,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,MAAM,CAAC,OAAO,OAAO,OAAO;IAIG;IAHb,OAAO,CAAkB;IAClC,SAAS,GAAe,IAAI,CAAC;IAEpC,YAA6B,KAAoB,EAAE,GAAG,KAAsB;QAA/C,UAAK,GAAL,KAAK,CAAe;QAC/C,IAAI,CAAC;YACH,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;QAC5B,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACxE,CAAC;IAED,IAAW,EAAE;QACX,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAEvB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAW,OAAO;QAChB,IAAI,CAAC;YACH,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;YAEpC,OAAO;gBACL,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,CAAU,CAAC;gBACzD,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,KAAK,CAAU,CAAU;aACjF,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACjF,CAAC;IAEM,QAAQ,CAAC,SAAoC;QAClD,IAAI,OAAO,SAAS,KAAK,WAAW;YAClC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAEnD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Input } from "../../../../boundary/index.js";
|
2
|
-
export default class {
|
3
|
-
readonly id: string;
|
4
|
-
readonly rules: Input.Rules.RuleBase.RuleEntry.RuleObject;
|
5
|
-
constructor(id: string, rules: Input.Rules.RuleBase.RuleEntry.RuleObject);
|
6
|
-
}
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/rulesets/ruleset/rule/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAE3D,MAAM,CAAC,OAAO;aAEM,EAAE,EAAE,MAAM;aACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU;gBADhD,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU;CAEnE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/rulesets/ruleset/rule/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO;IAEM;IACA;IAFlB,YACkB,EAAU,EACV,KAAgD;QADhD,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAA2C;IAC/D,CAAC;CACL"}
|
package/dist/index.d.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import type { Scope } from "./scopes/index.js";
|
2
|
-
import type * as core from "./boundary/index.js";
|
3
|
-
export default function (plugins: core.Input.Plugins, parsers: core.Input.Parsers, files: core.Input.Files, rules: core.Input.Rules): core.Output[];
|
4
|
-
declare namespace Core {
|
5
|
-
type Scopes = Scope;
|
6
|
-
namespace Input {
|
7
|
-
type Parsers = core.Input.Parsers;
|
8
|
-
type Plugins = core.Input.Plugins;
|
9
|
-
type Files = core.Input.Files;
|
10
|
-
namespace Files {
|
11
|
-
type Base = core.Input.Files.FileBase;
|
12
|
-
type Includes = core.Input.Files.Includes;
|
13
|
-
}
|
14
|
-
type Rules = core.Input.Rules;
|
15
|
-
namespace Rules {
|
16
|
-
type Base = core.Input.Rules.RuleBase;
|
17
|
-
type Overrides = core.Input.Rules.Overrides;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
type Output = core.Output[];
|
21
|
-
}
|
22
|
-
export type { Core };
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
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ED
@@ -1,31 +0,0 @@
|
|
1
|
-
import { Options, Files, Rulesets, } from "./factory/index.js";
|
2
|
-
import scopes from "./scopes/index.js";
|
3
|
-
export default function (plugins, parsers, files, rules) {
|
4
|
-
try {
|
5
|
-
const F = new Files(files), R = new Rulesets(rules), options = {
|
6
|
-
js: new Options
|
7
|
-
.js(F.files("js"), R.ruleset("js"), { "@stylistic": plugins["@stylistic"] }, []).configs,
|
8
|
-
ts: new Options
|
9
|
-
.ts(F.files("ts"), R.ruleset("ts"), { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"] }, [parsers.ts]).configs,
|
10
|
-
svelte: new Options
|
11
|
-
.svelte(F.files("svelte"), R.ruleset("svelte"), { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], svelte: plugins.svelte }, [parsers.svelte, parsers.ts]).configs,
|
12
|
-
mocha: new Options
|
13
|
-
.mocha(F.files("mocha"), R.ruleset("mocha"), { "@stylistic": plugins["@stylistic"], "@typescript-eslint": plugins["@typescript-eslint"], mocha: plugins.mocha }, [parsers.ts]).configs,
|
14
|
-
html: new Options
|
15
|
-
.html(F.files("html"), R.ruleset("html"), { "@html-eslint": plugins["@html-eslint"] }, [parsers.html]).configs,
|
16
|
-
json: new Options
|
17
|
-
.json(F.files("json"), R.ruleset("json"), { jsonc: plugins.jsonc }, [parsers.jsonc]).configs,
|
18
|
-
jsonc: new Options
|
19
|
-
.jsonc(F.files("jsonc"), R.ruleset("jsonc"), { jsonc: plugins.jsonc }, [parsers.jsonc]).configs,
|
20
|
-
yml: new Options
|
21
|
-
.yml(F.files("yml"), R.ruleset("yml"), { yml: plugins.yml }, [parsers.yml]).configs,
|
22
|
-
md: new Options
|
23
|
-
.md(F.files("md"), R.ruleset("md"), { markdownlint: plugins.markdownlint }, [parsers.md]).configs,
|
24
|
-
};
|
25
|
-
return scopes.flatMap(scope => options[scope]);
|
26
|
-
}
|
27
|
-
catch (e) {
|
28
|
-
throw new Error(`linted-core`, { cause: e });
|
29
|
-
}
|
30
|
-
}
|
31
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,KAAK,EACL,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAIvC,MAAM,CAAC,OAAO,WACZ,OAA2B,EAC3B,OAA2B,EAC3B,KAAuB,EACvB,KAAuB;IAEvB,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,EAC1B,CAAC,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,EACvB,OAAO,GAAiF;YACtF,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EACb,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EACf,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,EACvC,EAAE,CACH,CAAC,OAAO;YACX,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EACb,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EACf,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,EAC5F,CAAC,OAAO,CAAC,EAAE,CAAC,CACb,CAAC,OAAO;YACX,MAAM,EAAE,IAAI,OAAO;iBAChB,MAAM,CACL,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EACjB,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EACnB,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,MAAM,EA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