linted 16.12.1-rc.2 → 16.12.2-rc.0
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/_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.d.ts → rules/_js.d.ts} +1 -1
- 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.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.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.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/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/_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/Svelte.d.ts → rules/_svelte.d.ts} +1 -1
- 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.d.ts → rules/_ts.d.ts} +1 -1
- 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.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/presets/html/Enable.d.ts → rules/html/_enable.d.ts} +1 -1
- package/dist/rules/html/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/html/Enable.js → rules/html/_enable.js} +4 -4
- package/dist/rules/html/_enable.js.map +1 -0
- package/dist/rules/html/_recommended.d.ts +3 -0
- package/dist/rules/html/_recommended.d.ts.map +1 -0
- package/dist/rules/html/_recommended.js +5 -0
- package/dist/rules/html/_recommended.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/{base/rules/presets/js/Enable.js → rules/js/_enable.js} +23 -23
- package/dist/rules/js/_enable.js.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts → rules/js/stylistic.d.ts} +1 -1
- package/dist/rules/js/stylistic.d.ts.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.js → rules/js/stylistic.js} +66 -66
- package/dist/rules/js/stylistic.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/{base/rules/presets/json/EnableX.js → rules/json/enable_x.js} +13 -13
- package/dist/rules/json/enable_x.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 +4 -0
- package/dist/rules/jsonc/override.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 +9 -0
- package/dist/rules/md/_enable.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 +4 -0
- package/dist/rules/mocha/_enable.js.map +1 -0
- package/dist/rules/mocha/_recommended.d.ts +3 -0
- package/dist/rules/mocha/_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/_recommended.js +5 -0
- package/dist/rules/mocha/_recommended.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/{base/rules/presets/svelte/Enable.js → rules/svelte/_enable.js} +19 -19
- package/dist/rules/svelte/_enable.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 +4 -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 +4 -0
- package/dist/rules/svelte/disable_ts.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableX.d.ts → rules/svelte/disable_x.d.ts} +1 -1
- package/dist/rules/svelte/disable_x.d.ts.map +1 -0
- package/dist/rules/svelte/disable_x.js +4 -0
- package/dist/rules/svelte/disable_x.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 +4 -0
- package/dist/rules/svelte/enable_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} +14 -14
- package/dist/rules/ts/_enable.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.d.ts → rules/ts/disable_compiler.d.ts} +1 -1
- package/dist/rules/ts/disable_compiler.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.js → rules/ts/disable_compiler.js} +3 -3
- package/dist/rules/ts/disable_compiler.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} +4 -4
- package/dist/rules/ts/disable_x.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} +8 -8
- package/dist/rules/ts/enable_x.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/{base/rules/presets/yml/Enable.js → rules/yml/_enable.js} +11 -11
- 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/{base/rules/presets/yml/EnableX.js → rules/yml/enable_x.js} +8 -8
- package/dist/rules/yml/enable_x.js.map +1 -0
- package/dist/{base/rules.d.ts → rules.d.ts} +2 -33
- 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/_html.ts +4 -0
- package/src/rules/_js.ts +4 -0
- package/src/rules/_json.ts +4 -0
- package/src/rules/_jsonc.ts +4 -0
- package/src/rules/_md.ts +3 -0
- package/src/rules/_mocha.ts +4 -0
- 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/_svelte.ts +15 -0
- package/src/rules/_ts.ts +13 -0
- package/src/rules/_yml.ts +4 -0
- package/src/rules/html/_enable.ts +13 -0
- package/src/rules/html/_recommended.ts +7 -0
- package/src/{base/rules/presets/js/Enable.ts → rules/js/_enable.ts} +35 -36
- package/src/{base/rules/presets/js/EnableStylistic.ts → rules/js/stylistic.ts} +85 -86
- package/src/{base/rules/presets/json/Enable.ts → rules/json/_enable.ts} +6 -4
- package/src/{base/rules/presets/json/EnableX.ts → rules/json/enable_x.ts} +23 -24
- package/src/rules/jsonc/override.ts +9 -0
- package/src/rules/md/_enable.ts +14 -0
- package/src/rules/mocha/_enable.ts +5 -0
- package/src/rules/mocha/_recommended.ts +7 -0
- package/src/{base/rules/presets/svelte/Enable.ts → rules/svelte/_enable.ts} +27 -28
- package/src/{base/rules/presets/svelte/DisableJS.ts → rules/svelte/disable_js.ts} +3 -3
- package/src/{base/rules/presets/svelte/DisableTS.ts → rules/svelte/disable_ts.ts} +3 -3
- package/src/rules/svelte/disable_x.ts +8 -0
- package/src/rules/svelte/enable_x.ts +9 -0
- package/src/{base/rules/presets/ts/Enable.ts → rules/ts/_enable.ts} +17 -18
- package/src/{base/rules/presets/ts/DisableCompiler.ts → rules/ts/disable_compiler.ts} +3 -3
- package/src/{base/rules/presets/ts/DisableX.ts → rules/ts/disable_x.ts} +6 -4
- package/src/{base/rules/presets/ts/EnableX.ts → rules/ts/enable_x.ts} +11 -8
- package/src/rules/yml/_enable.ts +33 -0
- package/src/{base/rules/presets/yml/EnableX.ts → rules/yml/enable_x.ts} +11 -8
- 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.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.map +0 -1
- 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.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.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.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.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.d.ts.map +0 -1
- 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/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/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/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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":";;;;;;AAQA,wBAAsU"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable_x } = id, { ERROR, OFF } = level, { Allow, Both } = state;
|
3
|
+
export default [enable_x, { "svelte/no-inner-declarations": [ERROR, Both, { blockScopedFunctions: Allow }], "svelte/no-trailing-spaces": OFF }];
|
4
|
+
//# sourceMappingURL=enable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;AAGxB,eAAe,CAAC,QAAQ,EAAE,EAAE,8BAA8B,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAoC,2BAA2B,EAAE,GAAG,EAA6I,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBA8YW"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable } = id, { ERROR, OFF } = level, { Never, Explicit } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable,
|
5
5
|
{
|
6
6
|
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
7
7
|
"@typescript-eslint/array-type": [ERROR, { "default": "array", readonly: "array" }],
|
@@ -20,7 +20,7 @@ export default [
|
|
20
20
|
"@typescript-eslint/class-literal-property-style": [ERROR, "fields"],
|
21
21
|
"@typescript-eslint/consistent-generic-constructors": [ERROR, "constructor"],
|
22
22
|
"@typescript-eslint/consistent-indexed-object-style": [ERROR, "record"],
|
23
|
-
"@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions:
|
23
|
+
"@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions: Never }],
|
24
24
|
"@typescript-eslint/consistent-type-definitions": OFF,
|
25
25
|
"@typescript-eslint/consistent-type-exports": [ERROR, { fixMixedExportsWithInlineTypeSpecifier: false }],
|
26
26
|
"@typescript-eslint/consistent-type-imports": [ERROR, { disallowTypeAnnotations: true, fixStyle: "separate-type-imports", prefer: "type-imports" }],
|
@@ -28,14 +28,14 @@ export default [
|
|
28
28
|
"@typescript-eslint/explicit-member-accessibility": [
|
29
29
|
ERROR,
|
30
30
|
{
|
31
|
-
accessibility:
|
31
|
+
accessibility: Explicit,
|
32
32
|
ignoredMethodNames: [],
|
33
33
|
overrides: {
|
34
|
-
properties:
|
34
|
+
properties: Explicit,
|
35
35
|
constructors: "no-public",
|
36
|
-
accessors:
|
37
|
-
methods:
|
38
|
-
parameterProperties:
|
36
|
+
accessors: Explicit,
|
37
|
+
methods: Explicit,
|
38
|
+
parameterProperties: Explicit,
|
39
39
|
},
|
40
40
|
},
|
41
41
|
],
|
@@ -190,8 +190,8 @@ export default [
|
|
190
190
|
"@typescript-eslint/no-empty-object-type": [
|
191
191
|
ERROR,
|
192
192
|
{
|
193
|
-
allowInterfaces:
|
194
|
-
allowObjectTypes:
|
193
|
+
allowInterfaces: Never,
|
194
|
+
allowObjectTypes: Never,
|
195
195
|
},
|
196
196
|
],
|
197
197
|
"@typescript-eslint/no-explicit-any": [ERROR, { fixToUnknown: true, ignoreRestArgs: false }],
|
@@ -297,7 +297,7 @@ export default [
|
|
297
297
|
"@typescript-eslint/prefer-reduce-type-parameter": ERROR,
|
298
298
|
"@typescript-eslint/prefer-regexp-exec": ERROR,
|
299
299
|
"@typescript-eslint/prefer-return-this-type": ERROR,
|
300
|
-
"@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality:
|
300
|
+
"@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality: Never }],
|
301
301
|
"@typescript-eslint/promise-function-async": [
|
302
302
|
ERROR,
|
303
303
|
{
|
@@ -349,11 +349,11 @@ export default [
|
|
349
349
|
},
|
350
350
|
],
|
351
351
|
"@typescript-eslint/switch-exhaustiveness-check": [ERROR, { allowDefaultCaseForExhaustiveSwitch: false, requireDefaultForNonUnion: true }],
|
352
|
-
"@typescript-eslint/triple-slash-reference": [ERROR, { lib:
|
352
|
+
"@typescript-eslint/triple-slash-reference": [ERROR, { lib: Never, path: Never, types: Never }],
|
353
353
|
"@typescript-eslint/typedef": OFF,
|
354
354
|
"@typescript-eslint/unbound-method": [ERROR, { ignoreStatic: false }],
|
355
355
|
"@typescript-eslint/unified-signatures": [ERROR, { ignoreDifferentlyNamedParameters: false }],
|
356
356
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
357
357
|
},
|
358
358
|
];
|
359
|
-
//# sourceMappingURL=
|
359
|
+
//# sourceMappingURL=_enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/ts/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AAE5B,eAAe;IACb,MAAM;IACN;QAEE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;QACnF,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE,EAAE,iBAAiB,EAAE,aAAa,EAAE;gBACvD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,KAAK;QAC9C,iDAAiD,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;QACpE,oDAAoD,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC;QAC5E,oDAAoD,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;QACvE,+CAA+C,EAAE,CAAC,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,2BAA2B,EAAE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AAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;aAC3B;SACF;QACD,gDAAgD,EAAE,CAAC,KAAK,EAAE,EAAE,mCAAmC,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,CAAC;QAC1I,2CAA2C,EAAE,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAwB,IAAI,EAAE,KAAK,EAAwB,KAAK,EAAE,KAAK,EAAwC,CAAC;QACjL,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE,CAAC,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QACrE,uCAAuC,EAAE,CAAC,KAAK,EAAE,EAAE,gCAAgC,EAAE,KAAK,EAAE,CAAC;QAC7F,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_compiler.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_compiler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,wBAkBW"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { level } from "../_strings.js";
|
2
|
+
const { OFF } = level;
|
3
3
|
export default [
|
4
4
|
"disable-compiler",
|
5
5
|
{
|
@@ -19,4 +19,4 @@ export default [
|
|
19
19
|
"no-redeclare": OFF,
|
20
20
|
},
|
21
21
|
];
|
22
|
-
//# sourceMappingURL=
|
22
|
+
//# sourceMappingURL=disable_compiler.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_compiler.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEtB,eAAe;IACb,kBAAkB;IAClB;QACE,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;QACzB,mBAAmB,EAAE,GAAG;QACxB,cAAc,EAAE,GAAG;KACpB;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA6BW"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level } from "../_strings.js";
|
2
|
+
const { disable_x } = id, { OFF } = level;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
disable_x,
|
5
5
|
{
|
6
6
|
"class-methods-use-this": OFF,
|
7
7
|
"consistent-return": OFF,
|
@@ -29,4 +29,4 @@ export default [
|
|
29
29
|
"require-await": OFF,
|
30
30
|
},
|
31
31
|
];
|
32
|
-
//# sourceMappingURL=
|
32
|
+
//# sourceMappingURL=disable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,SAAS,EAAE,GAAG,EAAE,EAClB,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEhB,eAAe;IACb,SAAS;IACT;QAEE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY,EAAE,GAAG;QACjB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,GAAG;QAC5B,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG;QACvB,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACrB;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAkFW"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable_x } = id, { ERROR, OFF } = level, { Always, All } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable_x,
|
5
5
|
{
|
6
6
|
"@typescript-eslint/class-methods-use-this": OFF,
|
7
7
|
"@typescript-eslint/consistent-return": OFF,
|
@@ -17,7 +17,7 @@ export default [
|
|
17
17
|
],
|
18
18
|
"@typescript-eslint/init-declarations": [
|
19
19
|
ERROR,
|
20
|
-
|
20
|
+
Always,
|
21
21
|
],
|
22
22
|
"@typescript-eslint/max-params": OFF,
|
23
23
|
"@typescript-eslint/no-array-constructor": ERROR,
|
@@ -52,9 +52,9 @@ export default [
|
|
52
52
|
"@typescript-eslint/no-unused-vars": [
|
53
53
|
ERROR,
|
54
54
|
{
|
55
|
-
vars:
|
56
|
-
args:
|
57
|
-
caughtErrors:
|
55
|
+
vars: All,
|
56
|
+
args: All,
|
57
|
+
caughtErrors: All,
|
58
58
|
ignoreRestSiblings: false,
|
59
59
|
ignoreClassWithStaticInitBlock: false,
|
60
60
|
reportUsedIgnorePattern: true,
|
@@ -79,4 +79,4 @@ export default [
|
|
79
79
|
"@typescript-eslint/require-await": ERROR,
|
80
80
|
},
|
81
81
|
];
|
82
|
-
//# sourceMappingURL=
|
82
|
+
//# sourceMappingURL=enable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAGE,2CAA2C,EAAE,GAAG;QAChD,sCAAsC,EAAE,GAAG;QAC3C,uCAAuC,EAAE,KAAK;QAC9C,iCAAiC,EAAE;YACjC,KAAK;YACL;gBACE,aAAa,EAAE,IAAI;gBAGnB,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACD,sCAAsC,EAAE;YACtC,KAAK;YACL,MAAM;SACP;QACD,+BAA+B,EAAE,GAAG;QACpC,yCAAyC,EAAE,KAAK;QAChD,0CAA0C,EAAE,GAAG;QAC/C,sCAAsC,EAAE;YACtC,KAAK;YACL;gBACE,KAAK,EAAE;oBACL,cAAc;oBACd,sBAAsB;oBACtB,wBAAwB;oBACxB,oBAAoB;iBACrB;aACF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K,EAAE,CAAC;QACvF,kCAAkC,EAAE,KAAK;KAC1C;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAyBW"}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable } = id, { ERROR, OFF } = level, { Never, Always, Double } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable,
|
5
5
|
{
|
6
|
-
"yml/block-mapping-colon-indicator-newline": [ERROR,
|
7
|
-
"yml/block-mapping-question-indicator-newline": [ERROR,
|
8
|
-
"yml/block-mapping": [ERROR, { singleline:
|
9
|
-
"yml/block-sequence-hyphen-indicator-newline": [ERROR,
|
10
|
-
"yml/block-sequence": [ERROR, { singleline:
|
6
|
+
"yml/block-mapping-colon-indicator-newline": [ERROR, Never],
|
7
|
+
"yml/block-mapping-question-indicator-newline": [ERROR, Never],
|
8
|
+
"yml/block-mapping": [ERROR, { singleline: Never, multiline: Always }],
|
9
|
+
"yml/block-sequence-hyphen-indicator-newline": [ERROR, Never, { nestedHyphen: Always, blockMapping: Never }],
|
10
|
+
"yml/block-sequence": [ERROR, { singleline: Always, multiline: Always }],
|
11
11
|
"yml/file-extension": OFF,
|
12
12
|
"yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
|
13
13
|
"yml/key-name-casing": OFF,
|
@@ -17,12 +17,12 @@ export default [
|
|
17
17
|
"yml/no-empty-sequence-entry": ERROR,
|
18
18
|
"yml/no-tab-indent": ERROR,
|
19
19
|
"yml/no-trailing-zeros": ERROR,
|
20
|
-
"yml/plain-scalar": [ERROR,
|
21
|
-
"yml/quotes": [ERROR, { prefer:
|
20
|
+
"yml/plain-scalar": [ERROR, Always],
|
21
|
+
"yml/quotes": [ERROR, { prefer: Double, avoidEscape: true }],
|
22
22
|
"yml/require-string-key": ERROR,
|
23
23
|
"yml/sort-keys": OFF,
|
24
24
|
"yml/sort-sequence-values": OFF,
|
25
25
|
"yml/vue-custom-block/no-parsing-error": ERROR,
|
26
26
|
},
|
27
27
|
];
|
28
|
-
//# sourceMappingURL=
|
28
|
+
//# sourceMappingURL=_enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/yml/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;AAElC,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC3D,8CAA8C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC9D,mBAAmB,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;QACtE,6CAA6C,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QAC5G,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;QACxE,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,EAAE,CAAC;QACjF,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACnC,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QAC5D,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAaW"}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable_x } = id, { ERROR } = level, { Never, Always, Strict } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable_x,
|
5
5
|
{
|
6
6
|
"yml/flow-mapping-curly-newline": [ERROR, { consistent: false, multiline: true, minProperties: 2 }],
|
7
|
-
"yml/flow-mapping-curly-spacing": [ERROR,
|
7
|
+
"yml/flow-mapping-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
|
8
8
|
"yml/flow-sequence-bracket-newline": [ERROR, { multiline: true, minItems: null }],
|
9
|
-
"yml/flow-sequence-bracket-spacing": [ERROR,
|
10
|
-
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode:
|
9
|
+
"yml/flow-sequence-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
10
|
+
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
|
11
11
|
"yml/no-irregular-whitespace": [ERROR, { skipQuotedScalars: true, skipComments: false }],
|
12
12
|
"yml/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
|
13
|
-
"yml/spaced-comment": [ERROR,
|
13
|
+
"yml/spaced-comment": [ERROR, Always],
|
14
14
|
},
|
15
15
|
];
|
16
|
-
//# sourceMappingURL=
|
16
|
+
//# sourceMappingURL=enable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;AAElC,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;QACnG,gCAAgC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC;QACpG,mCAAmC,EAAE,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACjF,mCAAmC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;QAC1H,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAClF,6BAA6B,EAAE,CAAC,KAAK,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QACxF,6BAA6B,EAAE,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;QACxE,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;KACtC;CACO,CAAC"}
|
@@ -3160,13 +3160,13 @@ declare const _default: {
|
|
3160
3160
|
}];
|
3161
3161
|
readonly "svelte/system": "error";
|
3162
3162
|
}]];
|
3163
|
-
readonly mocha: readonly [readonly ["recommended",
|
3163
|
+
readonly mocha: readonly [readonly ["recommended", Record<string, "off">], readonly ["enable", {
|
3164
3164
|
readonly "@html-eslint/require-title": "off";
|
3165
3165
|
readonly "@html-eslint/element-newline": readonly ["error", {
|
3166
3166
|
readonly skip: readonly ["head"];
|
3167
3167
|
}];
|
3168
3168
|
}]];
|
3169
|
-
readonly html: readonly [readonly ["recommended",
|
3169
|
+
readonly html: readonly [readonly ["recommended", Record<string, "off">], readonly ["enable", {
|
3170
3170
|
readonly "@html-eslint/require-title": "off";
|
3171
3171
|
readonly "@html-eslint/element-newline": readonly ["error", {
|
3172
3172
|
readonly skip: readonly ["head"];
|
@@ -3394,37 +3394,6 @@ declare const _default: {
|
|
3394
3394
|
readonly "markdownlint/md003": readonly ["error", {
|
3395
3395
|
readonly style: "atx";
|
3396
3396
|
}];
|
3397
|
-
readonly "markdownlint/md004": readonly ["error", {
|
3398
|
-
readonly style: "dash";
|
3399
|
-
}];
|
3400
|
-
readonly "markdownlint/md009": readonly ["error", {
|
3401
|
-
readonly br_spaces: 0;
|
3402
|
-
}];
|
3403
|
-
readonly "markdownlint/md010": readonly ["error", {
|
3404
|
-
readonly spaces_per_tab: 2;
|
3405
|
-
}];
|
3406
|
-
readonly "markdownlint/md013": "off";
|
3407
|
-
readonly "markdownlint/md029": readonly ["error", {
|
3408
|
-
readonly style: "one";
|
3409
|
-
}];
|
3410
|
-
readonly "markdownlint/md033": readonly ["error", {
|
3411
|
-
readonly allowed_elements: readonly ["details", "summary"];
|
3412
|
-
}];
|
3413
|
-
readonly "markdownlint/md035": readonly ["error", {
|
3414
|
-
readonly style: "---";
|
3415
|
-
}];
|
3416
|
-
readonly "markdownlint/md046": readonly ["error", {
|
3417
|
-
readonly style: "fenced";
|
3418
|
-
}];
|
3419
|
-
readonly "markdownlint/md048": readonly ["error", {
|
3420
|
-
readonly style: "backtick";
|
3421
|
-
}];
|
3422
|
-
readonly "markdownlint/md049": readonly ["error", {
|
3423
|
-
readonly style: "underscore";
|
3424
|
-
}];
|
3425
|
-
readonly "markdownlint/md050": readonly ["error", {
|
3426
|
-
readonly style: "underscore";
|
3427
|
-
}];
|
3428
3397
|
}]];
|
3429
3398
|
};
|
3430
3399
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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";
|
5
|
+
import html from "./rules/_html.js";
|
6
|
+
import json from "./rules/_json.js";
|
7
|
+
import jsonc from "./rules/_jsonc.js";
|
8
|
+
import yml from "./rules/_yml.js";
|
9
|
+
import md from "./rules/_md.js";
|
10
|
+
export default {
|
11
|
+
js,
|
12
|
+
ts,
|
13
|
+
svelte,
|
14
|
+
mocha,
|
15
|
+
html,
|
16
|
+
json,
|
17
|
+
jsonc,
|
18
|
+
yml,
|
19
|
+
md,
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=rules.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChC,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEhC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACsC,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.17.8",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.12.
|
4
|
+
"version": "16.12.2-rc.0",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"devDependencies": {
|
72
72
|
"@eslint/config-inspector": "^0.5.4",
|
73
73
|
"eslint": "~9.12.0",
|
74
|
-
"linted": "16.12.1
|
74
|
+
"linted": "16.12.1",
|
75
75
|
"npm-run-all": "^4.1.5",
|
76
76
|
"typescript": "^5.6.3"
|
77
77
|
},
|
package/src/files.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { Core } from "@eslinted/core";
|
2
|
+
import js from "./files/js.js";
|
3
|
+
import ts from "./files/ts.js";
|
4
|
+
import svelte from "./files/svelte.js";
|
5
|
+
import mocha from "./files/mocha.js";
|
6
|
+
import html from "./files/html.js";
|
7
|
+
import json from "./files/json.js";
|
8
|
+
import jsonc from "./files/jsonc.js";
|
9
|
+
import yml from "./files/yml.js";
|
10
|
+
import md from "./files/md.js";
|
11
|
+
|
12
|
+
export default {
|
13
|
+
js,
|
14
|
+
ts,
|
15
|
+
svelte,
|
16
|
+
mocha,
|
17
|
+
html,
|
18
|
+
json,
|
19
|
+
jsonc,
|
20
|
+
yml,
|
21
|
+
md,
|
22
|
+
} as const satisfies Core.Input.Files.Base;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { Core } from "@eslinted/core";
|
2
1
|
import ts from "@typescript-eslint/parser";
|
3
2
|
import svelte from "svelte-eslint-parser";
|
4
3
|
import html from "@html-eslint/parser";
|
@@ -13,4 +12,4 @@ export default {
|
|
13
12
|
jsonc,
|
14
13
|
yml,
|
15
14
|
md,
|
16
|
-
} as const
|
15
|
+
} as const;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { Core } from "@eslinted/core";
|
2
1
|
import stylistic from "@stylistic/eslint-plugin";
|
3
2
|
import typescript_eslint from "@typescript-eslint/eslint-plugin";
|
4
3
|
import svelte from "eslint-plugin-svelte";
|
@@ -17,4 +16,4 @@ export default {
|
|
17
16
|
jsonc,
|
18
17
|
yml,
|
19
18
|
markdownlint,
|
20
|
-
} as const
|
19
|
+
} as const;
|
package/src/imports.ts
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Core } from "@eslinted/core";
|
2
|
+
import plugins from "./imports/plugins.js";
|
3
|
+
import parsers from "./imports/parsers.js";
|
4
|
+
|
5
|
+
export default {
|
6
|
+
plugins,
|
7
|
+
parsers,
|
8
|
+
} as const satisfies { plugins: Core.Input.Plugins } & { parsers: Core.Input.Parsers };
|
package/src/index.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import core, { type 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
|
|
7
6
|
declare type Scope =
|
8
7
|
| "js"
|
@@ -22,8 +21,8 @@ export default function (
|
|
22
21
|
) {
|
23
22
|
try {
|
24
23
|
return core(
|
25
|
-
plugins,
|
26
|
-
parsers,
|
24
|
+
imports.plugins,
|
25
|
+
imports.parsers,
|
27
26
|
{ files, includes },
|
28
27
|
{ rules, overrides },
|
29
28
|
);
|
@@ -31,6 +30,7 @@ export default function (
|
|
31
30
|
catch (e) { throw new Error(`linted(): `, { cause: e }); }
|
32
31
|
}
|
33
32
|
|
34
|
-
|
33
|
+
type BaseScope = keyof Core.Input.Files.Base;
|
34
|
+
type Scoped = Scope extends BaseScope ? BaseScope extends Scope ? "OK" : never : never;
|
35
35
|
|
36
|
-
export type
|
36
|
+
export type OK = Scoped & {}; /* Expected: "OK". Linter fails if `never` */
|
package/src/rules/_js.ts
ADDED
package/src/rules/_md.ts
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
const
|
2
|
+
disable = "disable",
|
3
|
+
disable_x = "disable-extend",
|
4
|
+
enable_x = "enable-extend",
|
5
|
+
enable = "enable",
|
6
|
+
override = "override",
|
7
|
+
stylistic = "stylistic",
|
8
|
+
recommended = "recommended";
|
9
|
+
|
10
|
+
export {
|
11
|
+
disable,
|
12
|
+
disable_x,
|
13
|
+
enable_x,
|
14
|
+
enable,
|
15
|
+
override,
|
16
|
+
stylistic,
|
17
|
+
recommended,
|
18
|
+
};
|