@eslinted/core 0.6.0 → 0.7.0-rc.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/boundary/boundary.d.ts +6 -0
- package/dist/boundary/boundary.d.ts.map +1 -0
- package/dist/boundary/boundary.js +3 -0
- package/dist/boundary/boundary.js.map +1 -0
- package/dist/boundary/input/input.d.ts +5 -0
- package/dist/boundary/input/input.d.ts.map +1 -0
- package/dist/boundary/input/input.js +2 -0
- package/dist/boundary/input/input.js.map +1 -0
- package/dist/boundary/input/parsers/index.d.ts +5 -0
- package/dist/boundary/input/parsers/index.d.ts.map +1 -0
- package/dist/boundary/input/parsers/index.js +2 -0
- package/dist/boundary/input/parsers/index.js.map +1 -0
- package/dist/boundary/input/parsers/parsers.d.ts +7 -0
- package/dist/boundary/input/parsers/parsers.d.ts.map +1 -0
- package/dist/boundary/input/parsers/parsers.js +2 -0
- package/dist/boundary/input/parsers/parsers.js.map +1 -0
- package/dist/boundary/input/plugins/index.d.ts +32 -0
- package/dist/boundary/input/plugins/index.d.ts.map +1 -0
- package/dist/boundary/input/plugins/index.js +2 -0
- package/dist/boundary/input/plugins/index.js.map +1 -0
- package/dist/boundary/input/plugins/plugins.d.ts +6 -0
- package/dist/boundary/input/plugins/plugins.d.ts.map +1 -0
- package/dist/boundary/input/plugins/plugins.js +2 -0
- package/dist/boundary/input/plugins/plugins.js.map +1 -0
- package/dist/boundary/output/config/IConfig.d.ts +19 -0
- package/dist/boundary/output/config/IConfig.d.ts.map +1 -0
- package/dist/boundary/output/config/IConfig.js +2 -0
- package/dist/boundary/output/config/IConfig.js.map +1 -0
- package/dist/boundary/output/config/index.d.ts +19 -0
- package/dist/boundary/output/config/index.d.ts.map +1 -0
- package/dist/boundary/output/config/index.js +2 -0
- package/dist/boundary/output/config/index.js.map +1 -0
- package/dist/boundary/output/output.d.ts +3 -0
- package/dist/boundary/output/output.d.ts.map +1 -0
- package/dist/boundary/output/output.js +2 -0
- package/dist/boundary/output/output.js.map +1 -0
- package/dist/boundary/scopes/scopes.d.ts +4 -0
- package/dist/boundary/scopes/scopes.d.ts.map +1 -0
- package/dist/boundary/scopes/scopes.js +11 -0
- package/dist/boundary/scopes/scopes.js.map +1 -0
- package/dist/factory/Factory.d.ts +7 -0
- package/dist/factory/Factory.d.ts.map +1 -0
- package/dist/factory/Factory.js +5 -0
- package/dist/factory/Factory.js.map +1 -0
- package/dist/factory/files/Files.d.ts +8 -0
- package/dist/factory/files/Files.d.ts.map +1 -0
- package/dist/factory/files/Files.js +15 -0
- package/dist/factory/files/Files.js.map +1 -0
- package/dist/factory/options/Options.d.ts +20 -0
- package/dist/factory/options/Options.d.ts.map +1 -0
- package/dist/factory/options/Options.js +17 -0
- package/dist/factory/options/Options.js.map +1 -0
- package/dist/factory/options/option/Option.d.ts +29 -0
- package/dist/factory/options/option/Option.d.ts.map +1 -0
- package/dist/factory/options/option/Option.js +26 -0
- package/dist/factory/options/option/Option.js.map +1 -0
- package/dist/factory/options/option/html/index.d.ts +7 -3
- package/dist/factory/options/option/html/index.d.ts.map +1 -1
- package/dist/factory/options/option/html/index.js +6 -12
- package/dist/factory/options/option/html/index.js.map +1 -1
- package/dist/factory/options/option/js/index.d.ts +7 -2
- package/dist/factory/options/option/js/index.d.ts.map +1 -1
- package/dist/factory/options/option/js/index.js +8 -15
- package/dist/factory/options/option/js/index.js.map +1 -1
- package/dist/factory/options/option/json/index.d.ts +7 -3
- package/dist/factory/options/option/json/index.d.ts.map +1 -1
- package/dist/factory/options/option/json/index.js +6 -12
- package/dist/factory/options/option/json/index.js.map +1 -1
- package/dist/factory/options/option/jsonc/index.d.ts +7 -3
- package/dist/factory/options/option/jsonc/index.d.ts.map +1 -1
- package/dist/factory/options/option/jsonc/index.js +6 -12
- package/dist/factory/options/option/jsonc/index.js.map +1 -1
- package/dist/factory/options/option/svelte/index.d.ts +22 -5
- package/dist/factory/options/option/svelte/index.d.ts.map +1 -1
- package/dist/factory/options/option/svelte/index.js +14 -21
- package/dist/factory/options/option/svelte/index.js.map +1 -1
- package/dist/factory/options/option/ts/index.d.ts +15 -4
- package/dist/factory/options/option/ts/index.d.ts.map +1 -1
- package/dist/factory/options/option/ts/index.js +12 -18
- package/dist/factory/options/option/ts/index.js.map +1 -1
- package/dist/factory/options/option/yml/index.d.ts +7 -3
- package/dist/factory/options/option/yml/index.d.ts.map +1 -1
- package/dist/factory/options/option/yml/index.js +6 -12
- package/dist/factory/options/option/yml/index.js.map +1 -1
- package/dist/factory/ruleset/Ruleset.d.ts +12 -0
- package/dist/factory/ruleset/Ruleset.d.ts.map +1 -0
- package/dist/factory/ruleset/Ruleset.js +27 -0
- package/dist/factory/ruleset/Ruleset.js.map +1 -0
- package/dist/factory/ruleset/rule/Rule.d.ts +6 -0
- package/dist/factory/ruleset/rule/Rule.d.ts.map +1 -0
- package/dist/factory/ruleset/rule/Rule.js +9 -0
- package/dist/factory/ruleset/rule/Rule.js.map +1 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -26
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/boundary/boundary.ts +11 -0
- package/src/boundary/input/input.ts +5 -0
- package/src/boundary/input/parsers/parsers.ts +6 -0
- package/src/boundary/input/plugins/plugins.ts +7 -0
- package/src/{config/index.ts → boundary/output/config/IConfig.ts} +3 -4
- package/src/boundary/output/config/interface/option/IOption.d.ts +20 -0
- package/src/boundary/output/config/interface/option/language/IOLanguage.d.ts +18 -0
- package/src/boundary/output/config/interface/option/language/ecma/IOLanguageEcma.d.ts +1 -0
- package/src/boundary/output/config/interface/option/language/globals/IOLanguageGlobals.d.ts +1 -0
- package/src/boundary/output/config/interface/option/language/source/IOLanguageSource.d.ts +3 -0
- package/src/boundary/output/config/interface/option/linter/IOLinter.d.ts +4 -0
- package/src/boundary/output/config/interface/option/name/IOName.d.ts +1 -0
- package/src/boundary/output/config/interface/option/plugins/IOPlugins.d.ts +1 -0
- package/src/boundary/output/config/interface/option/processor/IOProcessor.d.ts +1 -0
- package/src/boundary/output/output.ts +3 -0
- package/src/factory/Factory.ts +13 -0
- package/src/factory/files/Files.ts +15 -0
- package/src/factory/options/{index.ts → Options.ts} +2 -2
- package/src/factory/options/option/Option.ts +58 -0
- package/src/factory/options/option/html/index.ts +10 -23
- package/src/factory/options/option/js/index.ts +9 -20
- package/src/factory/options/option/json/index.ts +10 -23
- package/src/factory/options/option/jsonc/index.ts +10 -23
- package/src/factory/options/option/svelte/index.ts +23 -34
- package/src/factory/options/option/ts/index.ts +20 -29
- package/src/factory/options/option/yml/index.ts +10 -23
- package/src/factory/ruleset/{index.ts → Ruleset.ts} +1 -1
- package/src/index.ts +62 -72
- package/types/project/OmitLast.d.ts +1 -0
- package/src/config/files/IFiles.d.ts +0 -1
- package/src/config/option/IOption.d.ts +0 -25
- package/src/config/option/language/IOLanguage.d.ts +0 -15
- package/src/config/option/language/ecma/IOLanguageEcma.d.ts +0 -19
- package/src/config/option/language/globals/IOLanguageGlobals.d.ts +0 -3
- package/src/config/option/language/parser/IOLanguageParser.d.ts +0 -3
- package/src/config/option/language/parserOptions/IOLanguageParserOptions.d.ts +0 -5
- package/src/config/option/language/source/IOLanguageSource.d.ts +0 -12
- package/src/config/option/linter/IOLinter.d.ts +0 -30
- package/src/config/option/name/IOName.d.ts +0 -3
- package/src/config/option/plugins/IOPlugins.d.ts +0 -3
- package/src/config/option/processor/IOProcessor.d.ts +0 -3
- package/src/config/rules/IRules.d.ts +0 -1
- package/src/factory/files/index.ts +0 -20
- package/src/factory/index.ts +0 -12
- package/src/factory/options/option/index.ts +0 -27
- package/src/module/boundary/index.ts +0 -3
- package/src/module/boundary/parsers/index.ts +0 -12
- package/src/module/boundary/plugins/index.ts +0 -20
- package/src/module/index.ts +0 -9
- /package/src/{config/rules/rule → boundary/output/config/interface/rules}/IRule.d.ts +0 -0
- /package/src/{config/rules/rule → boundary/output/config/interface/rules}/state/RuleSeverity.d.ts +0 -0
- /package/src/{module/scopes/index.ts → boundary/scopes/scopes.ts} +0 -0
- /package/src/factory/ruleset/rule/{index.ts → Rule.ts} +0 -0
- /package/types/{literal → typioca/literal}/number/base32.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/base64.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/binary.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/decimal.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/hex.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/octal.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/quatral.d.ts +0 -0
- /package/types/{literal → typioca/literal}/number/ternary.d.ts +0 -0
- /package/types/{literal → typioca/literal}/string/base64char.d.ts +0 -0
- /package/types/{literal → typioca/literal}/string/digit.d.ts +0 -0
- /package/types/{literal → typioca/literal}/string/hexchar.d.ts +0 -0
- /package/types/{literal → typioca/literal}/string/letter.d.ts +0 -0
- /package/types/{safe → typioca/safe}/Safe.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/finite/Finite.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/finite.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/fint.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/int/Int.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/int.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/numberful.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/polarity/Negative.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/polarity/Positive.d.ts +0 -0
- /package/types/{safe → typioca/safe}/numbers/polarity/pole/Pole.d.ts +0 -0
- /package/types/{safe → typioca/safe}/primitive.d.ts +0 -0
- /package/types/{safe → typioca/safe}/strings/char.d.ts +0 -0
- /package/types/{safe → typioca/safe}/strings/length/PropLength.d.ts +0 -0
- /package/types/{safe → typioca/safe}/strings/stringful.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/Particord.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/Property.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/Recordful.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/Table.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/Field.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/Flag.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/Limit.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/List.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/Listish.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/properties/Scalar.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/tables/FieldTable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/tables/FlagTable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/tables/ListTable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/tables/ListishTable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/construct/tables/ScalarTable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/identity/Interface.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/identity/Keys.d.ts +0 -0
- /package/types/{utility → typioca/utility}/interface/transform/Unrequire.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/construct/ArrayN.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/construct/Tuple.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/construct/arrays/Arrays.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/construct/tuples/Tuples.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/identity/DyadType.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/identity/MonadType.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/identity/TriadType.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/identity/array/ArrayType.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/identity/array/length/ArrayLength.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/transform/Join.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/transform/Unflat.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/transform/stringarray/Chain.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/transform/stringarray/PathN.d.ts +0 -0
- /package/types/{utility → typioca/utility}/iterable/transform/stringarray/stringify/Stringify.d.ts +0 -0
- /package/types/{utility → typioca/utility}/length/Length.d.ts +0 -0
- /package/types/{utility → typioca/utility}/null/null.d.ts +0 -0
- /package/types/{utility → typioca/utility}/null/nullable.d.ts +0 -0
- /package/types/{utility → typioca/utility}/primitive/Primeval.d.ts +0 -0
- /package/types/{utility → typioca/utility}/primitive/boolean/True.d.ts +0 -0
- /package/types/{utility → typioca/utility}/primitive/number/Numbered.d.ts +0 -0
- /package/types/{utility → typioca/utility}/primitive/string/literal.d.ts +0 -0
- /package/types/{utility → typioca/utility}/primitive/string/literalful.d.ts +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
import scopes, { type Scope } from "./scopes/scopes.js";
|
2
|
+
import type { Plugins, Parsers } from "./input/input.js";
|
3
|
+
import type Config from "./output/output.js";
|
4
|
+
export default scopes;
|
5
|
+
export type { Scope, Plugins, Parsers, Config, };
|
6
|
+
//# sourceMappingURL=boundary.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,eAAe,MAAM,CAAC;AACtB,YAAY,EACV,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,GACP,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"boundary.js","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAc,MAAM,oBAAoB,CAAC;AAIxD,eAAe,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACjC,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/boundary/input/input.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG,KAAK,GAAG,CACxB,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,CACR,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,KAAK,OAAO,GAAG;KAAG,CAAC,IAAI,KAAK,GAAG,qBAAqB,CAAG,OAAO,OAAO,CAAC,CAAC,CAAC,CAAE,CAAE,CAAC,CAAC;CAAE,CAAC;AAEjF,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import type { Scope } from "../input.js";
|
2
|
+
type PluginImport = {
|
3
|
+
configs: unknown;
|
4
|
+
};
|
5
|
+
export default interface Plugins extends Record<Scope, Record<string, PluginImport>> {
|
6
|
+
js: {
|
7
|
+
"@stylistic": PluginImport;
|
8
|
+
};
|
9
|
+
ts: {
|
10
|
+
"@stylistic": PluginImport;
|
11
|
+
"@typescript-eslint": PluginImport;
|
12
|
+
};
|
13
|
+
svelte: {
|
14
|
+
"@stylistic": PluginImport;
|
15
|
+
"@typescript-eslint": PluginImport;
|
16
|
+
svelte: PluginImport;
|
17
|
+
};
|
18
|
+
html: {
|
19
|
+
"@html-eslint": PluginImport;
|
20
|
+
};
|
21
|
+
json: {
|
22
|
+
jsonc: PluginImport;
|
23
|
+
};
|
24
|
+
jsonc: {
|
25
|
+
jsonc: PluginImport;
|
26
|
+
};
|
27
|
+
yml: {
|
28
|
+
yml: PluginImport;
|
29
|
+
};
|
30
|
+
}
|
31
|
+
export {};
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzC,MAAM,CAAC,OAAO,WAAW,OAAQ,SAAQ,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAClF,EAAE,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAC;IACnC,EAAE,EAAE;QACF,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,YAAY,EAAE,YAAY,CAAC;QAC3B,oBAAoB,EAAE,YAAY,CAAC;QACnC,MAAM,EAAE,YAAY,CAAC;KACtB,CAAC;IACF,IAAI,EAAE;QAAE,cAAc,EAAE,YAAY,CAAA;KAAE,CAAC;IACvC,IAAI,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC9B,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAC/B,GAAG,EAAE;QAAE,GAAG,EAAE,YAAY,CAAA;KAAE,CAAC;CAC5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAElE,KAAK,OAAO,GAAG;KACZ,CAAC,IAAI,KAAK,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;CACzD,CAAC;AAEF,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/boundary/input/plugins/plugins.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export default interface IConfig {
|
2
|
+
name: `scope:${string}`;
|
3
|
+
rules: IRule;
|
4
|
+
files: readonly string[];
|
5
|
+
linterOptions: {
|
6
|
+
noInlineConfig: true;
|
7
|
+
reportUnusedDisableDirectives: "error";
|
8
|
+
};
|
9
|
+
languageOptions: {
|
10
|
+
sourceType?: "module" | "script";
|
11
|
+
ecmaVersion?: "latest";
|
12
|
+
globals?: Record<string, true>;
|
13
|
+
parser?: unknown;
|
14
|
+
parserOptions?: Record<string, unknown>;
|
15
|
+
};
|
16
|
+
plugins: Record<string, Record<"configs", unknown>>;
|
17
|
+
processor?: string;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=IConfig.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IConfig.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/IConfig.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CAAC;QACb,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IConfig.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/IConfig.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export default interface Config {
|
2
|
+
rules: IRule;
|
3
|
+
files: readonly string[];
|
4
|
+
name: `linted/scope:${string}`;
|
5
|
+
linterOptions: {
|
6
|
+
noInlineConfig: true;
|
7
|
+
reportUnusedDisableDirectives: "error";
|
8
|
+
};
|
9
|
+
languageOptions: {
|
10
|
+
sourceType?: "module" | "script";
|
11
|
+
ecmaVersion?: "latest";
|
12
|
+
globals?: Record<string, true>;
|
13
|
+
parser?: unknown;
|
14
|
+
parserOptions?: Record<string, unknown>;
|
15
|
+
};
|
16
|
+
plugins: Record<string, Record<"configs", unknown>>;
|
17
|
+
processor?: string;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,gBAAgB,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/boundary/output/config/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../../src/boundary/output/output.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,iEAQF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../src/boundary/scopes/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC;AAEX,eAAe,MAAM,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import Options from "./options/Options.js";
|
2
|
+
import Files from "./files/Files.js";
|
3
|
+
import Ruleset, { Rule } from "./ruleset/Ruleset.js";
|
4
|
+
import type { Scope } from "../index.js";
|
5
|
+
export type Blanka = ConstructorParameters<typeof Options["js"]>;
|
6
|
+
export { Options, Files, Ruleset, Rule, type Scope, };
|
7
|
+
//# sourceMappingURL=Factory.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Factory.d.ts","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG,qBAAqB,CAAC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACjE,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,EACJ,KAAK,KAAK,GACX,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Factory.js","sourceRoot":"","sources":["../../src/factory/Factory.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GAEL,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Scope } from "../Factory.js";
|
2
|
+
export default class Files {
|
3
|
+
private readonly base;
|
4
|
+
private readonly includes;
|
5
|
+
constructor(base: Record<Scope, string[]>, includes: Particord<Scope, string[]>);
|
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/Files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,KAAK;IAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhD,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,MAAM,EAAE;CAM9C"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export default class Files {
|
2
|
+
base;
|
3
|
+
includes;
|
4
|
+
constructor(base, includes) {
|
5
|
+
this.base = base;
|
6
|
+
this.includes = includes;
|
7
|
+
}
|
8
|
+
files(scope) {
|
9
|
+
return [
|
10
|
+
...this.base[scope],
|
11
|
+
...this.includes[scope] ?? [],
|
12
|
+
];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=Files.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Files.js","sourceRoot":"","sources":["../../../src/factory/files/Files.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,KAAK;IAEL;IACA;IAFnB,YACmB,IAA6B,EAC7B,QAAoC;QADpC,SAAI,GAAJ,IAAI,CAAyB;QAC7B,aAAQ,GAAR,QAAQ,CAA4B;IACpD,CAAC;IAEG,KAAK,CAAC,KAAY;QACvB,OAAO;YACL,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;YACnB,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE;SAC9B,CAAC;IACJ,CAAC;CACF"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { Scope } from "../Factory.js";
|
2
|
+
import JsOption from "./option/js/index.js";
|
3
|
+
import TsOption from "./option/ts/index.js";
|
4
|
+
import SvelteOption from "./option/svelte/index.js";
|
5
|
+
import HtmlOption from "./option/html/index.js";
|
6
|
+
import JsonOption from "./option/json/index.js";
|
7
|
+
import JsoncOption from "./option/jsonc/index.js";
|
8
|
+
import YmlOption from "./option/yml/index.js";
|
9
|
+
export type { Scope };
|
10
|
+
declare const _default: {
|
11
|
+
readonly js: typeof JsOption;
|
12
|
+
readonly ts: typeof TsOption;
|
13
|
+
readonly svelte: typeof SvelteOption;
|
14
|
+
readonly html: typeof HtmlOption;
|
15
|
+
readonly json: typeof JsonOption;
|
16
|
+
readonly jsonc: typeof JsoncOption;
|
17
|
+
readonly yml: typeof YmlOption;
|
18
|
+
};
|
19
|
+
export default _default;
|
20
|
+
//# sourceMappingURL=Options.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,YAAY,EAAE,KAAK,EAAE,CAAC;;;;;;;;;;AACtB,wBAQW"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import JsOption from "./option/js/index.js";
|
2
|
+
import TsOption from "./option/ts/index.js";
|
3
|
+
import SvelteOption from "./option/svelte/index.js";
|
4
|
+
import HtmlOption from "./option/html/index.js";
|
5
|
+
import JsonOption from "./option/json/index.js";
|
6
|
+
import JsoncOption from "./option/jsonc/index.js";
|
7
|
+
import YmlOption from "./option/yml/index.js";
|
8
|
+
export default {
|
9
|
+
js: JsOption,
|
10
|
+
ts: TsOption,
|
11
|
+
svelte: SvelteOption,
|
12
|
+
html: HtmlOption,
|
13
|
+
json: JsonOption,
|
14
|
+
jsonc: JsoncOption,
|
15
|
+
yml: YmlOption,
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=Options.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAG9C,eAAe;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,WAAW;IAClB,GAAG,EAAE,SAAS;CACN,CAAC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import type { Scope } from "../Options.js";
|
2
|
+
export default abstract class Option<S extends Scope, PluginId extends string, IsEcma extends boolean = true, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = 0, GlobalTypes extends string = never, Processor extends object = never> {
|
3
|
+
readonly files: readonly string[];
|
4
|
+
readonly plugins: IOPlugins<PluginId>;
|
5
|
+
readonly parser: Tuple<unknown, ParserCount>;
|
6
|
+
readonly linterOptions: {
|
7
|
+
readonly noInlineConfig: true;
|
8
|
+
readonly reportUnusedDisableDirectives: "error";
|
9
|
+
};
|
10
|
+
abstract readonly name: literalful<`scope:${S}`>;
|
11
|
+
abstract readonly processor: (Interface<Processor> extends never ? object : Interface<Processor> extends {
|
12
|
+
"interface": string;
|
13
|
+
} ? Interface<Processor> : object);
|
14
|
+
constructor(files: readonly string[], plugins: IOPlugins<PluginId>, parser: Tuple<unknown, ParserCount>);
|
15
|
+
get option(): {
|
16
|
+
name: literalful<`scope:${S}`>;
|
17
|
+
files: readonly string[];
|
18
|
+
linterOptions: {
|
19
|
+
readonly noInlineConfig: true;
|
20
|
+
readonly reportUnusedDisableDirectives: "error";
|
21
|
+
};
|
22
|
+
languageOptions: IOLanguage<IsEcma, ParserOptions, GlobalTypes>;
|
23
|
+
plugins: IOPlugins<PluginId>;
|
24
|
+
} & (Interface<Processor> extends never ? object : Interface<Processor> extends {
|
25
|
+
interface: string;
|
26
|
+
} ? Interface<Processor> : object);
|
27
|
+
abstract get languageOptions(): IOLanguage<IsEcma, ParserOptions, GlobalTypes>;
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=Option.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM,CAClC,CAAC,SAAS,KAAK,EACf,QAAQ,SAAS,MAAM,EACvB,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,GAAG,KAAK,EAClC,SAAS,SAAS,MAAM,GAAG,KAAK;aAWd,KAAK,EAAE,SAAS,MAAM,EAAE;aACxB,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC;aAC5B,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC;IAXrD,SAAgB,aAAa;;;MAGlB;IAEX,kBAAyB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IACxD,kBAAyB,SAAS,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,SAAS;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,CAAC;gBAGvJ,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC5B,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC;IAGrD,IAAW,MAAM;;;;;;;;;;mBAR8G,MAAM;uCAiCpI;IAED,aAAoB,eAAe,IAAI,UAAU,CAC/C,MAAM,EACN,aAAa,EACb,WAAW,CACZ,CAAC;CACH"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export default class Option {
|
2
|
+
files;
|
3
|
+
plugins;
|
4
|
+
parser;
|
5
|
+
linterOptions = {
|
6
|
+
noInlineConfig: true,
|
7
|
+
reportUnusedDisableDirectives: "error",
|
8
|
+
};
|
9
|
+
constructor(files, plugins, parser) {
|
10
|
+
this.files = files;
|
11
|
+
this.plugins = plugins;
|
12
|
+
this.parser = parser;
|
13
|
+
}
|
14
|
+
get option() {
|
15
|
+
const { name, files, plugins, linterOptions, languageOptions, processor, } = this;
|
16
|
+
return {
|
17
|
+
name,
|
18
|
+
files,
|
19
|
+
linterOptions,
|
20
|
+
languageOptions,
|
21
|
+
plugins,
|
22
|
+
...processor,
|
23
|
+
};
|
24
|
+
}
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=Option.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../../src/factory/options/option/Option.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAgB,MAAM;IAkBhB;IACA;IACA;IAXF,aAAa,GAAG;QAC9B,cAAc,EAAE,IAAI;QACpB,6BAA6B,EAAE,OAAO;KAC9B,CAAC;IAKX,YACkB,KAAwB,EACxB,OAA4B,EAC5B,MAAmC;QAFnC,UAAK,GAAL,KAAK,CAAmB;QACxB,YAAO,GAAP,OAAO,CAAqB;QAC5B,WAAM,GAAN,MAAM,CAA6B;IAClD,CAAC;IAEJ,IAAW,MAAM;QACf,MAAM,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,SAAS,GACV,GAAG,IAAI,CAAC;QAET,OAAO;YACL,IAAI;YACJ,KAAK;YACL,aAAa;YACb,eAAe;YACf,OAAO;YACP,GAAG,SAAS;SAQb,CAAC;IACJ,CAAC;CAOF"}
|
@@ -1,5 +1,9 @@
|
|
1
|
-
import Option from "../
|
2
|
-
export default class HtmlOption extends Option<"html", "@html-eslint",
|
3
|
-
|
1
|
+
import Option from "../Option.js";
|
2
|
+
export default class HtmlOption extends Option<"html", "@html-eslint", false, true, 1> {
|
3
|
+
readonly name = "scope:html";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
4
8
|
}
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,cAAc,EACd,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,IAAI,gBAAgB;IACpC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -1,16 +1,10 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class HtmlOption extends Option {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
linterOptions: {
|
9
|
-
noInlineConfig: true,
|
10
|
-
reportUnusedDisableDirectives: "error",
|
11
|
-
},
|
12
|
-
languageOptions: { parser },
|
13
|
-
});
|
3
|
+
name = "scope:html";
|
4
|
+
processor = {};
|
5
|
+
get languageOptions() {
|
6
|
+
const [parser] = this.parser;
|
7
|
+
return { parser };
|
14
8
|
}
|
15
9
|
}
|
16
10
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAMvC;IACiB,IAAI,GAAG,YAAY,CAAC;IACpB,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,5 +1,10 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsOption extends Option<"js", "@stylistic"> {
|
3
|
-
|
3
|
+
readonly name = "scope:js";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly ecmaVersion: "latest";
|
7
|
+
readonly sourceType: "module";
|
8
|
+
};
|
4
9
|
}
|
5
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC;IAC9D,SAAgB,IAAI,cAAc;IAClC,SAAgB,SAAS,KAAM;IAE/B,IAAW,eAAe;;;MAKzB;CACF"}
|
@@ -1,19 +1,12 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsOption extends Option {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
reportUnusedDisableDirectives: "error",
|
11
|
-
},
|
12
|
-
languageOptions: {
|
13
|
-
ecmaVersion: "latest",
|
14
|
-
sourceType: "module",
|
15
|
-
},
|
16
|
-
});
|
3
|
+
name = "scope:js";
|
4
|
+
processor = {};
|
5
|
+
get languageOptions() {
|
6
|
+
return {
|
7
|
+
ecmaVersion: "latest",
|
8
|
+
sourceType: "module",
|
9
|
+
};
|
17
10
|
}
|
18
11
|
}
|
19
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,MAA0B;IAC9C,IAAI,GAAG,UAAU,CAAC;IAClB,SAAS,GAAG,EAAE,CAAC;IAE/B,IAAW,eAAe;QACxB,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
|
@@ -1,5 +1,9 @@
|
|
1
|
-
import Option from "../
|
2
|
-
export default class JsonOption extends Option<"json", "jsonc",
|
3
|
-
|
1
|
+
import Option from "../Option.js";
|
2
|
+
export default class JsonOption extends Option<"json", "jsonc", false, true, 1> {
|
3
|
+
readonly name = "scope:json";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
4
8
|
}
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM,CAC5C,MAAM,EACN,OAAO,EACP,KAAK,EACL,IAAI,EACJ,CAAC,CACF;IACC,SAAgB,IAAI,gBAAgB;IACpC,SAAgB,SAAS,KAAe;IAExC,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -1,16 +1,10 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../Option.js";
|
2
2
|
export default class JsonOption extends Option {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
linterOptions: {
|
9
|
-
noInlineConfig: true,
|
10
|
-
reportUnusedDisableDirectives: "error",
|
11
|
-
},
|
12
|
-
languageOptions: { parser },
|
13
|
-
});
|
3
|
+
name = "scope:json";
|
4
|
+
processor = {};
|
5
|
+
get languageOptions() {
|
6
|
+
const [parser] = this.parser;
|
7
|
+
return { parser };
|
14
8
|
}
|
15
9
|
}
|
16
10
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAMvC;IACiB,IAAI,GAAG,YAAY,CAAC;IACpB,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,5 +1,9 @@
|
|
1
|
-
import Option from "../
|
2
|
-
export default class JsoncOption extends Option<"jsonc", "jsonc",
|
3
|
-
|
1
|
+
import Option from "../Option.js";
|
2
|
+
export default class JsoncOption extends Option<"jsonc", "jsonc", false, true, 1> {
|
3
|
+
readonly name = "scope:jsonc";
|
4
|
+
readonly processor: {};
|
5
|
+
get languageOptions(): {
|
6
|
+
readonly parser: unknown;
|
7
|
+
};
|
4
8
|
}
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|