@eslinted/core 3.0.3-rc.3 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/boundary/index.d.ts +4 -0
- package/dist/boundary/index.d.ts.map +1 -0
- package/dist/boundary/index.js +2 -0
- package/dist/boundary/index.js.map +1 -0
- package/dist/boundary/input/files/base/index.d.ts +4 -0
- package/dist/boundary/input/files/base/index.d.ts.map +1 -0
- package/dist/boundary/input/files/base/index.js +2 -0
- package/dist/boundary/input/files/base/index.js.map +1 -0
- package/dist/boundary/input/files/includes/index.d.ts +4 -0
- package/dist/boundary/input/files/includes/index.d.ts.map +1 -0
- package/dist/boundary/input/files/includes/index.js +2 -0
- package/dist/boundary/input/files/includes/index.js.map +1 -0
- package/dist/boundary/input/files/index.d.ts +4 -0
- package/dist/boundary/input/files/index.d.ts.map +1 -0
- package/dist/boundary/input/files/index.js +2 -0
- package/dist/boundary/input/files/index.js.map +1 -0
- package/dist/boundary/input/index.d.ts +6 -0
- package/dist/boundary/input/index.d.ts.map +1 -0
- package/dist/boundary/input/index.js +2 -0
- package/dist/boundary/input/index.js.map +1 -0
- package/dist/boundary/input/parsers/{parsers.d.ts → index.d.ts} +2 -2
- 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/plugins/{plugins.d.ts → index.d.ts} +2 -2
- 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/rules/index.d.ts +4 -0
- package/dist/boundary/input/rules/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/index.js +2 -0
- package/dist/boundary/input/rules/index.js.map +1 -0
- package/dist/boundary/input/rules/overrides/index.d.ts +5 -0
- package/dist/boundary/input/rules/overrides/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/overrides/index.js +2 -0
- package/dist/boundary/input/rules/overrides/index.js.map +1 -0
- package/dist/boundary/input/rules/preset/entry/{entry.d.ts → index.d.ts} +2 -2
- package/dist/boundary/input/rules/preset/entry/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/preset/entry/index.js +2 -0
- package/dist/boundary/input/rules/preset/entry/index.js.map +1 -0
- package/dist/boundary/input/rules/preset/entry/object/{object.d.ts → index.d.ts} +2 -2
- package/dist/boundary/input/rules/preset/entry/object/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/preset/entry/object/index.js +2 -0
- package/dist/boundary/input/rules/preset/entry/object/index.js.map +1 -0
- package/dist/boundary/input/rules/preset/entry/object/state/{level.d.ts → index.d.ts} +1 -1
- package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/preset/entry/object/state/index.js +2 -0
- package/dist/boundary/input/rules/preset/entry/object/state/index.js.map +1 -0
- package/dist/boundary/input/rules/preset/index.d.ts +5 -0
- package/dist/boundary/input/rules/preset/index.d.ts.map +1 -0
- package/dist/boundary/input/rules/preset/index.js +2 -0
- package/dist/boundary/input/rules/preset/index.js.map +1 -0
- package/dist/boundary/output/config/{config.d.ts → index.d.ts} +2 -2
- 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/index.d.ts +3 -0
- package/dist/boundary/output/index.d.ts.map +1 -0
- package/dist/boundary/output/index.js +2 -0
- package/dist/boundary/output/index.js.map +1 -0
- package/dist/dependency/{dependency.d.ts → index.d.ts} +1 -1
- package/dist/dependency/index.d.ts.map +1 -0
- package/dist/dependency/index.js +2 -0
- package/dist/dependency/index.js.map +1 -0
- package/dist/dependency/parsers/index.d.ts +1 -1
- package/dist/dependency/parsers/index.d.ts.map +1 -1
- package/dist/factory/files/{Files.d.ts → index.d.ts} +3 -3
- package/dist/factory/files/index.d.ts.map +1 -0
- package/dist/factory/files/{Files.js → index.js} +1 -1
- package/dist/factory/files/{Files.js.map → index.js.map} +1 -1
- 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/{Options.d.ts → index.d.ts} +1 -1
- package/dist/factory/options/index.d.ts.map +1 -0
- package/dist/factory/options/{Options.js → index.js} +1 -1
- package/dist/factory/options/index.js.map +1 -0
- package/dist/factory/options/option/html/index.d.ts +1 -1
- package/dist/factory/options/option/html/index.d.ts.map +1 -1
- package/dist/factory/options/option/html/index.js +1 -1
- package/dist/factory/options/option/html/index.js.map +1 -1
- package/dist/factory/options/option/{Option.d.ts → index.d.ts} +5 -5
- package/dist/factory/options/option/{Option.d.ts.map → index.d.ts.map} +1 -1
- package/dist/factory/options/option/{Option.js → index.js} +1 -1
- package/dist/factory/options/option/index.js.map +1 -0
- package/dist/factory/options/option/js/index.d.ts +1 -1
- package/dist/factory/options/option/js/index.d.ts.map +1 -1
- package/dist/factory/options/option/js/index.js +1 -1
- package/dist/factory/options/option/js/index.js.map +1 -1
- package/dist/factory/options/option/json/index.d.ts +1 -1
- package/dist/factory/options/option/json/index.d.ts.map +1 -1
- package/dist/factory/options/option/json/index.js +1 -1
- package/dist/factory/options/option/json/index.js.map +1 -1
- package/dist/factory/options/option/jsonc/index.d.ts +1 -1
- package/dist/factory/options/option/jsonc/index.d.ts.map +1 -1
- package/dist/factory/options/option/jsonc/index.js +1 -1
- package/dist/factory/options/option/jsonc/index.js.map +1 -1
- package/dist/factory/options/option/md/index.d.ts +1 -1
- package/dist/factory/options/option/md/index.d.ts.map +1 -1
- package/dist/factory/options/option/md/index.js +1 -1
- package/dist/factory/options/option/md/index.js.map +1 -1
- package/dist/factory/options/option/mocha/index.d.ts +1 -1
- package/dist/factory/options/option/mocha/index.d.ts.map +1 -1
- package/dist/factory/options/option/mocha/index.js +1 -1
- package/dist/factory/options/option/mocha/index.js.map +1 -1
- package/dist/factory/options/option/svelte/index.d.ts +1 -1
- package/dist/factory/options/option/svelte/index.d.ts.map +1 -1
- package/dist/factory/options/option/svelte/index.js +1 -1
- package/dist/factory/options/option/svelte/index.js.map +1 -1
- package/dist/factory/options/option/ts/index.d.ts +1 -1
- package/dist/factory/options/option/ts/index.d.ts.map +1 -1
- package/dist/factory/options/option/ts/index.js +1 -1
- package/dist/factory/options/option/ts/index.js.map +1 -1
- package/dist/factory/options/option/yml/index.d.ts +1 -1
- package/dist/factory/options/option/yml/index.d.ts.map +1 -1
- package/dist/factory/options/option/yml/index.js +1 -1
- package/dist/factory/options/option/yml/index.js.map +1 -1
- package/dist/factory/ruleset/{Ruleset.d.ts → index.d.ts} +4 -4
- package/dist/factory/ruleset/index.d.ts.map +1 -0
- package/dist/factory/ruleset/{Ruleset.js → index.js} +2 -2
- package/dist/factory/ruleset/index.js.map +1 -0
- package/dist/factory/ruleset/rule/{Rule.d.ts → index.d.ts} +2 -2
- package/dist/factory/ruleset/rule/index.d.ts.map +1 -0
- package/dist/factory/ruleset/rule/{Rule.js → index.js} +1 -1
- package/dist/factory/ruleset/rule/index.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/scopes/{Scopes.d.ts → index.d.ts} +1 -1
- package/dist/scopes/index.d.ts.map +1 -0
- package/dist/scopes/{Scopes.js → index.js} +1 -1
- package/dist/scopes/index.js.map +1 -0
- package/package.json +1 -1
- package/src/boundary/index.ts +4 -0
- package/src/boundary/input/files/base/index.ts +5 -0
- package/src/boundary/input/files/includes/{includes.ts → index.ts} +1 -1
- package/src/boundary/input/files/index.ts +4 -0
- package/src/boundary/input/index.ts +6 -0
- package/src/boundary/input/parsers/{parsers.ts → index.ts} +1 -1
- package/src/boundary/input/plugins/{plugins.ts → index.ts} +1 -1
- package/src/boundary/input/rules/index.ts +4 -0
- package/src/boundary/input/rules/overrides/{overrides.ts → index.ts} +2 -2
- package/src/boundary/input/rules/preset/entry/{entry.ts → index.ts} +1 -1
- package/src/boundary/input/rules/preset/entry/object/{object.ts → index.ts} +1 -1
- package/src/boundary/input/rules/preset/index.ts +6 -0
- package/src/boundary/output/config/{config.ts → index.ts} +1 -1
- package/src/boundary/output/index.ts +3 -0
- package/src/dependency/parsers/index.ts +1 -1
- package/src/factory/files/{Files.ts → index.ts} +2 -2
- package/src/factory/index.ts +10 -0
- package/src/factory/options/option/html/index.ts +1 -1
- package/src/factory/options/option/{Option.ts → index.ts} +4 -4
- package/src/factory/options/option/js/index.ts +1 -1
- package/src/factory/options/option/json/index.ts +1 -1
- package/src/factory/options/option/jsonc/index.ts +1 -1
- package/src/factory/options/option/md/index.ts +1 -1
- package/src/factory/options/option/mocha/index.ts +1 -1
- package/src/factory/options/option/svelte/index.ts +1 -1
- package/src/factory/options/option/ts/index.ts +1 -1
- package/src/factory/options/option/yml/index.ts +1 -1
- package/src/factory/ruleset/{Ruleset.ts → index.ts} +2 -2
- package/src/factory/ruleset/rule/{Rule.ts → index.ts} +1 -1
- package/src/index.ts +15 -51
- package/dist/boundary/boundary.d.ts +0 -4
- package/dist/boundary/boundary.d.ts.map +0 -1
- package/dist/boundary/boundary.js +0 -2
- package/dist/boundary/boundary.js.map +0 -1
- package/dist/boundary/input/files/base/base.d.ts +0 -5
- package/dist/boundary/input/files/base/base.d.ts.map +0 -1
- package/dist/boundary/input/files/base/base.js +0 -2
- package/dist/boundary/input/files/base/base.js.map +0 -1
- package/dist/boundary/input/files/base/list/list.d.ts +0 -3
- package/dist/boundary/input/files/base/list/list.d.ts.map +0 -1
- package/dist/boundary/input/files/base/list/list.js +0 -2
- package/dist/boundary/input/files/base/list/list.js.map +0 -1
- package/dist/boundary/input/files/files.d.ts +0 -4
- package/dist/boundary/input/files/files.d.ts.map +0 -1
- package/dist/boundary/input/files/files.js +0 -2
- package/dist/boundary/input/files/files.js.map +0 -1
- package/dist/boundary/input/files/includes/includes.d.ts +0 -4
- package/dist/boundary/input/files/includes/includes.d.ts.map +0 -1
- package/dist/boundary/input/files/includes/includes.js +0 -2
- package/dist/boundary/input/files/includes/includes.js.map +0 -1
- package/dist/boundary/input/input.d.ts +0 -6
- package/dist/boundary/input/input.d.ts.map +0 -1
- package/dist/boundary/input/input.js +0 -2
- package/dist/boundary/input/input.js.map +0 -1
- package/dist/boundary/input/parsers/parsers.d.ts.map +0 -1
- package/dist/boundary/input/parsers/parsers.js +0 -2
- package/dist/boundary/input/parsers/parsers.js.map +0 -1
- package/dist/boundary/input/plugins/plugins.d.ts.map +0 -1
- package/dist/boundary/input/plugins/plugins.js +0 -2
- package/dist/boundary/input/plugins/plugins.js.map +0 -1
- package/dist/boundary/input/rules/overrides/overrides.d.ts +0 -5
- package/dist/boundary/input/rules/overrides/overrides.d.ts.map +0 -1
- package/dist/boundary/input/rules/overrides/overrides.js +0 -2
- package/dist/boundary/input/rules/overrides/overrides.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/entry.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/entry.js +0 -2
- package/dist/boundary/input/rules/preset/entry/entry.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/object.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/object.js +0 -2
- package/dist/boundary/input/rules/preset/entry/object/object.js.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/state/level.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/entry/object/state/level.js +0 -2
- package/dist/boundary/input/rules/preset/entry/object/state/level.js.map +0 -1
- package/dist/boundary/input/rules/preset/preset.d.ts +0 -5
- package/dist/boundary/input/rules/preset/preset.d.ts.map +0 -1
- package/dist/boundary/input/rules/preset/preset.js +0 -2
- package/dist/boundary/input/rules/preset/preset.js.map +0 -1
- package/dist/boundary/input/rules/rules.d.ts +0 -4
- package/dist/boundary/input/rules/rules.d.ts.map +0 -1
- package/dist/boundary/input/rules/rules.js +0 -2
- package/dist/boundary/input/rules/rules.js.map +0 -1
- package/dist/boundary/output/config/config.d.ts.map +0 -1
- package/dist/boundary/output/config/config.js +0 -2
- package/dist/boundary/output/config/config.js.map +0 -1
- package/dist/boundary/output/output.d.ts +0 -3
- package/dist/boundary/output/output.d.ts.map +0 -1
- package/dist/boundary/output/output.js +0 -2
- package/dist/boundary/output/output.js.map +0 -1
- package/dist/dependency/dependency.d.ts.map +0 -1
- package/dist/dependency/dependency.js +0 -2
- package/dist/dependency/dependency.js.map +0 -1
- package/dist/factory/factory.d.ts +0 -5
- package/dist/factory/factory.d.ts.map +0 -1
- package/dist/factory/factory.js +0 -5
- package/dist/factory/factory.js.map +0 -1
- package/dist/factory/files/Files.d.ts.map +0 -1
- package/dist/factory/options/Options.d.ts.map +0 -1
- package/dist/factory/options/Options.js.map +0 -1
- package/dist/factory/options/option/Option.js.map +0 -1
- package/dist/factory/ruleset/Ruleset.d.ts.map +0 -1
- package/dist/factory/ruleset/Ruleset.js.map +0 -1
- package/dist/factory/ruleset/rule/Rule.d.ts.map +0 -1
- package/dist/factory/ruleset/rule/Rule.js.map +0 -1
- package/dist/scopes/Scopes.d.ts.map +0 -1
- package/dist/scopes/Scopes.js.map +0 -1
- package/src/boundary/boundary.ts +0 -4
- package/src/boundary/input/files/base/base.ts +0 -6
- package/src/boundary/input/files/base/list/list.ts +0 -3
- package/src/boundary/input/files/files.ts +0 -4
- package/src/boundary/input/input.ts +0 -6
- package/src/boundary/input/rules/preset/preset.ts +0 -6
- package/src/boundary/input/rules/rules.ts +0 -4
- package/src/boundary/output/output.ts +0 -3
- package/src/factory/factory.ts +0 -10
- /package/src/boundary/input/rules/preset/entry/object/state/{level.ts → index.ts} +0 -0
- /package/src/boundary/output/config/option/{IOption.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/language/ecma/{IOLanguageEcma.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/language/{IOLanguage.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/language/source/{IOLanguageSource.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/linter/{IOLinter.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/plugins/{IOPlugins.d.ts → index.d.ts} +0 -0
- /package/src/boundary/output/config/option/processor/{IOProcessor.d.ts → index.d.ts} +0 -0
- /package/src/dependency/{dependency.ts → index.ts} +0 -0
- /package/src/factory/options/{Options.ts → index.ts} +0 -0
- /package/src/scopes/{Scopes.ts → index.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/md/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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,4 +1,4 @@
|
|
1
|
-
import Option from "../
|
1
|
+
import Option from "../index.js";
|
2
2
|
import type Ts from "../ts/index.js";
|
3
3
|
export default class Mocha extends Option<"mocha", "mocha" | keyof Ts["option"]["plugins"], true, Ts["option"]["languageOptions"]["parserOptions"], 1, "mocha"> {
|
4
4
|
readonly scope = "mocha";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,
|
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,5 +1,5 @@
|
|
1
|
-
import type { Scope } from "../../scopes/
|
2
|
-
import Rule from "./rule/
|
1
|
+
import type { Scope } from "../../scopes/index.js";
|
2
|
+
import Rule from "./rule/index.js";
|
3
3
|
export { Rule };
|
4
4
|
export default class Ruleset<S extends Scope> {
|
5
5
|
private readonly scope;
|
@@ -7,7 +7,7 @@ export default class Ruleset<S extends Scope> {
|
|
7
7
|
overrides: Null<Rule>;
|
8
8
|
constructor(scope: literalful<S>, ...rules: readonly Rule[]);
|
9
9
|
get id(): literalful<S>;
|
10
|
-
get records(): (readonly [string, Readonly<Record<string, import("../../boundary/input/rules/preset/entry/object/state/
|
10
|
+
get records(): (readonly [string, Readonly<Record<string, import("../../boundary/input/rules/preset/entry/object/state/index.js").Level | readonly [import("../../boundary/input/rules/preset/entry/object/state/index.js").Level, ...unknown[]]>>])[];
|
11
11
|
override(overrides: undefined | Rule["rules"]): this;
|
12
12
|
}
|
13
|
-
//# sourceMappingURL=
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/ruleset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,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,4OAUjB;IAEM,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;CAMrD"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import Rule from "./rule/
|
1
|
+
import Rule from "./rule/index.js";
|
2
2
|
export { Rule };
|
3
3
|
export default class Ruleset {
|
4
4
|
scope;
|
@@ -35,4 +35,4 @@ export default class Ruleset {
|
|
35
35
|
return this;
|
36
36
|
}
|
37
37
|
}
|
38
|
-
//# sourceMappingURL=
|
38
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/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 +1,7 @@
|
|
1
|
-
import type { Input } from "../../../boundary/
|
1
|
+
import type { Input } from "../../../boundary/index.js";
|
2
2
|
export default class {
|
3
3
|
readonly id: string;
|
4
4
|
readonly rules: Input.Rules.Preset.Entry.Object;
|
5
5
|
constructor(id: string, rules: Input.Rules.Preset.Entry.Object);
|
6
6
|
}
|
7
|
-
//# sourceMappingURL=
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,CAAC,OAAO;aAEM,EAAE,EAAE,MAAM;aACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM;gBADtC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM;CAEzD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/factory/ruleset/rule/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO;IAEM;IACA;IAFlB,YACkB,EAAU,EACV,KAAsC;QADtC,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAiC;IACrD,CAAC;CACL"}
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type * as Boundary from "./boundary/
|
1
|
+
import type * as Boundary from "./boundary/index.js";
|
2
2
|
export type { Boundary };
|
3
3
|
export default function (plugins: Boundary.Input.Plugins, parsers: Boundary.Input.Parsers, files: {
|
4
4
|
base: Boundary.Input.Files.Base;
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAQrD,YAAY,EAAE,QAAQ,EAAE,CAAC;AACzB,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAO,EAC/B,KAAK,EAAE;IACL,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;CACzC,EACD,KAAK,EAAE;IACL,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;CAC3C,GACA,QAAQ,CAAC,MAAM,EAAE,CAkGnB"}
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import scopes, {} from "./scopes/
|
2
|
-
import { Options, Files, Ruleset, Rule, } from "./factory/
|
1
|
+
import scopes, {} from "./scopes/index.js";
|
2
|
+
import { Options, Files, Ruleset, Rule, } from "./factory/index.js";
|
3
3
|
export default function (plugins, parsers, files, rules) {
|
4
4
|
try {
|
5
5
|
const f = new Files(files.base, files.includes), rulesets = {
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAc,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GACL,MAAM,oBAAoB,CAAC;AAG5B,MAAM,CAAC,OAAO,WACZ,OAA+B,EAC/B,OAA+B,EAC/B,KAGC,EACD,KAGC;IAED,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,EAC/C,QAAQ,GAAG;YACT,EAAE,EAAE,IAAI,OAAO,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAA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AK,CACpB,CAAC,OAAO;YACX,GAAG,EAAE,IAAI,OAAO;iBACb,GAAG,CACF,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EACd,QAAQ,CAAC,GAAG,EACZ,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,EACpB,aAAa,CAAC,GAAG,CAClB,CAAC,OAAO;YACX,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EACb,QAAQ,CAAC,EAAE,EACX,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,EAAE,EACtC,aAAa,CAAC,EAAE,CACjB,CAAC,OAAO;SACZ,CAAC;QAEF,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IACjD,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC7D,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,gFAUF,CAAC;AAEX,eAAe,MAAM,CAAC;AACtB,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;CACI,CAAC;AAEX,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Scope } from "../../../../scopes/
|
2
|
-
import type * as Overrides from "../preset/
|
1
|
+
import type { Scope } from "../../../../scopes/index.js";
|
2
|
+
import type * as Overrides from "../preset/index.js";
|
3
3
|
|
4
4
|
type Overrides = Readonly<Partial<Record<Scope, Overrides.Preset.Entry.Object>>>;
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Scope } from "../../scopes/
|
2
|
-
import type { Input } from "../../boundary/
|
1
|
+
import type { Scope } from "../../scopes/index.js";
|
2
|
+
import type { Input } from "../../boundary/index.js";
|
3
3
|
|
4
4
|
export default class Files {
|
5
5
|
constructor(
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import globals from "globals";
|
2
|
-
import type { Scope } from "../../../scopes/
|
3
|
-
import type { Ruleset } from "../../
|
4
|
-
import type { Plugins } from "../../../dependency/
|
5
|
-
import type { Output } from "../../../boundary/
|
2
|
+
import type { Scope } from "../../../scopes/index.js";
|
3
|
+
import type { Ruleset } from "../../index.js";
|
4
|
+
import type { Plugins } from "../../../dependency/index.js";
|
5
|
+
import type { Output } from "../../../boundary/index.js";
|
6
6
|
|
7
7
|
export default abstract class Option<
|
8
8
|
S extends Scope,
|
package/src/index.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import type
|
2
|
-
import
|
1
|
+
import scopes, { type Scope } from "./scopes/index.js";
|
2
|
+
import type * as Boundary from "./boundary/index.js";
|
3
3
|
import {
|
4
4
|
Options,
|
5
5
|
Files,
|
6
6
|
Ruleset,
|
7
7
|
Rule,
|
8
|
-
} from "./factory/
|
8
|
+
} from "./factory/index.js";
|
9
9
|
|
10
10
|
export type { Boundary };
|
11
11
|
export default function (
|
@@ -21,51 +21,19 @@ export default function (
|
|
21
21
|
},
|
22
22
|
): Boundary.Output[] {
|
23
23
|
try {
|
24
|
-
const f = new Files(
|
25
|
-
files.base,
|
26
|
-
files.includes,
|
27
|
-
),
|
24
|
+
const f = new Files(files.base, files.includes),
|
28
25
|
rulesets = {
|
29
|
-
js: new Ruleset(
|
30
|
-
|
31
|
-
|
32
|
-
),
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
),
|
37
|
-
|
38
|
-
"svelte",
|
39
|
-
...rules.preset.svelte.map(args => new Rule(...args)),
|
40
|
-
),
|
41
|
-
mocha: new Ruleset(
|
42
|
-
"mocha",
|
43
|
-
...rules.preset.mocha.map(args => new Rule(...args)),
|
44
|
-
),
|
45
|
-
html: new Ruleset(
|
46
|
-
"html",
|
47
|
-
...rules.preset.html.map(args => new Rule(...args)),
|
48
|
-
),
|
49
|
-
json: new Ruleset(
|
50
|
-
"json",
|
51
|
-
...rules.preset.json.map(args => new Rule(...args)),
|
52
|
-
),
|
53
|
-
jsonc: new Ruleset(
|
54
|
-
"jsonc",
|
55
|
-
...rules.preset.jsonc.map(args => new Rule(...args)),
|
56
|
-
),
|
57
|
-
yml: new Ruleset(
|
58
|
-
"yml",
|
59
|
-
...rules.preset.yml.map(args => new Rule(...args)),
|
60
|
-
),
|
61
|
-
md: new Ruleset(
|
62
|
-
"md",
|
63
|
-
...rules.preset.md.map(args => new Rule(...args)),
|
64
|
-
),
|
26
|
+
js: new Ruleset("js", ...rules.preset.js.map(args => new Rule(...args))),
|
27
|
+
ts: new Ruleset("ts", ...rules.preset.ts.map(args => new Rule(...args))),
|
28
|
+
svelte: new Ruleset("svelte", ...rules.preset.svelte.map(args => new Rule(...args))),
|
29
|
+
mocha: new Ruleset("mocha", ...rules.preset.mocha.map(args => new Rule(...args))),
|
30
|
+
html: new Ruleset("html", ...rules.preset.html.map(args => new Rule(...args))),
|
31
|
+
json: new Ruleset("json", ...rules.preset.json.map(args => new Rule(...args))),
|
32
|
+
jsonc: new Ruleset("jsonc", ...rules.preset.jsonc.map(args => new Rule(...args))),
|
33
|
+
yml: new Ruleset("yml", ...rules.preset.yml.map(args => new Rule(...args))),
|
34
|
+
md: new Ruleset("md", ...rules.preset.md.map(args => new Rule(...args))),
|
65
35
|
},
|
66
|
-
scopedParsers: {
|
67
|
-
[S in Scope]: ConstructorParameters<typeof Options[S]>[3];
|
68
|
-
} = {
|
36
|
+
scopedParsers: { [S in Scope]: ConstructorParameters<typeof Options[S]>[3] } = {
|
69
37
|
js: [] as const,
|
70
38
|
ts: [parsers.ts] as const,
|
71
39
|
svelte: [parsers.svelte, parsers.ts] as const,
|
@@ -80,11 +48,7 @@ export default function (
|
|
80
48
|
for (const scope of scopes)
|
81
49
|
rulesets[scope].override(rules.overrides[scope]);
|
82
50
|
|
83
|
-
const options: {
|
84
|
-
[S in Scope]: InstanceType<
|
85
|
-
typeof Options[S]
|
86
|
-
>["configs"]
|
87
|
-
} = {
|
51
|
+
const options: { [S in Scope]: InstanceType<typeof Options[S]>["configs"] } = {
|
88
52
|
js: new Options
|
89
53
|
.js(
|
90
54
|
f.files("js"),
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../src/boundary/boundary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,YAAY,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,CAAC"}
|