@eslinted/core 12.0.1 → 13.0.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/{objects → config}/index.js.map +1 -1
- package/dist/config/rule.d.ts +7 -0
- package/dist/config/rule.d.ts.map +1 -0
- package/dist/config/rule.js +2 -0
- package/dist/config/rule.js.map +1 -0
- package/dist/factory/global.d.ts +13 -10
- package/dist/factory/global.d.ts.map +1 -1
- package/dist/factory/global.js +20 -18
- package/dist/factory/global.js.map +1 -1
- package/dist/factory/index.d.ts +2 -16
- package/dist/factory/index.d.ts.map +1 -1
- package/dist/factory/index.js +2 -21
- package/dist/factory/index.js.map +1 -1
- package/dist/factory/options/index.d.ts +10 -9
- package/dist/factory/options/index.d.ts.map +1 -1
- package/dist/factory/options/index.js +8 -8
- package/dist/factory/options/index.js.map +1 -1
- package/dist/factory/options/{option/index.d.ts → option.d.ts} +27 -14
- package/dist/factory/options/{option/index.d.ts.map → option.d.ts.map} +1 -1
- package/dist/factory/options/{option/index.js → option.js} +5 -3
- package/dist/factory/options/option.js.map +1 -0
- package/dist/factory/options/proto.d.ts +19 -0
- package/dist/factory/options/proto.d.ts.map +1 -0
- package/dist/factory/options/proto.js +2 -0
- package/dist/factory/options/proto.js.map +1 -0
- package/dist/factory/options/{html.d.ts → scopes/html.d.ts} +2 -2
- package/dist/factory/options/scopes/html.d.ts.map +1 -0
- package/dist/factory/options/{html.js → scopes/html.js} +1 -1
- package/dist/factory/options/scopes/html.js.map +1 -0
- package/dist/factory/options/{js.d.ts → scopes/js.d.ts} +1 -1
- package/dist/factory/options/scopes/js.d.ts.map +1 -0
- package/dist/factory/options/{js.js → scopes/js.js} +1 -1
- package/dist/factory/options/scopes/js.js.map +1 -0
- package/dist/factory/options/{json.d.ts → scopes/json.d.ts} +2 -2
- package/dist/factory/options/scopes/json.d.ts.map +1 -0
- package/dist/factory/options/{json.js → scopes/json.js} +1 -1
- package/dist/factory/options/scopes/json.js.map +1 -0
- package/dist/factory/options/{jsonc.d.ts → scopes/jsonc.d.ts} +2 -2
- package/dist/factory/options/scopes/jsonc.d.ts.map +1 -0
- package/dist/factory/options/{jsonc.js → scopes/jsonc.js} +1 -1
- package/dist/factory/options/scopes/jsonc.js.map +1 -0
- package/dist/factory/options/{mocha.d.ts → scopes/mocha.d.ts} +1 -1
- package/dist/factory/options/scopes/mocha.d.ts.map +1 -0
- package/dist/factory/options/{mocha.js → scopes/mocha.js} +1 -1
- package/dist/factory/options/scopes/mocha.js.map +1 -0
- package/dist/factory/options/{svelte.d.ts → scopes/svelte.d.ts} +2 -2
- package/dist/factory/options/scopes/svelte.d.ts.map +1 -0
- package/dist/factory/options/{svelte.js → scopes/svelte.js} +1 -1
- package/dist/factory/options/scopes/svelte.js.map +1 -0
- package/dist/factory/options/{ts.d.ts → scopes/ts.d.ts} +1 -1
- package/dist/factory/options/scopes/ts.d.ts.map +1 -0
- package/dist/factory/options/{ts.js → scopes/ts.js} +1 -1
- package/dist/factory/options/scopes/ts.js.map +1 -0
- package/dist/factory/options/{yml.d.ts → scopes/yml.d.ts} +1 -1
- package/dist/factory/options/scopes/yml.d.ts.map +1 -0
- package/dist/factory/options/{yml.js → scopes/yml.js} +1 -1
- package/dist/factory/options/scopes/yml.js.map +1 -0
- package/dist/factory/ruleset.d.ts +10 -0
- package/dist/factory/ruleset.d.ts.map +1 -0
- package/dist/factory/ruleset.js +18 -0
- package/dist/factory/ruleset.js.map +1 -0
- package/dist/factory/scoped.d.ts +13 -0
- package/dist/factory/scoped.d.ts.map +1 -0
- package/dist/factory/scoped.js +17 -0
- package/dist/factory/scoped.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/interface/imports/index.d.ts +3 -0
- package/dist/interface/imports/index.d.ts.map +1 -0
- package/dist/{objects/config → interface/imports}/index.js.map +1 -1
- package/dist/interface/index.d.ts +3 -3
- package/dist/interface/index.d.ts.map +1 -1
- package/dist/interface/input.d.ts +18 -0
- package/dist/interface/input.d.ts.map +1 -0
- package/dist/interface/input.js +2 -0
- package/dist/interface/input.js.map +1 -0
- package/dist/interface/output.d.ts +17 -0
- package/dist/interface/output.d.ts.map +1 -0
- package/dist/interface/output.js +2 -0
- package/dist/interface/output.js.map +1 -0
- package/dist/{scopes/index.d.ts → scopes.d.ts} +2 -2
- package/dist/scopes.d.ts.map +1 -0
- package/dist/{scopes/index.js → scopes.js} +1 -1
- package/dist/scopes.js.map +1 -0
- package/dist/scopes.spec.d.ts +2 -0
- package/dist/scopes.spec.d.ts.map +1 -0
- package/dist/{scopes/index.spec.js → scopes.spec.js} +2 -2
- package/dist/scopes.spec.js.map +1 -0
- package/package.json +1 -1
- package/src/config/index.ts +42 -0
- package/src/config/rule.ts +14 -0
- package/src/factory/global.ts +20 -18
- package/src/factory/index.ts +2 -35
- package/src/factory/options/index.ts +10 -13
- package/src/factory/options/{option/index.ts → option.ts} +35 -31
- package/src/factory/options/proto.ts +46 -0
- package/src/factory/options/{html.ts → scopes/html.ts} +2 -3
- package/src/factory/options/{js.ts → scopes/js.ts} +1 -1
- package/src/factory/options/{json.ts → scopes/json.ts} +2 -3
- package/src/factory/options/{jsonc.ts → scopes/jsonc.ts} +2 -3
- package/src/factory/options/{mocha.ts → scopes/mocha.ts} +1 -1
- package/src/factory/options/{svelte.ts → scopes/svelte.ts} +2 -2
- package/src/factory/options/{ts.ts → scopes/ts.ts} +1 -1
- package/src/factory/options/{yml.ts → scopes/yml.ts} +1 -1
- package/src/factory/ruleset.ts +27 -0
- package/src/factory/scoped.ts +17 -0
- package/src/index.ts +19 -35
- package/src/interface/imports/index.ts +16 -0
- package/src/interface/index.ts +3 -11
- package/src/interface/input.ts +26 -0
- package/src/interface/output.ts +24 -0
- package/src/{scopes/index.spec.ts → scopes.spec.ts} +1 -1
- package/src/{scopes/index.ts → scopes.ts} +1 -1
- package/dist/factory/files.d.ts +0 -7
- package/dist/factory/files.d.ts.map +0 -1
- package/dist/factory/files.js +0 -17
- package/dist/factory/files.js.map +0 -1
- package/dist/factory/ignores.d.ts +0 -7
- package/dist/factory/ignores.d.ts.map +0 -1
- package/dist/factory/ignores.js +0 -17
- package/dist/factory/ignores.js.map +0 -1
- package/dist/factory/options/html.d.ts.map +0 -1
- package/dist/factory/options/html.js.map +0 -1
- package/dist/factory/options/js.d.ts.map +0 -1
- package/dist/factory/options/js.js.map +0 -1
- package/dist/factory/options/json.d.ts.map +0 -1
- package/dist/factory/options/json.js.map +0 -1
- package/dist/factory/options/jsonc.d.ts.map +0 -1
- package/dist/factory/options/jsonc.js.map +0 -1
- package/dist/factory/options/mocha.d.ts.map +0 -1
- package/dist/factory/options/mocha.js.map +0 -1
- package/dist/factory/options/option/index.js.map +0 -1
- package/dist/factory/options/option/template/globals.d.ts +0 -3
- package/dist/factory/options/option/template/globals.d.ts.map +0 -1
- package/dist/factory/options/option/template/globals.js +0 -2
- package/dist/factory/options/option/template/globals.js.map +0 -1
- package/dist/factory/options/option/template/index.d.ts +0 -11
- package/dist/factory/options/option/template/index.d.ts.map +0 -1
- package/dist/factory/options/option/template/index.js.map +0 -1
- package/dist/factory/options/option/template/languageOptions.d.ts +0 -9
- package/dist/factory/options/option/template/languageOptions.d.ts.map +0 -1
- package/dist/factory/options/option/template/languageOptions.js +0 -2
- package/dist/factory/options/option/template/languageOptions.js.map +0 -1
- package/dist/factory/options/svelte.d.ts.map +0 -1
- package/dist/factory/options/svelte.js.map +0 -1
- package/dist/factory/options/ts.d.ts.map +0 -1
- package/dist/factory/options/ts.js.map +0 -1
- package/dist/factory/options/yml.d.ts.map +0 -1
- package/dist/factory/options/yml.js.map +0 -1
- package/dist/factory/rules/index.d.ts +0 -9
- package/dist/factory/rules/index.d.ts.map +0 -1
- package/dist/factory/rules/index.js +0 -15
- package/dist/factory/rules/index.js.map +0 -1
- package/dist/factory/rules/ruleset.d.ts +0 -10
- package/dist/factory/rules/ruleset.d.ts.map +0 -1
- package/dist/factory/rules/ruleset.js +0 -20
- package/dist/factory/rules/ruleset.js.map +0 -1
- package/dist/interface/input/global/ignores/defaults.d.ts +0 -3
- package/dist/interface/input/global/ignores/defaults.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/defaults.js +0 -2
- package/dist/interface/input/global/ignores/defaults.js.map +0 -1
- package/dist/interface/input/global/ignores/extend.d.ts +0 -5
- package/dist/interface/input/global/ignores/extend.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/extend.js +0 -2
- package/dist/interface/input/global/ignores/extend.js.map +0 -1
- package/dist/interface/input/global/ignores/index.d.ts +0 -8
- package/dist/interface/input/global/ignores/index.d.ts.map +0 -1
- package/dist/interface/input/global/ignores/index.js.map +0 -1
- package/dist/interface/input/global/index.d.ts +0 -6
- package/dist/interface/input/global/index.d.ts.map +0 -1
- package/dist/interface/input/global/index.js +0 -2
- package/dist/interface/input/global/index.js.map +0 -1
- package/dist/interface/input/imports/index.d.ts +0 -8
- package/dist/interface/input/imports/index.d.ts.map +0 -1
- package/dist/interface/input/imports/index.js +0 -2
- package/dist/interface/input/imports/index.js.map +0 -1
- package/dist/interface/input/imports/parsers/index.d.ts +0 -4
- package/dist/interface/input/imports/parsers/index.d.ts.map +0 -1
- package/dist/interface/input/imports/parsers/index.js +0 -2
- package/dist/interface/input/imports/parsers/index.js.map +0 -1
- package/dist/interface/input/imports/parsers/parser.d.ts +0 -3
- package/dist/interface/input/imports/parsers/parser.d.ts.map +0 -1
- package/dist/interface/input/imports/parsers/parser.js +0 -2
- package/dist/interface/input/imports/parsers/parser.js.map +0 -1
- package/dist/interface/input/imports/plugins.d.ts +0 -3
- package/dist/interface/input/imports/plugins.d.ts.map +0 -1
- package/dist/interface/input/imports/plugins.js +0 -2
- package/dist/interface/input/imports/plugins.js.map +0 -1
- package/dist/interface/input/index.d.ts +0 -7
- package/dist/interface/input/index.d.ts.map +0 -1
- package/dist/interface/input/index.js +0 -2
- package/dist/interface/input/index.js.map +0 -1
- package/dist/interface/input/scoped/files/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/files/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/defaults.js +0 -2
- package/dist/interface/input/scoped/files/defaults.js.map +0 -1
- package/dist/interface/input/scoped/files/includes.d.ts +0 -3
- package/dist/interface/input/scoped/files/includes.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/includes.js +0 -2
- package/dist/interface/input/scoped/files/includes.js.map +0 -1
- package/dist/interface/input/scoped/files/index.d.ts +0 -8
- package/dist/interface/input/scoped/files/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/files/index.js +0 -2
- package/dist/interface/input/scoped/files/index.js.map +0 -1
- package/dist/interface/input/scoped/ignores/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/ignores/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/defaults.js +0 -2
- package/dist/interface/input/scoped/ignores/defaults.js.map +0 -1
- package/dist/interface/input/scoped/ignores/extend.d.ts +0 -3
- package/dist/interface/input/scoped/ignores/extend.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/extend.js +0 -2
- package/dist/interface/input/scoped/ignores/extend.js.map +0 -1
- package/dist/interface/input/scoped/ignores/index.d.ts +0 -8
- package/dist/interface/input/scoped/ignores/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/ignores/index.js +0 -2
- package/dist/interface/input/scoped/ignores/index.js.map +0 -1
- package/dist/interface/input/scoped/index.d.ts +0 -10
- package/dist/interface/input/scoped/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/index.js +0 -2
- package/dist/interface/input/scoped/index.js.map +0 -1
- package/dist/interface/input/scoped/rules/defaults.d.ts +0 -3
- package/dist/interface/input/scoped/rules/defaults.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/defaults.js +0 -2
- package/dist/interface/input/scoped/rules/defaults.js.map +0 -1
- package/dist/interface/input/scoped/rules/index.d.ts +0 -8
- package/dist/interface/input/scoped/rules/index.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/index.js +0 -2
- package/dist/interface/input/scoped/rules/index.js.map +0 -1
- package/dist/interface/input/scoped/rules/overrides.d.ts +0 -3
- package/dist/interface/input/scoped/rules/overrides.d.ts.map +0 -1
- package/dist/interface/input/scoped/rules/overrides.js +0 -2
- package/dist/interface/input/scoped/rules/overrides.js.map +0 -1
- package/dist/interface/input/settings/env.d.ts +0 -3
- package/dist/interface/input/settings/env.d.ts.map +0 -1
- package/dist/interface/input/settings/env.js +0 -2
- package/dist/interface/input/settings/env.js.map +0 -1
- package/dist/interface/input/settings/index.d.ts +0 -6
- package/dist/interface/input/settings/index.d.ts.map +0 -1
- package/dist/interface/input/settings/index.js +0 -2
- package/dist/interface/input/settings/index.js.map +0 -1
- package/dist/interface/output/global.d.ts +0 -6
- package/dist/interface/output/global.d.ts.map +0 -1
- package/dist/interface/output/global.js +0 -2
- package/dist/interface/output/global.js.map +0 -1
- package/dist/interface/output/index.d.ts +0 -8
- package/dist/interface/output/index.d.ts.map +0 -1
- package/dist/interface/output/index.js +0 -2
- package/dist/interface/output/index.js.map +0 -1
- package/dist/objects/config/global/ignores.d.ts +0 -6
- package/dist/objects/config/global/ignores.d.ts.map +0 -1
- package/dist/objects/config/global/ignores.js +0 -2
- package/dist/objects/config/global/ignores.js.map +0 -1
- package/dist/objects/config/global/system.d.ts +0 -14
- package/dist/objects/config/global/system.d.ts.map +0 -1
- package/dist/objects/config/global/system.js +0 -2
- package/dist/objects/config/global/system.js.map +0 -1
- package/dist/objects/config/index.d.ts +0 -6
- package/dist/objects/config/index.d.ts.map +0 -1
- package/dist/objects/config/index.js +0 -2
- package/dist/objects/config/property.d.ts +0 -2
- package/dist/objects/config/property.d.ts.map +0 -1
- package/dist/objects/config/property.js +0 -2
- package/dist/objects/config/property.js.map +0 -1
- package/dist/objects/config/scoped.d.ts +0 -15
- package/dist/objects/config/scoped.d.ts.map +0 -1
- package/dist/objects/config/scoped.js +0 -2
- package/dist/objects/config/scoped.js.map +0 -1
- package/dist/objects/index.d.ts +0 -4
- package/dist/objects/index.d.ts.map +0 -1
- package/dist/objects/index.js +0 -2
- package/dist/objects/plugins/index.d.ts +0 -5
- package/dist/objects/plugins/index.d.ts.map +0 -1
- package/dist/objects/plugins/index.js +0 -2
- package/dist/objects/plugins/index.js.map +0 -1
- package/dist/objects/plugins/plugin.d.ts +0 -2
- package/dist/objects/plugins/plugin.d.ts.map +0 -1
- package/dist/objects/plugins/plugin.js +0 -2
- package/dist/objects/plugins/plugin.js.map +0 -1
- package/dist/objects/rule/index.d.ts +0 -8
- package/dist/objects/rule/index.d.ts.map +0 -1
- package/dist/objects/rule/index.js +0 -2
- package/dist/objects/rule/index.js.map +0 -1
- package/dist/objects/rule/record/index.d.ts +0 -7
- package/dist/objects/rule/record/index.d.ts.map +0 -1
- package/dist/objects/rule/record/index.js +0 -2
- package/dist/objects/rule/record/index.js.map +0 -1
- package/dist/objects/rule/record/state.d.ts +0 -2
- package/dist/objects/rule/record/state.d.ts.map +0 -1
- package/dist/objects/rule/record/state.js +0 -2
- package/dist/objects/rule/record/state.js.map +0 -1
- package/dist/scopes/index.d.ts.map +0 -1
- package/dist/scopes/index.js.map +0 -1
- package/dist/scopes/index.spec.d.ts +0 -2
- package/dist/scopes/index.spec.d.ts.map +0 -1
- package/dist/scopes/index.spec.js.map +0 -1
- package/src/factory/files.ts +0 -26
- package/src/factory/ignores.ts +0 -26
- package/src/factory/options/option/template/globals.ts +0 -5
- package/src/factory/options/option/template/index.ts +0 -20
- package/src/factory/options/option/template/languageOptions.ts +0 -16
- package/src/factory/rules/index.ts +0 -26
- package/src/factory/rules/ruleset.ts +0 -28
- package/src/interface/input/global/ignores/defaults.ts +0 -6
- package/src/interface/input/global/ignores/extend.ts +0 -5
- package/src/interface/input/global/ignores/index.ts +0 -9
- package/src/interface/input/global/index.ts +0 -7
- package/src/interface/input/imports/index.ts +0 -12
- package/src/interface/input/imports/parsers/index.ts +0 -8
- package/src/interface/input/imports/parsers/parser.ts +0 -10
- package/src/interface/input/imports/plugins.ts +0 -3
- package/src/interface/input/index.ts +0 -20
- package/src/interface/input/scoped/files/defaults.ts +0 -6
- package/src/interface/input/scoped/files/includes.ts +0 -5
- package/src/interface/input/scoped/files/index.ts +0 -9
- package/src/interface/input/scoped/ignores/defaults.ts +0 -6
- package/src/interface/input/scoped/ignores/extend.ts +0 -5
- package/src/interface/input/scoped/ignores/index.ts +0 -9
- package/src/interface/input/scoped/index.ts +0 -15
- package/src/interface/input/scoped/rules/defaults.ts +0 -9
- package/src/interface/input/scoped/rules/index.ts +0 -13
- package/src/interface/input/scoped/rules/overrides.ts +0 -9
- package/src/interface/input/settings/env.ts +0 -6
- package/src/interface/input/settings/index.ts +0 -7
- package/src/interface/output/global.ts +0 -9
- package/src/interface/output/index.ts +0 -12
- package/src/objects/config/global/ignores.ts +0 -13
- package/src/objects/config/global/system.ts +0 -48
- package/src/objects/config/index.ts +0 -8
- package/src/objects/config/property.ts +0 -12
- package/src/objects/config/scoped.ts +0 -15
- package/src/objects/index.ts +0 -11
- package/src/objects/plugins/index.ts +0 -6
- package/src/objects/plugins/plugin.ts +0 -9
- package/src/objects/rule/index.ts +0 -8
- package/src/objects/rule/record/index.ts +0 -7
- package/src/objects/rule/record/state.ts +0 -5
- package/typings/common/literals/chars/alpha.d.ts +0 -4
- package/typings/common/literals/chars/digit.d.ts +0 -12
- package/typings/common/literals/chars/digits/base64.d.ts +0 -13
- package/typings/common/literals/chars/digits/hexchar.d.ts +0 -9
- package/typings/common/literals/chars/lower.d.ts +0 -1
- package/typings/common/literals/chars/upper.d.ts +0 -28
- package/typings/common/literals/numbers/base32.d.ts +0 -19
- package/typings/common/literals/numbers/base64.d.ts +0 -35
- package/typings/common/literals/numbers/binary.d.ts +0 -4
- package/typings/common/literals/numbers/decimal.d.ts +0 -5
- package/typings/common/literals/numbers/hexadecimal.d.ts +0 -10
- package/typings/common/literals/numbers/octal.d.ts +0 -7
- package/typings/common/literals/numbers/quatral.d.ts +0 -4
- package/typings/common/literals/numbers/ternary.d.ts +0 -4
- package/typings/common/primitive.d.ts +0 -5
- package/typings/common/tester.d.ts +0 -8
- package/typings/common/utility/constructor.d.ts +0 -3
- package/typings/common/utility/interface/identity.d.ts +0 -11
- package/typings/common/utility/interface/identity.spec.d.ts +0 -63
- package/typings/common/utility/interface/index.d.ts +0 -5
- package/typings/common/utility/interface/keys.d.ts +0 -3
- package/typings/common/utility/interface/keys.spec.d.ts +0 -67
- package/typings/common/utility/interface/optional.d.ts +0 -7
- package/typings/common/utility/interface/optional.spec.d.ts +0 -34
- package/typings/common/utility/interface/partially.d.ts +0 -1
- package/typings/common/utility/interface/property/index.d.ts +0 -8
- package/typings/common/utility/interface/property/properties.d.ts +0 -6
- package/typings/common/utility/interface/table/index.d.ts +0 -3
- package/typings/common/utility/interface/table/tables.d.ts +0 -5
- package/typings/common/utility/iterable/arrayful.d.ts +0 -1
- package/typings/common/utility/iterable/flat/index.d.ts +0 -3
- package/typings/common/utility/iterable/flat/unflat.d.ts +0 -3
- package/typings/common/utility/iterable/identity.d.ts +0 -1
- package/typings/common/utility/iterable/identity.spec.d.ts +0 -59
- package/typings/common/utility/iterable/index.d.ts +0 -15
- package/typings/common/utility/iterable/index.spec.d.ts +0 -18
- package/typings/common/utility/iterable/tuple.d.ts +0 -11
- package/typings/common/utility/iterable/tuple.spec.d.ts +0 -14
- package/typings/common/utility/iterable/tuples.d.ts +0 -10
- package/typings/common/utility/null/index.d.ts +0 -1
- package/typings/common/utility/null/index.spec.d.ts +0 -13
- package/typings/common/utility/null/nullable.d.ts +0 -1
- package/typings/common/utility/null/nullable.spec.d.ts +0 -13
- package/typings/common/utility/primitive/cast/number.d.ts +0 -13
- package/typings/common/utility/primitive/cast/number.spec.d.ts +0 -57
- package/typings/common/utility/primitive/index.d.ts +0 -11
- package/typings/common/utility/primitive/index.spec.d.ts +0 -27
- package/typings/common/utility/primitive/length.d.ts +0 -5
- package/typings/common/utility/primitive/length.spec.d.ts +0 -26
- package/typings/common/utility/primitive/literal.d.ts +0 -1
- package/typings/common/utility/primitive/literal.spec.d.ts +0 -17
- package/typings/common/utility/primitive/literalful.d.ts +0 -3
- package/typings/common/utility/primitive/literalful.spec.d.ts +0 -20
- package/typings/common/utility/primitive/numeric.d.ts +0 -1
- package/typings/common/utility/primitive/numeric.spec.d.ts +0 -30
- package/typings/common/utility/primitive/truth.d.ts +0 -3
- package/typings/common/utility/primitive/truth.spec.d.ts +0 -22
- package/typings/common/validated/char.d.ts +0 -1
- package/typings/common/validated/index.d.ts +0 -2
- package/typings/common/validated/numberful.d.ts +0 -1
- package/typings/common/validated/properties/finite.d.ts +0 -2
- package/typings/common/validated/properties/int.d.ts +0 -2
- package/typings/common/validated/properties/length.d.ts +0 -3
- package/typings/common/validated/properties/polarity.d.ts +0 -5
- package/typings/common/validated/stringful.d.ts +0 -1
- /package/dist/{factory/options/option/template → config}/index.js +0 -0
- /package/dist/interface/{input/global/ignores → imports}/index.js +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { RuleRecord } from "./rule.js";
|
2
|
+
export type * from "./rule.js";
|
3
|
+
export interface Config<Plugins extends string = string> {
|
4
|
+
name: `linted/${string}`;
|
5
|
+
plugins: Record<Plugins, {
|
6
|
+
configs: unknown;
|
7
|
+
}>;
|
8
|
+
files: string[];
|
9
|
+
ignores: string[];
|
10
|
+
rules: RuleRecord;
|
11
|
+
linterOptions: {
|
12
|
+
noInlineConfig: boolean;
|
13
|
+
reportUnusedDisableDirectives: "error" | "warn" | "off";
|
14
|
+
};
|
15
|
+
languageOptions: {
|
16
|
+
sourceType: "module" | "script";
|
17
|
+
ecmaVersion: "latest" | 3 | 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024;
|
18
|
+
};
|
19
|
+
processor?: string;
|
20
|
+
language?: string;
|
21
|
+
settings?: Record<string, unknown>;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC,mBAAmB,QAAQ,CAAC;AAC5B,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IACrD,IAAI,EAAE,UAAU,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC/C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE;QACb,cAAc,EAAE,OAAO,CAAC;QACxB,6BAA6B,EACzB,OAAO,GACP,MAAM,GACN,KAAK,CACR;KACF,CAAC;IACF,eAAe,EAAE;QACf,UAAU,EACN,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,EACP,QAAQ,GACR,CAAC,GACD,CAAC,GACD,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CACP;KACF,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../src/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS;IAC/B,MAAM;IACN,UAAU;CACX,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,MAAM,CAC7B,MAAM,EACJ,SAAS,GACT,SAAS,CAAC,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CACrC,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,CACpB,OAAO,GACP,MAAM,GACN,KAAK,CACR,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../src/config/rule.ts"],"names":[],"mappings":""}
|
package/dist/factory/global.d.ts
CHANGED
@@ -1,24 +1,27 @@
|
|
1
|
-
import type { Input } from "
|
2
|
-
export declare class
|
3
|
-
readonly plugins: Input["plugins"];
|
4
|
-
readonly
|
5
|
-
readonly
|
6
|
-
|
1
|
+
import type { Input } from "../index.js";
|
2
|
+
export declare class GlobalFactory {
|
3
|
+
readonly plugins: Input["imports"]["plugins"];
|
4
|
+
readonly defaultSettings: Input["defaults"]["settings"];
|
5
|
+
readonly defaultGlobalIgnores: Input["defaults"]["ignores"]["*"];
|
6
|
+
readonly globalExtensions: Input["extensions"]["*"];
|
7
|
+
constructor(plugins: Input["imports"]["plugins"], defaultSettings: Input["defaults"]["settings"], defaultGlobalIgnores: Input["defaults"]["ignores"]["*"], globalExtensions?: Input["extensions"]["*"]);
|
7
8
|
get configs(): readonly [
|
8
9
|
{
|
9
|
-
readonly name: "linted
|
10
|
-
readonly plugins: import("../index.js").
|
10
|
+
readonly name: "linted/*/settings";
|
11
|
+
readonly plugins: Record<import("../index.js").ImportPlugins, {
|
12
|
+
configs: unknown;
|
13
|
+
}>;
|
11
14
|
readonly linterOptions: {
|
12
15
|
readonly noInlineConfig: boolean;
|
13
16
|
readonly reportUnusedDisableDirectives: "error" | "warn" | "off";
|
14
17
|
};
|
15
18
|
readonly languageOptions: {
|
16
19
|
readonly sourceType: "module" | "script";
|
17
|
-
readonly ecmaVersion: 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024
|
20
|
+
readonly ecmaVersion: "latest" | 3 | 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024;
|
18
21
|
};
|
19
22
|
},
|
20
23
|
{
|
21
|
-
readonly name: "linted
|
24
|
+
readonly name: "linted/*/ignores";
|
22
25
|
readonly ignores: string[];
|
23
26
|
}
|
24
27
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,qBAAa,aAAa;aAEN,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC;aACpC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC;aAC9C,oBAAoB,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC;aACvD,gBAAgB,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC;gBAH1C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,EACpC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,EAC9C,oBAAoB,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,EACvD,gBAAgB,GAAE,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,CAAM;IAGjE,IAAW,OAAO;;;;;;;;;;;;;;;;OAiCjB;CACF"}
|
package/dist/factory/global.js
CHANGED
@@ -1,36 +1,38 @@
|
|
1
|
-
export class
|
1
|
+
export class GlobalFactory {
|
2
2
|
plugins;
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
defaultSettings;
|
4
|
+
defaultGlobalIgnores;
|
5
|
+
globalExtensions;
|
6
|
+
constructor(plugins, defaultSettings, defaultGlobalIgnores, globalExtensions = {}) {
|
6
7
|
this.plugins = plugins;
|
7
|
-
this.
|
8
|
-
this.
|
8
|
+
this.defaultSettings = defaultSettings;
|
9
|
+
this.defaultGlobalIgnores = defaultGlobalIgnores;
|
10
|
+
this.globalExtensions = globalExtensions;
|
9
11
|
}
|
10
12
|
get configs() {
|
11
|
-
const { plugins,
|
13
|
+
const { plugins, defaultSettings, defaultGlobalIgnores, globalExtensions, } = this;
|
12
14
|
return [
|
13
15
|
{
|
14
|
-
name: "linted
|
16
|
+
name: "linted/*/settings",
|
15
17
|
plugins,
|
16
18
|
linterOptions: {
|
17
|
-
noInlineConfig:
|
18
|
-
reportUnusedDisableDirectives:
|
19
|
+
noInlineConfig: globalExtensions?.noInlineConfig ?? defaultSettings.noInlineConfig,
|
20
|
+
reportUnusedDisableDirectives: globalExtensions?.reportUnusedDisableDirectives ?? defaultSettings.reportUnusedDisableDirectives,
|
19
21
|
},
|
20
22
|
languageOptions: {
|
21
|
-
sourceType:
|
22
|
-
ecmaVersion:
|
23
|
+
sourceType: globalExtensions?.sourceType ?? defaultSettings.sourceType,
|
24
|
+
ecmaVersion: globalExtensions?.ecmaVersion ?? defaultSettings.ecmaVersion,
|
23
25
|
},
|
24
26
|
},
|
25
27
|
{
|
26
|
-
name: "linted
|
27
|
-
ignores: typeof
|
28
|
-
?
|
28
|
+
name: "linted/*/ignores",
|
29
|
+
ignores: typeof globalExtensions?.ignores === "undefined" || globalExtensions.ignores.length < 1
|
30
|
+
? defaultGlobalIgnores
|
29
31
|
: [
|
30
|
-
...
|
32
|
+
...globalExtensions.override === true
|
31
33
|
? []
|
32
|
-
:
|
33
|
-
...
|
34
|
+
: defaultGlobalIgnores,
|
35
|
+
...globalExtensions.ignores,
|
34
36
|
],
|
35
37
|
},
|
36
38
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;IAEN;IACA;IACA;IACA;IAJlB,YACkB,OAAoC,EACpC,eAA8C,EAC9C,oBAAuD,EACvD,mBAA6C,EAAE;QAH/C,YAAO,GAAP,OAAO,CAA6B;QACpC,oBAAe,GAAf,eAAe,CAA+B;QAC9C,yBAAoB,GAApB,oBAAoB,CAAmC;QACvD,qBAAgB,GAAhB,gBAAgB,CAA+B;IAC9D,CAAC;IAEJ,IAAW,OAAO;QAChB,MAAM,EACJ,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,gBAAgB,GACjB,GAAG,IAAI,CAAC;QAET,OAAO;YACL;gBACE,IAAI,EAAE,mBAAmB;gBACzB,OAAO;gBACP,aAAa,EAAE;oBACb,cAAc,EAAE,gBAAgB,EAAE,cAAc,IAAI,eAAe,CAAC,cAAc;oBAClF,6BAA6B,EAAE,gBAAgB,EAAE,6BAA6B,IAAI,eAAe,CAAC,6BAA6B;iBAChI;gBACD,eAAe,EAAE;oBACf,UAAU,EAAE,gBAAgB,EAAE,UAAU,IAAI,eAAe,CAAC,UAAU;oBACtE,WAAW,EAAE,gBAAgB,EAAE,WAAW,IAAI,eAAe,CAAC,WAAW;iBAC1E;aACF;YACD;gBACE,IAAI,EAAE,kBAAkB;gBACxB,OAAO,EAAE,OAAO,gBAAgB,EAAE,OAAO,KAAK,WAAW,IAAI,gBAAgB,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;oBAC9F,CAAC,CAAC,oBAAoB;oBACtB,CAAC,CAAC;wBACE,GAAG,gBAAgB,CAAC,QAAQ,KAAK,IAAI;4BACnC,CAAC,CAAC,EAAE;4BACJ,CAAC,CAAC,oBAAoB;wBACxB,GAAG,gBAAgB,CAAC,OAAO;qBAC5B;aACN;SACO,CAAC;IACb,CAAC;CACF"}
|
package/dist/factory/index.d.ts
CHANGED
@@ -1,19 +1,5 @@
|
|
1
|
-
export
|
2
|
-
|
3
|
-
import { Ignores } from "./ignores.js";
|
4
|
-
import { Rules } from "./rules/index.js";
|
1
|
+
export * from "./global.js";
|
2
|
+
export * from "./scoped.js";
|
5
3
|
import Options from "./options/index.js";
|
6
4
|
export { Options };
|
7
|
-
export { Global } from "./global.js";
|
8
|
-
export declare class Factory {
|
9
|
-
readonly files: Files;
|
10
|
-
readonly ignores: Ignores;
|
11
|
-
readonly rules: Rules;
|
12
|
-
constructor(files: ConstructorParameters<typeof Files>[0], ignores: ConstructorParameters<typeof Ignores>[0], rules: ConstructorParameters<typeof Rules>[0]);
|
13
|
-
produce(scope: string): readonly [
|
14
|
-
string[],
|
15
|
-
string[],
|
16
|
-
import("./rules/ruleset.js").Ruleset
|
17
|
-
];
|
18
|
-
}
|
19
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/factory/index.js
CHANGED
@@ -1,24 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { Rules } from "./rules/index.js";
|
1
|
+
export * from "./global.js";
|
2
|
+
export * from "./scoped.js";
|
4
3
|
import Options from "./options/index.js";
|
5
4
|
export { Options };
|
6
|
-
export { Global } from "./global.js";
|
7
|
-
export class Factory {
|
8
|
-
files;
|
9
|
-
ignores;
|
10
|
-
rules;
|
11
|
-
constructor(files, ignores, rules) {
|
12
|
-
this.files = new Files(files);
|
13
|
-
this.ignores = new Ignores(ignores);
|
14
|
-
this.rules = new Rules(rules);
|
15
|
-
}
|
16
|
-
produce(scope) {
|
17
|
-
return [
|
18
|
-
this.files.files(scope),
|
19
|
-
this.ignores.ignores(scope),
|
20
|
-
this.rules.rules(scope),
|
21
|
-
];
|
22
|
-
}
|
23
|
-
}
|
24
5
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
@@ -1,12 +1,13 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
|
1
|
+
import js from "./scopes/js.js";
|
2
|
+
import ts from "./scopes/ts.js";
|
3
|
+
import svelte from "./scopes/svelte.js";
|
4
|
+
import mocha from "./scopes/mocha.js";
|
5
|
+
import html from "./scopes/html.js";
|
6
|
+
import json from "./scopes/json.js";
|
7
|
+
import jsonc from "./scopes/jsonc.js";
|
8
|
+
import yml from "./scopes/yml.js";
|
9
|
+
export type * from "./option.js";
|
10
|
+
export type * from "./proto.js";
|
10
11
|
declare const _default: {
|
11
12
|
readonly js: typeof js;
|
12
13
|
readonly ts: typeof ts;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,mBAAmB,UAAU,CAAC;AAC9B,mBAAmB,SAAS,CAAC;;;;;;;;;;;AAC7B,wBASW"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import js from "./js.js";
|
2
|
-
import ts from "./ts.js";
|
3
|
-
import svelte from "./svelte.js";
|
4
|
-
import mocha from "./mocha.js";
|
5
|
-
import html from "./html.js";
|
6
|
-
import json from "./json.js";
|
7
|
-
import jsonc from "./jsonc.js";
|
8
|
-
import yml from "./yml.js";
|
1
|
+
import js from "./scopes/js.js";
|
2
|
+
import ts from "./scopes/ts.js";
|
3
|
+
import svelte from "./scopes/svelte.js";
|
4
|
+
import mocha from "./scopes/mocha.js";
|
5
|
+
import html from "./scopes/html.js";
|
6
|
+
import json from "./scopes/json.js";
|
7
|
+
import jsonc from "./scopes/jsonc.js";
|
8
|
+
import yml from "./scopes/yml.js";
|
9
9
|
export default {
|
10
10
|
js,
|
11
11
|
ts,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAI/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
|
@@ -1,19 +1,32 @@
|
|
1
|
-
import
|
2
|
-
import type {
|
3
|
-
import type { Ruleset } from "
|
4
|
-
|
5
|
-
|
1
|
+
import globals from "globals";
|
2
|
+
import type { Scopes, Output } from "../../index.js";
|
3
|
+
import type { Ruleset } from "../ruleset.js";
|
4
|
+
import type { OptionProto } from "./index.js";
|
5
|
+
export default abstract class Option<S extends Scopes, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = ParserOptions extends false ? 0 : 1, G extends keyof typeof globals & ("mocha") | false = false, Processor extends object = object, Language extends object = object> {
|
6
|
+
readonly parser: unknown[] & {
|
7
|
+
length: ParserCount;
|
8
|
+
};
|
6
9
|
readonly files: string[];
|
7
10
|
readonly ignores: string[];
|
8
11
|
readonly ruleset: Ruleset;
|
9
|
-
abstract readonly scope:
|
10
|
-
abstract readonly processor:
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
abstract readonly scope: S;
|
13
|
+
abstract readonly processor: (Processor extends never ? object : Processor extends {
|
14
|
+
processor: infer P;
|
15
|
+
} ? string extends P ? object : {
|
16
|
+
processor: P;
|
17
|
+
} : object);
|
18
|
+
abstract readonly language: (Language extends never ? object : Language extends {
|
19
|
+
language: infer L;
|
20
|
+
} ? string extends L ? object : {
|
21
|
+
language: L;
|
22
|
+
} : object);
|
23
|
+
constructor(parser: unknown[] & {
|
24
|
+
length: ParserCount;
|
25
|
+
}, files: string[], ignores: string[], ruleset: Ruleset);
|
26
|
+
get configs(): Output[2][];
|
14
27
|
private get option();
|
15
|
-
protected abstract get languageOptions():
|
16
|
-
protected globals(
|
28
|
+
protected abstract get languageOptions(): OptionProto<ParserOptions, G, Processor, Language>["languageOptions"];
|
29
|
+
protected globals(group: G): {
|
17
30
|
readonly amd: {
|
18
31
|
readonly define: false;
|
19
32
|
readonly require: false;
|
@@ -2984,6 +2997,6 @@ export default abstract class Option<S extends Scope, ParserOptions extends obje
|
|
2984
2997
|
readonly YUI: false;
|
2985
2998
|
readonly YUI_config: false;
|
2986
2999
|
};
|
2987
|
-
}[
|
3000
|
+
}[G & string];
|
2988
3001
|
}
|
2989
|
-
//# sourceMappingURL=
|
3002
|
+
//# sourceMappingURL=option.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../src/factory/options/option.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EACV,MAAM,EACN,MAAM,EACP,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AAErC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM,CAClC,CAAC,SAAS,MAAM,EAChB,aAAa,SACX,MAAM,GACN,OAAO,GAAG,KAAK,EACjB,WAAW,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,aAAa,SAAS,KAAK,GAAG,CAAC,GAAG,CAAC,EACnE,CAAC,SAAS,MAAM,OAAO,OAAO,GAAG,CAC7B,OAAO,CACV,GAAG,KAAK,GAAG,KAAK,EACjB,SAAS,SAAS,MAAM,GAAG,MAAM,EACjC,QAAQ,SAAS,MAAM,GAAG,MAAM;aAkBd,MAAM,EAAE,OAAO,EAAE,GAAG;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE;aAC3C,KAAK,EAAE,MAAM,EAAE;aACf,OAAO,EAAE,MAAM,EAAE;aACjB,OAAO,EAAE,OAAO;IAnBlC,kBAAyB,KAAK,EAAE,CAAC,CAAC;IAClC,kBAAyB,SAAS,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B"}
|
@@ -39,8 +39,10 @@ export default class Option {
|
|
39
39
|
throw new Error(`linted.factory.Option/scope:${this.scope}: option`, { cause: e });
|
40
40
|
}
|
41
41
|
}
|
42
|
-
globals(
|
43
|
-
|
42
|
+
globals(group) {
|
43
|
+
if (typeof group !== "string")
|
44
|
+
throw new TypeError(`Expected string`);
|
45
|
+
return globals[group];
|
44
46
|
}
|
45
47
|
}
|
46
|
-
//# sourceMappingURL=
|
48
|
+
//# sourceMappingURL=option.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"option.js","sourceRoot":"","sources":["../../../src/factory/options/option.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAQ9B,MAAM,CAAC,OAAO,OAAgB,MAAM;IA4BhB;IACA;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QAAQ;YAC3B,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAEzC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;CACF"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export type OptionProto<ParserOptions extends object | boolean, G extends string | boolean, Processor extends object, Language extends object> = ({
|
2
|
+
languageOptions: (G extends never ? object : G extends boolean ? object : G extends string ? string extends G ? object : {
|
3
|
+
globals: Record<string, unknown>;
|
4
|
+
} : object) & (ParserOptions extends never ? object : ParserOptions extends boolean ? ParserOptions extends true ? {
|
5
|
+
parser: unknown;
|
6
|
+
} : object : {
|
7
|
+
parser: unknown;
|
8
|
+
parserOptions: ParserOptions;
|
9
|
+
});
|
10
|
+
} & (Processor extends never ? object : Processor extends {
|
11
|
+
processor: infer P;
|
12
|
+
} ? string extends P ? object : {
|
13
|
+
processor: P;
|
14
|
+
} : object) & (Language extends never ? object : Language extends {
|
15
|
+
language: infer L;
|
16
|
+
} ? string extends L ? object : {
|
17
|
+
language: L;
|
18
|
+
} : object));
|
19
|
+
//# sourceMappingURL=proto.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"proto.d.ts","sourceRoot":"","sources":["../../../src/factory/options/proto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CACrB,aAAa,SACX,MAAM,GACN,OAAO,EACT,CAAC,SAAS,MAAM,GAAG,OAAO,EAC1B,SAAS,SAAS,MAAM,EACxB,QAAQ,SAAS,MAAM,IACrB,CACJ;IAAE,eAAe,EAAE,CAAC,CAAC,SAAS,KAAK,GAC/B,MAAM,GACN,CAAC,SAAS,OAAO,GACf,MAAM,GACN,CAAC,SAAS,MAAM,GACd,MAAM,SAAS,CAAC,GACd,MAAM,GACN;QAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,GACtC,MAAM,CACb,GACC,CACC,aAAa,SAAS,KAAK,GACvB,MAAM,GACN,aAAa,SAAS,OAAO,GAC3B,aAAa,SAAS,IAAI,GACxB;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,GACnB,MAAM,GACR;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,aAAa,EAAE,aAAa,CAAA;KAAE,CACzD,CAAC;CAAE,GACF,CACE,SAAS,SAAS,KAAK,GACnB,MAAM,GACN,SAAS,SAAS;IAAE,SAAS,EAAE,MAAM,CAAC,CAAA;CAAE,GACtC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAClB,MAAM,CACX,GACC,CACF,QAAQ,SAAS,KAAK,GAClB,MAAM,GACN,QAAQ,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GACpC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,QAAQ,EAAE,CAAC,CAAA;CAAE,GACjB,MAAM,CACX,CACJ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"proto.js","sourceRoot":"","sources":["../../../src/factory/options/proto.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Option from "
|
2
|
-
export default class Html extends Option<"html", true
|
1
|
+
import Option from "../option.js";
|
2
|
+
export default class Html extends Option<"html", true> {
|
3
3
|
readonly scope = "html";
|
4
4
|
readonly processor: {};
|
5
5
|
readonly language: {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,IAAI,CACL;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAGjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CAAC,IAAI,CAAC;IAC1C,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe,OAEzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAY;IAC1B,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Option from "
|
2
|
-
export default class Json extends Option<"json", true
|
1
|
+
import Option from "../option.js";
|
2
|
+
export default class Json extends Option<"json", true> {
|
3
3
|
readonly scope = "json";
|
4
4
|
readonly processor: {};
|
5
5
|
readonly language: {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,IAAI,CACL;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAGjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,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 Option from "
|
2
|
-
export default class Jsonc extends Option<"jsonc", true
|
1
|
+
import Option from "../option.js";
|
2
|
+
export default class Jsonc extends Option<"jsonc", true> {
|
3
3
|
readonly scope = "jsonc";
|
4
4
|
readonly processor: {};
|
5
5
|
readonly language: {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,IAAI,CACL;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAGlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EAChD,CAAC,EACD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAC9B,SAAgB,KAAK,qBAAsB;IAE3C,IAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAKlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IACd,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,MAAM;YACN,aAAa,EAAE;gBACb,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;YACD,OAAO;SACC,CAAC;IACb,CAAC;CACF"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import Option from "
|
1
|
+
import Option from "../option.js";
|
2
2
|
import type Ts from "./ts.js";
|
3
3
|
export default class Svelte extends Option<"svelte", {
|
4
4
|
parser: unknown;
|
5
5
|
extraFileExtensions: readonly [
|
6
6
|
".svelte"
|
7
7
|
];
|
8
|
-
} & Ts["option"]["languageOptions"]["parserOptions"], 2,
|
8
|
+
} & Ts["option"]["languageOptions"]["parserOptions"], 2, false, {
|
9
9
|
processor: "svelte/svelte";
|
10
10
|
}> {
|
11
11
|
readonly scope = "svelte";
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACpD,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IACpE,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;;;MAazB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MASnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IACpD,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAEvC,OAAO;YACL,MAAM;YACN,aAAa,EAAE;gBACb,MAAM,EAAE,QAAQ;gBAChB,mBAAmB,EAAE,CAAC,SAAS,CAAU;gBACzC,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;SACO,CAAC;IACb,CAAC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/ts.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ;IACE,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,QAAQ,CAAC;IACrB,WAAW,EAAE,IAAI,CAAC;CACnB,EACD,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;MAWzB;CACF"}
|