linted 16.12.1 → 16.12.2-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{base/files/html/index.d.ts → files/html.d.ts} +1 -1
- package/dist/files/html.d.ts.map +1 -0
- package/dist/{base/files/html/index.js → files/html.js} +1 -1
- package/dist/files/html.js.map +1 -0
- package/dist/{base/files/js/index.d.ts → files/js.d.ts} +1 -1
- package/dist/files/js.d.ts.map +1 -0
- package/dist/{base/files/js/index.js → files/js.js} +1 -1
- package/dist/files/js.js.map +1 -0
- package/dist/{base/files/json/index.d.ts → files/json.d.ts} +1 -1
- package/dist/files/json.d.ts.map +1 -0
- package/dist/files/json.js +2 -0
- package/dist/files/json.js.map +1 -0
- package/dist/{base/files/jsonc/index.d.ts → files/jsonc.d.ts} +1 -1
- package/dist/files/jsonc.d.ts.map +1 -0
- package/dist/{base/files/jsonc/index.js → files/jsonc.js} +1 -1
- package/dist/files/jsonc.js.map +1 -0
- package/dist/{base/files/mocha/index.d.ts → files/md.d.ts} +1 -1
- package/dist/files/md.d.ts.map +1 -0
- package/dist/files/md.js +2 -0
- package/dist/files/md.js.map +1 -0
- package/dist/{base/files/md/index.d.ts → files/mocha.d.ts} +1 -1
- package/dist/files/mocha.d.ts.map +1 -0
- package/dist/files/mocha.js +2 -0
- package/dist/files/mocha.js.map +1 -0
- package/dist/{base/files/svelte/index.d.ts → files/svelte.d.ts} +1 -1
- package/dist/files/svelte.d.ts.map +1 -0
- package/dist/{base/files/svelte/index.js → files/svelte.js} +1 -1
- package/dist/files/svelte.js.map +1 -0
- package/dist/{base/files/ts/index.d.ts → files/ts.d.ts} +1 -1
- package/dist/files/ts.d.ts.map +1 -0
- package/dist/{base/files/ts/index.js → files/ts.js} +1 -1
- package/dist/files/ts.js.map +1 -0
- package/dist/{base/files/yml/index.d.ts → files/yml.d.ts} +1 -1
- package/dist/files/yml.d.ts.map +1 -0
- package/dist/{base/files/yml/index.js → files/yml.js} +1 -1
- package/dist/files/yml.js.map +1 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +21 -0
- package/dist/files.js.map +1 -0
- package/dist/imports/parsers.d.ts.map +1 -0
- package/dist/imports/parsers.js.map +1 -0
- package/dist/imports/plugins.d.ts.map +1 -0
- package/dist/imports/plugins.js.map +1 -0
- package/dist/imports.d.ts +647 -0
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/rules/_strings/id.d.ts +3 -0
- package/dist/rules/_strings/id.d.ts.map +1 -0
- package/dist/rules/_strings/id.js +3 -0
- package/dist/rules/_strings/id.js.map +1 -0
- package/dist/{base/rules/strings/level/index.d.ts → rules/_strings/level.d.ts} +1 -1
- package/dist/rules/_strings/level.d.ts.map +1 -0
- package/dist/{base/rules/strings/level/index.js → rules/_strings/level.js} +1 -1
- package/dist/rules/_strings/level.js.map +1 -0
- package/dist/rules/_strings/state.d.ts +3 -0
- package/dist/rules/_strings/state.d.ts.map +1 -0
- package/dist/rules/_strings/state.js +3 -0
- package/dist/rules/_strings/state.js.map +1 -0
- package/dist/rules/_strings.d.ts +7 -0
- package/dist/rules/_strings.d.ts.map +1 -0
- package/dist/rules/_strings.js +7 -0
- package/dist/rules/_strings.js.map +1 -0
- package/dist/{base/rules/presets/html/Enable.d.ts → rules/html/enable.d.ts} +1 -1
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/enable.js +15 -0
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/enable_recommended.d.ts +3 -0
- package/dist/rules/html/enable_recommended.d.ts.map +1 -0
- package/dist/rules/html/enable_recommended.js +8 -0
- package/dist/rules/html/enable_recommended.js.map +1 -0
- package/dist/rules/html.d.ts +8 -0
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +4 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/{base/rules/presets/js/Enable.d.ts → rules/js/enable.d.ts} +1 -1
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts.map → rules/js/enable.d.ts.map} +1 -1
- package/dist/rules/js/enable.js +496 -0
- package/dist/rules/js/enable.js.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts → rules/js/enable_stylistic.d.ts} +25 -25
- package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
- package/dist/rules/js/enable_stylistic.js +585 -0
- package/dist/rules/js/enable_stylistic.js.map +1 -0
- package/dist/{base/rules/presets/Js.d.ts → rules/js.d.ts} +25 -25
- package/dist/{base/rules/presets/Js.d.ts.map → rules/js.d.ts.map} +1 -1
- package/dist/rules/js.js +4 -0
- package/dist/rules/js.js.map +1 -0
- package/dist/{base/rules/presets/json/Enable.d.ts → rules/json/enable.d.ts} +1 -1
- package/dist/rules/json/enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/json/Enable.js → rules/json/enable.js} +4 -4
- package/dist/rules/json/enable.js.map +1 -0
- package/dist/{base/rules/presets/json/EnableX.d.ts → rules/json/enable_x.d.ts} +1 -1
- package/dist/rules/json/enable_x.d.ts.map +1 -0
- package/dist/rules/json/enable_x.js +78 -0
- package/dist/rules/json/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Json.d.ts → rules/json.d.ts} +1 -1
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/json.js +4 -0
- package/dist/rules/json.js.map +1 -0
- package/dist/{base/rules/presets/jsonc/OverrideJson.d.ts → rules/jsonc/override.d.ts} +1 -1
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +13 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/{base/rules/presets/Jsonc.d.ts → rules/jsonc.d.ts} +1 -1
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +4 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/md/enable.d.ts +7 -0
- package/dist/rules/md/enable.d.ts.map +1 -0
- package/dist/rules/md/enable.js +14 -0
- package/dist/rules/md/enable.js.map +1 -0
- package/dist/rules/md.d.ts +7 -0
- package/dist/rules/md.d.ts.map +1 -0
- package/dist/rules/md.js +3 -0
- package/dist/rules/md.js.map +1 -0
- package/dist/{base/rules/presets/mocha/Enable.d.ts → rules/mocha/enable.d.ts} +1 -1
- package/dist/rules/mocha/enable.d.ts.map +1 -0
- package/dist/rules/mocha/enable.js +3 -0
- package/dist/rules/mocha/enable.js.map +1 -0
- package/dist/rules/mocha/enable_recommended.d.ts +3 -0
- package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/enable_recommended.js +8 -0
- package/dist/rules/mocha/enable_recommended.js.map +1 -0
- package/dist/rules/mocha.d.ts +8 -0
- package/dist/rules/mocha.d.ts.map +1 -0
- package/dist/rules/mocha.js +4 -0
- package/dist/rules/mocha.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +5 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -0
- package/dist/rules/svelte/disable.js +8 -0
- package/dist/rules/svelte/disable.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableJS.d.ts → rules/svelte/disable_js.d.ts} +1 -1
- package/dist/rules/svelte/disable_js.d.ts.map +1 -0
- package/dist/rules/svelte/disable_js.js +9 -0
- package/dist/rules/svelte/disable_js.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableTS.d.ts → rules/svelte/disable_ts.d.ts} +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -0
- package/dist/rules/svelte/disable_ts.js +9 -0
- package/dist/rules/svelte/disable_ts.js.map +1 -0
- package/dist/{base/rules/presets/svelte/Enable.d.ts → rules/svelte/enable.d.ts} +1 -1
- package/dist/rules/svelte/enable.d.ts.map +1 -0
- package/dist/rules/svelte/enable.js +190 -0
- package/dist/rules/svelte/enable.js.map +1 -0
- package/dist/{base/rules/presets/svelte/EnableX.d.ts → rules/svelte/enable_x.d.ts} +1 -1
- package/dist/rules/svelte/enable_x.d.ts.map +1 -0
- package/dist/rules/svelte/enable_x.js +16 -0
- package/dist/rules/svelte/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Svelte.d.ts → rules/svelte.d.ts} +27 -27
- package/dist/{base/rules/presets/Svelte.d.ts.map → rules/svelte.d.ts.map} +1 -1
- package/dist/rules/svelte.js +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.d.ts → rules/ts/disable.d.ts} +2 -2
- package/dist/rules/ts/disable.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.js → rules/ts/disable.js} +3 -4
- package/dist/rules/ts/disable.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.d.ts → rules/ts/disable_x.d.ts} +1 -1
- package/dist/rules/ts/disable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.js → rules/ts/disable_x.js} +3 -4
- package/dist/rules/ts/disable_x.js.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.d.ts → rules/ts/enable.d.ts} +1 -1
- package/dist/rules/ts/enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.js → rules/ts/enable.js} +181 -37
- package/dist/rules/ts/enable.js.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.d.ts → rules/ts/enable_x.d.ts} +1 -1
- package/dist/rules/ts/enable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.js → rules/ts/enable_x.js} +38 -11
- package/dist/rules/ts/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Ts.d.ts → rules/ts.d.ts} +26 -26
- package/dist/{base/rules/presets/Ts.d.ts.map → rules/ts.d.ts.map} +1 -1
- package/dist/rules/ts.js +13 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/{base/rules/presets/yml/Enable.d.ts → rules/yml/enable.d.ts} +1 -1
- package/dist/rules/yml/enable.d.ts.map +1 -0
- package/dist/rules/yml/enable.js +60 -0
- package/dist/rules/yml/enable.js.map +1 -0
- package/dist/{base/rules/presets/yml/EnableX.d.ts → rules/yml/enable_x.d.ts} +1 -1
- package/dist/rules/yml/enable_x.d.ts.map +1 -0
- package/dist/rules/yml/enable_x.js +64 -0
- package/dist/rules/yml/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Yml.d.ts → rules/yml.d.ts} +1 -1
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +4 -0
- package/dist/rules/yml.js.map +1 -0
- package/dist/{base/rules.d.ts → rules.d.ts} +77 -108
- package/dist/{base/rules.d.ts.map → rules.d.ts.map} +1 -1
- package/dist/rules.js +21 -0
- package/dist/rules.js.map +1 -0
- package/package.json +2 -2
- package/src/files.ts +22 -0
- package/src/{import → imports}/parsers.ts +1 -2
- package/src/{import → imports}/plugins.ts +1 -2
- package/src/imports.ts +8 -0
- package/src/index.ts +8 -8
- package/src/rules/_strings/id.ts +18 -0
- package/src/{base/rules/strings/level/index.ts → rules/_strings/level.ts} +2 -1
- package/src/rules/_strings/state.ts +56 -0
- package/src/rules/_strings.ts +6 -0
- package/src/rules/html/enable.ts +16 -0
- package/src/rules/html/enable_recommended.ts +9 -0
- package/src/rules/html.ts +4 -0
- package/src/rules/js/enable.ts +524 -0
- package/src/rules/js/enable_stylistic.ts +608 -0
- package/src/rules/js.ts +4 -0
- package/src/{base/rules/presets/json/Enable.ts → rules/json/enable.ts} +5 -5
- package/src/rules/json/enable_x.ts +89 -0
- package/src/rules/json.ts +4 -0
- package/src/rules/jsonc/override.ts +16 -0
- package/src/rules/jsonc.ts +4 -0
- package/src/rules/md/enable.ts +15 -0
- package/src/rules/md.ts +3 -0
- package/src/rules/mocha/enable.ts +3 -0
- package/src/rules/mocha/enable_recommended.ts +9 -0
- package/src/rules/mocha.ts +4 -0
- package/src/rules/svelte/disable.ts +9 -0
- package/src/rules/svelte/disable_js.ts +11 -0
- package/src/rules/svelte/disable_ts.ts +9 -0
- package/src/{base/rules/presets/svelte/Enable.ts → rules/svelte/enable.ts} +138 -40
- package/src/rules/svelte/enable_x.ts +20 -0
- package/src/rules/svelte.ts +15 -0
- package/src/{base/rules/presets/ts/DisableCompiler.ts → rules/ts/disable.ts} +4 -5
- package/src/{base/rules/presets/ts/DisableX.ts → rules/ts/disable_x.ts} +4 -6
- package/src/{base/rules/presets/ts/Enable.ts → rules/ts/enable.ts} +188 -46
- package/src/{base/rules/presets/ts/EnableX.ts → rules/ts/enable_x.ts} +46 -18
- package/src/rules/ts.ts +13 -0
- package/src/rules/yml/enable.ts +64 -0
- package/src/rules/yml/enable_x.ts +68 -0
- package/src/rules/yml.ts +4 -0
- package/src/rules.ts +22 -0
- package/dist/base/files/html/index.d.ts.map +0 -1
- package/dist/base/files/html/index.js.map +0 -1
- package/dist/base/files/js/index.d.ts.map +0 -1
- package/dist/base/files/js/index.js.map +0 -1
- package/dist/base/files/json/index.d.ts.map +0 -1
- package/dist/base/files/json/index.js +0 -2
- package/dist/base/files/json/index.js.map +0 -1
- package/dist/base/files/jsonc/index.d.ts.map +0 -1
- package/dist/base/files/jsonc/index.js.map +0 -1
- package/dist/base/files/md/index.d.ts.map +0 -1
- package/dist/base/files/md/index.js +0 -2
- package/dist/base/files/md/index.js.map +0 -1
- package/dist/base/files/mocha/index.d.ts.map +0 -1
- package/dist/base/files/mocha/index.js +0 -2
- package/dist/base/files/mocha/index.js.map +0 -1
- package/dist/base/files/svelte/index.d.ts.map +0 -1
- package/dist/base/files/svelte/index.js.map +0 -1
- package/dist/base/files/ts/index.d.ts.map +0 -1
- package/dist/base/files/ts/index.js.map +0 -1
- package/dist/base/files/yml/index.d.ts.map +0 -1
- package/dist/base/files/yml/index.js.map +0 -1
- package/dist/base/files.d.ts.map +0 -1
- package/dist/base/files.js +0 -21
- package/dist/base/files.js.map +0 -1
- package/dist/base/rules/presets/Html.d.ts +0 -8
- package/dist/base/rules/presets/Html.d.ts.map +0 -1
- package/dist/base/rules/presets/Html.js +0 -4
- package/dist/base/rules/presets/Html.js.map +0 -1
- package/dist/base/rules/presets/Js.js +0 -4
- package/dist/base/rules/presets/Js.js.map +0 -1
- package/dist/base/rules/presets/Json.d.ts.map +0 -1
- package/dist/base/rules/presets/Json.js +0 -4
- package/dist/base/rules/presets/Json.js.map +0 -1
- package/dist/base/rules/presets/Jsonc.d.ts.map +0 -1
- package/dist/base/rules/presets/Jsonc.js +0 -4
- package/dist/base/rules/presets/Jsonc.js.map +0 -1
- package/dist/base/rules/presets/Md.d.ts +0 -38
- package/dist/base/rules/presets/Md.d.ts.map +0 -1
- package/dist/base/rules/presets/Md.js +0 -3
- package/dist/base/rules/presets/Md.js.map +0 -1
- package/dist/base/rules/presets/Mocha.d.ts +0 -8
- package/dist/base/rules/presets/Mocha.d.ts.map +0 -1
- package/dist/base/rules/presets/Mocha.js +0 -4
- package/dist/base/rules/presets/Mocha.js.map +0 -1
- package/dist/base/rules/presets/Svelte.js +0 -15
- package/dist/base/rules/presets/Svelte.js.map +0 -1
- package/dist/base/rules/presets/Ts.js +0 -13
- package/dist/base/rules/presets/Ts.js.map +0 -1
- package/dist/base/rules/presets/Yml.d.ts.map +0 -1
- package/dist/base/rules/presets/Yml.js +0 -4
- package/dist/base/rules/presets/Yml.js.map +0 -1
- package/dist/base/rules/presets/html/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Enable.js +0 -10
- package/dist/base/rules/presets/html/Enable.js.map +0 -1
- package/dist/base/rules/presets/html/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/html/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Recommended.js +0 -5
- package/dist/base/rules/presets/html/Recommended.js.map +0 -1
- package/dist/base/rules/presets/index.d.ts +0 -8
- package/dist/base/rules/presets/index.d.ts.map +0 -1
- package/dist/base/rules/presets/index.js +0 -2
- package/dist/base/rules/presets/index.js.map +0 -1
- package/dist/base/rules/presets/js/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/js/Enable.js +0 -260
- package/dist/base/rules/presets/js/Enable.js.map +0 -1
- package/dist/base/rules/presets/js/EnableStylistic.js +0 -270
- package/dist/base/rules/presets/js/EnableStylistic.js.map +0 -1
- package/dist/base/rules/presets/json/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/json/Enable.js.map +0 -1
- package/dist/base/rules/presets/json/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/json/EnableX.js +0 -38
- package/dist/base/rules/presets/json/EnableX.js.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.d.ts.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.js +0 -4
- package/dist/base/rules/presets/jsonc/OverrideJson.js.map +0 -1
- package/dist/base/rules/presets/md/Enable.d.ts +0 -38
- package/dist/base/rules/presets/md/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/md/Enable.js +0 -20
- package/dist/base/rules/presets/md/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.js +0 -4
- package/dist/base/rules/presets/mocha/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/mocha/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.js +0 -5
- package/dist/base/rules/presets/mocha/Recommended.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableJS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableTS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.d.ts +0 -5
- package/dist/base/rules/presets/svelte/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.js +0 -4
- package/dist/base/rules/presets/svelte/DisableX.js.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.js +0 -90
- package/dist/base/rules/presets/svelte/Enable.js.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.js +0 -4
- package/dist/base/rules/presets/svelte/EnableX.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.js.map +0 -1
- package/dist/base/rules/presets/ts/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/Enable.js.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.js.map +0 -1
- package/dist/base/rules/presets/yml/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/Enable.js +0 -28
- package/dist/base/rules/presets/yml/Enable.js.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.js +0 -16
- package/dist/base/rules/presets/yml/EnableX.js.map +0 -1
- package/dist/base/rules/strings/id/index.d.ts +0 -3
- package/dist/base/rules/strings/id/index.d.ts.map +0 -1
- package/dist/base/rules/strings/id/index.js +0 -3
- package/dist/base/rules/strings/id/index.js.map +0 -1
- package/dist/base/rules/strings/index.d.ts +0 -7
- package/dist/base/rules/strings/index.d.ts.map +0 -1
- package/dist/base/rules/strings/index.js +0 -7
- package/dist/base/rules/strings/index.js.map +0 -1
- package/dist/base/rules/strings/level/index.d.ts.map +0 -1
- package/dist/base/rules/strings/level/index.js.map +0 -1
- package/dist/base/rules/strings/state/index.d.ts +0 -3
- package/dist/base/rules/strings/state/index.d.ts.map +0 -1
- package/dist/base/rules/strings/state/index.js +0 -3
- package/dist/base/rules/strings/state/index.js.map +0 -1
- package/dist/base/rules.js +0 -21
- package/dist/base/rules.js.map +0 -1
- package/dist/import/parsers.d.ts.map +0 -1
- package/dist/import/parsers.js.map +0 -1
- package/dist/import/plugins.d.ts.map +0 -1
- package/dist/import/plugins.js.map +0 -1
- package/src/base/files.ts +0 -22
- package/src/base/rules/presets/Html.ts +0 -5
- package/src/base/rules/presets/Js.ts +0 -5
- package/src/base/rules/presets/Json.ts +0 -5
- package/src/base/rules/presets/Jsonc.ts +0 -5
- package/src/base/rules/presets/Md.ts +0 -4
- package/src/base/rules/presets/Mocha.ts +0 -5
- package/src/base/rules/presets/Svelte.ts +0 -16
- package/src/base/rules/presets/Ts.ts +0 -14
- package/src/base/rules/presets/Yml.ts +0 -5
- package/src/base/rules/presets/html/Enable.ts +0 -11
- package/src/base/rules/presets/html/Recommended.ts +0 -7
- package/src/base/rules/presets/index.ts +0 -10
- package/src/base/rules/presets/js/Enable.ts +0 -288
- package/src/base/rules/presets/js/EnableStylistic.ts +0 -295
- package/src/base/rules/presets/json/EnableX.ts +0 -51
- package/src/base/rules/presets/jsonc/OverrideJson.ts +0 -6
- package/src/base/rules/presets/md/Enable.ts +0 -23
- package/src/base/rules/presets/mocha/Enable.ts +0 -5
- package/src/base/rules/presets/mocha/Recommended.ts +0 -7
- package/src/base/rules/presets/svelte/DisableJS.ts +0 -7
- package/src/base/rules/presets/svelte/DisableTS.ts +0 -5
- package/src/base/rules/presets/svelte/DisableX.ts +0 -6
- package/src/base/rules/presets/svelte/EnableX.ts +0 -6
- package/src/base/rules/presets/yml/Enable.ts +0 -30
- package/src/base/rules/presets/yml/EnableX.ts +0 -18
- package/src/base/rules/strings/id/index.ts +0 -17
- package/src/base/rules/strings/index.ts +0 -6
- package/src/base/rules/strings/state/index.ts +0 -55
- package/src/base/rules.ts +0 -22
- /package/dist/{base/files.d.ts → files.d.ts} +0 -0
- /package/dist/{import → imports}/parsers.d.ts +0 -0
- /package/dist/{import → imports}/parsers.js +0 -0
- /package/dist/{import → imports}/plugins.d.ts +0 -0
- /package/dist/{import → imports}/plugins.js +0 -0
- /package/src/{base/files/html/index.ts → files/html.ts} +0 -0
- /package/src/{base/files/js/index.ts → files/js.ts} +0 -0
- /package/src/{base/files/json/index.ts → files/json.ts} +0 -0
- /package/src/{base/files/jsonc/index.ts → files/jsonc.ts} +0 -0
- /package/src/{base/files/md/index.ts → files/md.ts} +0 -0
- /package/src/{base/files/mocha/index.ts → files/mocha.ts} +0 -0
- /package/src/{base/files/svelte/index.ts → files/svelte.ts} +0 -0
- /package/src/{base/files/ts/index.ts → files/ts.ts} +0 -0
- /package/src/{base/files/yml/index.ts → files/yml.ts} +0 -0
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
import { type Core } from "@eslinted/core";
|
2
2
|
declare type Scope = "js" | "ts" | "svelte" | "mocha" | "html" | "json" | "jsonc" | "yml" | "md";
|
3
3
|
export default function (includes?: Partial<Record<Scope, readonly string[]>>, overrides?: Core.Input.Rules.Overrides): import("@eslinted/core/dist/boundary/output/index.js").Config[];
|
4
|
-
|
5
|
-
|
4
|
+
type BaseScope = keyof Core.Input.Files.Base;
|
5
|
+
type Scoped = Scope extends BaseScope ? BaseScope extends Scope ? "OK" : never : never;
|
6
|
+
export type OK = Scoped & {};
|
6
7
|
export {};
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAa,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAa,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKjD,OAAO,MAAM,KAAK,GACd,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,GACL,IAAI,CACP;AAED,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC,CAAM,EACxD,SAAS,GAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAc,mEAW3C;AAED,KAAK,SAAS,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC;AAC7C,KAAK,MAAM,GAAG,KAAK,SAAS,SAAS,GAAG,SAAS,SAAS,KAAK,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;AAEvF,MAAM,MAAM,EAAE,GAAG,MAAM,GAAG,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
import core, {} from "@eslinted/core";
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import rules from "./base/rules.js";
|
2
|
+
import imports from "./imports.js";
|
3
|
+
import files from "./files.js";
|
4
|
+
import rules from "./rules.js";
|
6
5
|
export default function (includes = {}, overrides = {}) {
|
7
6
|
try {
|
8
|
-
return core(plugins, parsers, { files, includes }, { rules, overrides });
|
7
|
+
return core(imports.plugins, imports.parsers, { files, includes }, { rules, overrides });
|
9
8
|
}
|
10
9
|
catch (e) {
|
11
10
|
throw new Error(`linted(): `, { cause: e });
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAa,MAAM,gBAAgB,CAAC;AACjD,OAAO,OAAO,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAa,MAAM,gBAAgB,CAAC;AACjD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,KAAK,MAAM,YAAY,CAAC;AAc/B,MAAM,CAAC,OAAO,WACZ,WAAsD,EAAE,EACxD,YAAwC,EAAE;IAE1C,IAAI,CAAC;QACH,OAAO,IAAI,CACT,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,OAAO,EACf,EAAE,KAAK,EAAE,QAAQ,EAAE,EACnB,EAAE,KAAK,EAAE,SAAS,EAAE,CACrB,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const disable = "disable", disable_x = "disable-extend", enable_x = "enable-extend", enable = "enable", override = "override", stylistic = "stylistic", recommended = "recommended";
|
2
|
+
export { disable, disable_x, enable_x, enable, override, stylistic, recommended, };
|
3
|
+
//# sourceMappingURL=id.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/rules/_strings/id.ts"],"names":[],"mappings":"AAAA,QAAA,MACA,OAAO,YAAY,EACnB,SAAS,mBAAmB,EAC5B,QAAQ,kBAAkB,EAC1B,MAAM,WAAW,EACjB,QAAQ,aAAa,EACrB,SAAS,cAAc,EACvB,WAAW,gBAAgB,CAAC;AAE5B,OAAO,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,GACZ,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
const disable = "disable", disable_x = "disable-extend", enable_x = "enable-extend", enable = "enable", override = "override", stylistic = "stylistic", recommended = "recommended";
|
2
|
+
export { disable, disable_x, enable_x, enable, override, stylistic, recommended, };
|
3
|
+
//# sourceMappingURL=id.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../src/rules/_strings/id.ts"],"names":[],"mappings":"AAAA,MACA,OAAO,GAAG,SAAS,EACnB,SAAS,GAAG,gBAAgB,EAC5B,QAAQ,GAAG,eAAe,EAC1B,MAAM,GAAG,QAAQ,EACjB,QAAQ,GAAG,UAAU,EACrB,SAAS,GAAG,WAAW,EACvB,WAAW,GAAG,aAAa,CAAC;AAE5B,OAAO,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,GACZ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../../src/rules/_strings/level.ts"],"names":[],"mappings":"AAAA,QAAA,MACA,KAAK,UAAU,EACf,IAAI,SAAS,EACb,GAAG,QAAQ,CAAC;AAEZ,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"level.js","sourceRoot":"","sources":["../../../src/rules/_strings/level.ts"],"names":[],"mappings":"AAAA,MACA,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,MAAM,EACb,GAAG,GAAG,KAAK,CAAC;AAEZ,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const Never = "never", Always = "always", AlwaysMultiline = "always-multiline", Multiline = "multiline", Consistent = "consistent", Consecutive = "consecutive", AsNeeded = "as-needed", Explicit = "explicit", Allow = "allow", Strict = "strict", Any = "any", All = "all", Star = "*", First = "first", Last = "last", Before = "before", After = "after", Above = "above", Below = "below", Beside = "beside", Inside = "inside", Outside = "outside", Single = "single", Double = "double", Multi = "multi", Both = "both";
|
2
|
+
export { Never, Always, AlwaysMultiline, Multiline, Consistent, Consecutive, AsNeeded, Explicit, Allow, Strict, Any, All, Star, First, Last, Before, After, Above, Below, Beside, Inside, Outside, Single, Double, Multi, Both, };
|
3
|
+
//# sourceMappingURL=state.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/rules/_strings/state.ts"],"names":[],"mappings":"AAAA,QAAA,MACA,KAAK,UAAU,EACf,MAAM,WAAW,EACjB,eAAe,qBAAqB,EACpC,SAAS,cAAc,EACvB,UAAU,eAAe,EACzB,WAAW,gBAAgB,EAC3B,QAAQ,cAAc,EACtB,QAAQ,aAAa,EACrB,KAAK,UAAU,EACf,MAAM,WAAW,EACjB,GAAG,QAAQ,EACX,GAAG,QAAQ,EACX,IAAI,MAAM,EACV,KAAK,UAAU,EACf,IAAI,SAAS,EACb,MAAM,WAAW,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,UAAU,EACf,MAAM,WAAW,EACjB,MAAM,WAAW,EACjB,OAAO,YAAY,EACnB,MAAM,WAAW,EACjB,MAAM,WAAW,EACjB,KAAK,UAAU,EACf,IAAI,SAAS,CAAC;AAEd,OAAO,EACL,KAAK,EACL,MAAM,EACN,eAAe,EACf,SAAS,EACT,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,GACL,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
const Never = "never", Always = "always", AlwaysMultiline = "always-multiline", Multiline = "multiline", Consistent = "consistent", Consecutive = "consecutive", AsNeeded = "as-needed", Explicit = "explicit", Allow = "allow", Strict = "strict", Any = "any", All = "all", Star = "*", First = "first", Last = "last", Before = "before", After = "after", Above = "above", Below = "below", Beside = "beside", Inside = "inside", Outside = "outside", Single = "single", Double = "double", Multi = "multi", Both = "both";
|
2
|
+
export { Never, Always, AlwaysMultiline, Multiline, Consistent, Consecutive, AsNeeded, Explicit, Allow, Strict, Any, All, Star, First, Last, Before, After, Above, Below, Beside, Inside, Outside, Single, Double, Multi, Both, };
|
3
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/rules/_strings/state.ts"],"names":[],"mappings":"AAAA,MACA,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,QAAQ,EACjB,eAAe,GAAG,kBAAkB,EACpC,SAAS,GAAG,WAAW,EACvB,UAAU,GAAG,YAAY,EACzB,WAAW,GAAG,aAAa,EAC3B,QAAQ,GAAG,WAAW,EACtB,QAAQ,GAAG,UAAU,EACrB,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,QAAQ,EACjB,GAAG,GAAG,KAAK,EACX,GAAG,GAAG,KAAK,EACX,IAAI,GAAG,GAAG,EACV,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,MAAM,EACb,MAAM,GAAG,QAAQ,EACjB,KAAK,GAAG,OAAO,EACf,KAAK,GAAG,OAAO,EACf,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,QAAQ,EACjB,MAAM,GAAG,QAAQ,EACjB,OAAO,GAAG,SAAS,EACnB,MAAM,GAAG,QAAQ,EACjB,MAAM,GAAG,QAAQ,EACjB,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,MAAM,CAAC;AAEd,OAAO,EACL,KAAK,EACL,MAAM,EACN,eAAe,EACf,SAAS,EACT,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,EACH,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,GACL,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from "./_strings/id.js";
|
2
|
+
export * from "./_strings/level.js";
|
3
|
+
export * from "./_strings/state.js";
|
4
|
+
export * as id from "./_strings/id.js";
|
5
|
+
export * as state from "./_strings/state.js";
|
6
|
+
export * as level from "./_strings/level.js";
|
7
|
+
//# sourceMappingURL=_strings.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_strings.d.ts","sourceRoot":"","sources":["../../src/rules/_strings.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from "./_strings/id.js";
|
2
|
+
export * from "./_strings/level.js";
|
3
|
+
export * from "./_strings/state.js";
|
4
|
+
export * as id from "./_strings/id.js";
|
5
|
+
export * as state from "./_strings/state.js";
|
6
|
+
export * as level from "./_strings/level.js";
|
7
|
+
//# sourceMappingURL=_strings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_strings.js","sourceRoot":"","sources":["../../src/rules/_strings.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":";;;;;;AAIA,wBAWW"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { enable, level } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"@html-eslint/require-title": OFF,
|
7
|
+
"@html-eslint/element-newline": [
|
8
|
+
ERROR,
|
9
|
+
{
|
10
|
+
skip: ["head"],
|
11
|
+
},
|
12
|
+
],
|
13
|
+
},
|
14
|
+
];
|
15
|
+
//# sourceMappingURL=enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAE7B,eAAe;IACb,MAAM;IACN;QACE,4BAA4B,EAAE,GAAG;QACjC,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;aACf;SACF;KACF;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable_recommended.ts"],"names":[],"mappings":";AAIA,wBAIW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.js","sourceRoot":"","sources":["../../../src/rules/html/enable_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAG9C,eAAe;IACb,WAAW;IACV,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAA4C;SACzE,KAAK;CACA,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: readonly [readonly ["recommended", Record<string, "off">], readonly ["enable", {
|
2
|
+
readonly "@html-eslint/require-title": "off";
|
3
|
+
readonly "@html-eslint/element-newline": readonly ["error", {
|
4
|
+
readonly skip: readonly ["head"];
|
5
|
+
}];
|
6
|
+
}]];
|
7
|
+
export default _default;
|
8
|
+
//# sourceMappingURL=html.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/rules/html.ts"],"names":[],"mappings":";;;;;;AAGA,wBAA8C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/rules/html.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAU,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,wBA4fW"}
|