@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
@@ -1,57 +0,0 @@
|
|
1
|
-
declare namespace ToNumber {
|
2
|
-
export type OK = Tester<TF> | 0;
|
3
|
-
export type TF = {
|
4
|
-
T: {
|
5
|
-
T0: ToNumber<"0">;
|
6
|
-
T0a: ToNumber<"-0">;
|
7
|
-
T1: ToNumber<"0" | "-0">;
|
8
|
-
T2: ToNumber<"0" | "1">;
|
9
|
-
T2a: ToNumber<"-0" | "1">;
|
10
|
-
T2d: ToNumber<"0" | "-1">;
|
11
|
-
T2e: ToNumber<"-0" | "-1">;
|
12
|
-
T3: ToNumber<"1">;
|
13
|
-
T3a: ToNumber<"-1">;
|
14
|
-
T4: ToNumber<"0.1">;
|
15
|
-
T4b: ToNumber<"-0.1">;
|
16
|
-
T6: ToNumber<"5" | "9">;
|
17
|
-
T6a: ToNumber<"5" | "-9">;
|
18
|
-
T6b: ToNumber<"5" | "0.9">;
|
19
|
-
T6c: ToNumber<"5" | "-0.9">;
|
20
|
-
Tn: ToNumber<`1${1 | 2 | 3 | 4}`>;
|
21
|
-
Tna: ToNumber<`-1${1 | 2 | 3 | 4}`>;
|
22
|
-
Tnb: ToNumber<`1${1 | 2 | 3 | 4}` | `-1${1 | 2 | 3 | 4}`>;
|
23
|
-
Tnc: ToNumber<"-0" | `1${1 | 2 | 3 | 4}` | `-1${1 | 2 | 3 | 4}`>;
|
24
|
-
};
|
25
|
-
F: {
|
26
|
-
F0: ToNumber<string>;
|
27
|
-
F1: ToNumber<"">;
|
28
|
-
F2: ToNumber<"NaN">;
|
29
|
-
F2a: ToNumber<"Infinity">;
|
30
|
-
F2b: ToNumber<"-Infinity">;
|
31
|
-
F3: ToNumber<"0.0">;
|
32
|
-
F3a: ToNumber<"-0.0">;
|
33
|
-
F3d: ToNumber<"1.0">;
|
34
|
-
F3e: ToNumber<"-1.0">;
|
35
|
-
F4: ToNumber<"0.0" | "-0">;
|
36
|
-
F4a: ToNumber<"-0.0" | "-0">;
|
37
|
-
F4b: ToNumber<"-0.0" | "0">;
|
38
|
-
F4c: ToNumber<"0.0" | "-1">;
|
39
|
-
F4d: ToNumber<"-0.0" | "-1">;
|
40
|
-
F4e: ToNumber<"0.0" | "1">;
|
41
|
-
F4f: ToNumber<"-0.0" | "1">;
|
42
|
-
F4g: ToNumber<"0" | "-1.0">;
|
43
|
-
F4h: ToNumber<"-0" | "-1.0">;
|
44
|
-
F4i: ToNumber<"0.0" | "-1.0">;
|
45
|
-
F4j: ToNumber<"-0.0" | "-1.0">;
|
46
|
-
F5: ToNumber<".1">;
|
47
|
-
F5a: ToNumber<"-.1">;
|
48
|
-
F6: ToNumber<"" | "0">;
|
49
|
-
F6a: ToNumber<"" | "1">;
|
50
|
-
F6b: ToNumber<"1" | ".9">;
|
51
|
-
F6c: ToNumber<"5" | ".9">;
|
52
|
-
F6d: ToNumber<"5" | "-.9">;
|
53
|
-
Fn: ToNumber<`1${number}`>;
|
54
|
-
Fna: ToNumber<`-1${number}`>;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
declare namespace Primitive {
|
2
|
-
export type T0 = Primitive<"fast", string>;
|
3
|
-
export type T0a = Primitive<"", string>;
|
4
|
-
export type T0b = Primitive<"fast" | "good", string>;
|
5
|
-
export type T0c = Primitive<"fast" | "", string>;
|
6
|
-
export type T1 = Primitive<5, number>;
|
7
|
-
export type T1a = Primitive<0, number>;
|
8
|
-
export type T2 = Primitive<true, boolean>;
|
9
|
-
export type T2a = Primitive<false, boolean>;
|
10
|
-
export type N0 = Primitive<string, string>;
|
11
|
-
export type N0a = Primitive<number, number>;
|
12
|
-
export type N0b = Primitive<boolean, boolean>;
|
13
|
-
export type N1 = Primitive<stringful, string>;
|
14
|
-
export type N1b = Primitive<numberful, number>;
|
15
|
-
|
16
|
-
// export type N2 = Primeval<number | 5, number>;
|
17
|
-
// export type N2a = Primeval<string | "good", string>;
|
18
|
-
// export type N2b = Primeval<boolean | true, boolean>;
|
19
|
-
// export type N3 = Primeval<5, number | object>;
|
20
|
-
// export type N3a = Primeval<symbol, symbol>;
|
21
|
-
// export type N3b = Primeval<object, object>;
|
22
|
-
// export type N3c = Primeval<[], readonly unknown[]>;
|
23
|
-
// export type N3d = Primeval<()=> 5, Function>;
|
24
|
-
// export type N3e = Primeval<5, unknown>;
|
25
|
-
// export type N3f = Primeval<true | 10, boolean>;
|
26
|
-
// export type N3g = Primeval<string | "good", string>;
|
27
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
declare namespace LengthValue {
|
2
|
-
export type T0 = LengthValue<0>;
|
3
|
-
export type T0a = LengthValue<0.0>; // 0
|
4
|
-
export type T0b = LengthValue<number>; // 0
|
5
|
-
export type T1 = LengthValue<1>;
|
6
|
-
export type T1a = LengthValue<1.0>; // 1
|
7
|
-
export type T2 = LengthValue<1.1>; // 1.1
|
8
|
-
export type T3 = LengthValue<1 | 5>; // 1 | 5
|
9
|
-
export type T3b = LengthValue<0 | 1 | 5>; // 0 | 1 | 5
|
10
|
-
export type N = LengthValue<never>;
|
11
|
-
|
12
|
-
// export type N0 = Length<unknown>;
|
13
|
-
// export type N0a = Length<undefined>;
|
14
|
-
// export type N0b = Length<null>;
|
15
|
-
// export type N0c = Length<void>;
|
16
|
-
// export type N0d = Length<undefined>;
|
17
|
-
// export type N0e = Length<undefined>;
|
18
|
-
// export type N1 = Length<"1">;
|
19
|
-
// export type N1a = Length<true>;
|
20
|
-
// export type N1b = Length<[5, 5]>;
|
21
|
-
// export type N1c = Length<()=> void>;
|
22
|
-
// export type N1d = Length<object>;
|
23
|
-
// export type N2 = Length<null | 1>;
|
24
|
-
// export type N2a = Length<true | 1>;
|
25
|
-
// export type N2b = Length<number | 1>; // 0
|
26
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
declare type literal<S extends string> = Primitive<S, string>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
declare namespace literal {
|
2
|
-
export type T = literal<"">;
|
3
|
-
export type T0 = literal<"a">;
|
4
|
-
export type T1 = literal<"a" | "b">;
|
5
|
-
export type T1b = literal<"a" | "">;
|
6
|
-
export type N = literal<never>;
|
7
|
-
export type N0 = literal<string>;
|
8
|
-
|
9
|
-
// export type N1 = literal<unknown>;
|
10
|
-
// export type N2 = literal<null>;
|
11
|
-
// export type N3 = literal<undefined>;
|
12
|
-
// export type N4 = literal<void>;
|
13
|
-
// export type N5 = literal<object>;
|
14
|
-
// export type N6 = literal<()=> "a">;
|
15
|
-
// export type N7 = literal<symbol>;
|
16
|
-
// export type N8 = literal<"a" | 5>;
|
17
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
declare namespace literalful {
|
2
|
-
export type T0 = literalful<"a">;
|
3
|
-
export type T1 = literalful<"a" | "b">;
|
4
|
-
export type N0 = literalful<never>;
|
5
|
-
export type N1 = literalful<"">;
|
6
|
-
export type N2 = literalful<string>;
|
7
|
-
export type N2b = literalful<stringful>;
|
8
|
-
export type N3 = literalful<"" | "a">;
|
9
|
-
|
10
|
-
// export type N5 = literalful<"a" | string>;
|
11
|
-
// export type N5a = literalful<unknown>;
|
12
|
-
// export type N5b = literalful<null>;
|
13
|
-
// export type N5c = literalful<undefined>;
|
14
|
-
// export type N5d = literalful<void>;
|
15
|
-
// export type N5e = literalful<[]>;
|
16
|
-
// export type N5f = literalful<object>;
|
17
|
-
// export type N5g = literalful<()=> "a">;
|
18
|
-
// export type N5h = literalful<symbol>;
|
19
|
-
// export type N5i = literalful<"a" | 5>;
|
20
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
declare type Numeric<N extends number> = Primitive<N, number>;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
declare namespace Numeric {
|
2
|
-
export type T0 = Numeric<0>;
|
3
|
-
export type T1 = Numeric<0.0>;
|
4
|
-
export type T2 = Numeric<1>;
|
5
|
-
export type T3 = Numeric<1.0>;
|
6
|
-
export type T4 = Numeric<1.1>;
|
7
|
-
export type T5 = Numeric<1 | 5>;
|
8
|
-
export type N0 = Numeric<number>;
|
9
|
-
export type N0b = Numeric<numberful>;
|
10
|
-
export type N0c = Numeric<number | numberful>;
|
11
|
-
export type N0d = Numeric<1 | numberful>;
|
12
|
-
export type N1 = Numeric<never>;
|
13
|
-
|
14
|
-
// export type N0e = Numbered<1 | number>;
|
15
|
-
// export type N2 = Numbered<"cool">;
|
16
|
-
// export type N3 = Numbered<"NaN">;
|
17
|
-
// export type N4 = Numbered<"5">;
|
18
|
-
// export type N5 = Numbered<string>;
|
19
|
-
// export type N6 = Numbered<boolean>;
|
20
|
-
// export type N6a = Numbered<true>;
|
21
|
-
// export type N6b = Numbered<false>;
|
22
|
-
// export type N7 = Numbered<null>;
|
23
|
-
// export type N8 = Numbered<undefined>;
|
24
|
-
// export type N9 = Numbered<void>;
|
25
|
-
// export type N10 = Numbered<object>;
|
26
|
-
// export type N11 = Numbered<[]>;
|
27
|
-
// export type N12 = Numbered<5 | true>;
|
28
|
-
// export type N13 = Numbered<() => 5>;
|
29
|
-
// export type N14 = Numbered<symbol>;
|
30
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
declare namespace Truth {
|
2
|
-
export type T0 = Truth<true>;
|
3
|
-
export type N0 = Truth<never>;
|
4
|
-
export type N1 = Truth<false>;
|
5
|
-
export type N1a = Truth<false | true>;
|
6
|
-
export type N1b = Truth<boolean>;
|
7
|
-
|
8
|
-
// export type N2 = True<true | 10>;
|
9
|
-
// export type N2a = True<true | object>;
|
10
|
-
// export type N2b = True<true | undefined>;
|
11
|
-
// export type N2c = True<true | null>;
|
12
|
-
// export type N2d = True<0>;
|
13
|
-
// export type N2e = True<1>;
|
14
|
-
// export type N2f = True<number>;
|
15
|
-
// export type N2g = True<"">;
|
16
|
-
// export type N2h = True<"true">;
|
17
|
-
// export type N2i = True<"foo">;
|
18
|
-
// export type N2j = True<null>;
|
19
|
-
// export type N2k = True<undefined>;
|
20
|
-
// export type N2l = True<[]>;
|
21
|
-
// export type N2m = True<object>;
|
22
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
declare type char = stringful & StringLength<1>;
|
@@ -1 +0,0 @@
|
|
1
|
-
declare type numberful = Full<number, "!NaN">;
|
@@ -1 +0,0 @@
|
|
1
|
-
declare type stringful = Full<string, "length > 0"> & { 0: char };
|
File without changes
|
File without changes
|