linted 16.12.1 → 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
@@ -1,3 +0,0 @@
|
|
1
|
-
const NEVER = "never", ALWAYS = "always", ALWAYS_MULTILINE = "always-multiline", MULTILINE = "multiline", CONSISTENT = "consistent", CONSECUTIVE = "consecutive", AS_NEEDED = "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, ALWAYS_MULTILINE, MULTILINE, CONSISTENT, CONSECUTIVE, AS_NEEDED, EXPLICIT, ALLOW, STRICT, ANY, ALL, STAR, FIRST, LAST, BEFORE, AFTER, ABOVE, BELOW, BESIDE, INSIDE, OUTSIDE, SINGLE, DOUBLE, MULTI, BOTH, };
|
3
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/base/rules/strings/state/index.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,OAAO,EACrB,MAAM,GAAG,QAAQ,EACjB,gBAAgB,GAAG,kBAAkB,EACrC,SAAS,GAAG,WAAW,EACvB,UAAU,GAAG,YAAY,EACzB,WAAW,GAAG,aAAa,EAC3B,SAAS,GAAG,WAAW,EACvB,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,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,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"}
|
package/dist/base/rules.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import js from "./rules/presets/Js.js";
|
2
|
-
import ts from "./rules/presets/Ts.js";
|
3
|
-
import svelte from "./rules/presets/Svelte.js";
|
4
|
-
import mocha from "./rules/presets/Mocha.js";
|
5
|
-
import html from "./rules/presets/Html.js";
|
6
|
-
import json from "./rules/presets/Json.js";
|
7
|
-
import jsonc from "./rules/presets/Jsonc.js";
|
8
|
-
import yml from "./rules/presets/Yml.js";
|
9
|
-
import md from "./rules/presets/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
|
package/dist/base/rules.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/base/rules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvC,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvC,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAC/C,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAC7C,OAAO,IAAI,MAAM,yBAAyB,CAAC;AAC3C,OAAO,IAAI,MAAM,yBAAyB,CAAC;AAC3C,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAC7C,OAAO,GAAG,MAAM,wBAAwB,CAAC;AACzC,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEvC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACsC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/import/parsers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,OAAO,EAAE,MAAM,sCAAsC,CAAC;;;;;;;;;AAEtD,wBAOwC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/import/parsers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAEtD,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACmC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/import/plugins.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAIxC,OAAO,YAAY,MAAM,4BAA4B,CAAC;;;mCAIE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQ2vnB,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;qBAAmN,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAu3D,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAkxD,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAwyC,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBAA89B,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAv20B,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAVr9L,wBASwC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/import/plugins.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,YAAY,MAAM,4BAA4B,CAAC;AAEtD,eAAe;IACb,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAoD;IAC1E,MAAM;IACN,KAAK;IACL,cAAc,EAAE,WAAW;IAC3B,KAAK;IACL,GAAG;IACH,YAAY;CACyB,CAAC"}
|
package/src/base/files.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import type { Core } from "@eslinted/core";
|
2
|
-
import js from "./files/js/index.js";
|
3
|
-
import ts from "./files/ts/index.js";
|
4
|
-
import svelte from "./files/svelte/index.js";
|
5
|
-
import mocha from "./files/mocha/index.js";
|
6
|
-
import html from "./files/html/index.js";
|
7
|
-
import json from "./files/json/index.js";
|
8
|
-
import jsonc from "./files/jsonc/index.js";
|
9
|
-
import yml from "./files/yml/index.js";
|
10
|
-
import md from "./files/md/index.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,16 +0,0 @@
|
|
1
|
-
import type RuleEntry from "./index.js";
|
2
|
-
import TsRuleset from "./Ts.js";
|
3
|
-
import DisableJS from "./svelte/DisableJS.js";
|
4
|
-
import DisableTS from "./svelte/DisableTS.js";
|
5
|
-
import DisableX from "./svelte/DisableX.js";
|
6
|
-
import EnableX from "./svelte/EnableX.js";
|
7
|
-
import Enable from "./svelte/Enable.js";
|
8
|
-
|
9
|
-
export default [
|
10
|
-
...TsRuleset,
|
11
|
-
DisableJS,
|
12
|
-
DisableTS,
|
13
|
-
DisableX,
|
14
|
-
EnableX,
|
15
|
-
Enable,
|
16
|
-
] as const satisfies readonly RuleEntry[];
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import type RuleEntry from "./index.js";
|
2
|
-
import Js from "./Js.js";
|
3
|
-
import DisableCompiler from "./ts/DisableCompiler.js";
|
4
|
-
import DisableX from "./ts/DisableX.js";
|
5
|
-
import EnableX from "./ts/EnableX.js";
|
6
|
-
import Enable from "./ts/Enable.js";
|
7
|
-
|
8
|
-
export default [
|
9
|
-
...Js,
|
10
|
-
DisableCompiler,
|
11
|
-
DisableX,
|
12
|
-
EnableX,
|
13
|
-
Enable,
|
14
|
-
] as const satisfies readonly RuleEntry[];
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
Enable,
|
7
|
-
{
|
8
|
-
"@html-eslint/require-title": OFF,
|
9
|
-
"@html-eslint/element-newline": [ERROR, { skip: ["head"] }],
|
10
|
-
},
|
11
|
-
] as const satisfies RuleEntry;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import html from "@html-eslint/eslint-plugin";
|
2
|
-
import { Strings, type RuleEntry } from "../index.js";
|
3
|
-
|
4
|
-
const { Id: { Recommended } } = Strings;
|
5
|
-
|
6
|
-
// Remove shared config once manually configured
|
7
|
-
export default [Recommended, (html.configs["flat/recommended"] as Record<"rules", RuleEntry.Object>).rules] as const satisfies RuleEntry;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Core } from "@eslinted/core";
|
2
|
-
|
3
|
-
type RuleEntry = Core.Input.Rules.Base[Core.Scopes][number];
|
4
|
-
|
5
|
-
namespace RuleEntry {
|
6
|
-
export type Object = RuleEntry[1];
|
7
|
-
}
|
8
|
-
|
9
|
-
export type { RuleEntry, RuleEntry as default };
|
10
|
-
export * as Strings from "../strings/index.js";
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { Override }, Level: { ERROR, OFF }, State: { ALWAYS_MULTILINE } } = Strings;
|
4
|
-
|
5
|
-
// https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
|
6
|
-
export default [Override, { "jsonc/no-comments": OFF /* comments are allowed in JSONC */, "jsonc/comma-dangle": [ERROR, ALWAYS_MULTILINE] /* trailing commas are allowed in JSONC */ }] as const satisfies RuleEntry;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
Enable,
|
7
|
-
{
|
8
|
-
// Rules 1-50 supported by this shit plugin: https://gitlab.com/pawelbbdrozd/eslint-plugin-markdownlint/-/tree/main/lib/rules?ref_type=heads
|
9
|
-
// Rules 1-56 supported by this good plugin: https://github.com/DavidAnson/markdownlint/blob/main/doc/md001.md
|
10
|
-
"markdownlint/md003": [ERROR, { style: "atx" }],
|
11
|
-
"markdownlint/md004": [ERROR, { style: "dash" }],
|
12
|
-
"markdownlint/md009": [ERROR, { br_spaces: 0 }],
|
13
|
-
"markdownlint/md010": [ERROR, { spaces_per_tab: 2 }],
|
14
|
-
"markdownlint/md013": OFF,
|
15
|
-
"markdownlint/md029": [ERROR, { style: "one" }],
|
16
|
-
"markdownlint/md033": [ERROR, { allowed_elements: ["details", "summary"] }],
|
17
|
-
"markdownlint/md035": [ERROR, { style: "---" }],
|
18
|
-
"markdownlint/md046": [ERROR, { style: "fenced" }],
|
19
|
-
"markdownlint/md048": [ERROR, { style: "backtick" }],
|
20
|
-
"markdownlint/md049": [ERROR, { style: "underscore" }],
|
21
|
-
"markdownlint/md050": [ERROR, { style: "underscore" }],
|
22
|
-
},
|
23
|
-
] as const satisfies RuleEntry;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import mocha from "eslint-plugin-mocha";
|
2
|
-
import { Strings, type RuleEntry } from "../index.js";
|
3
|
-
|
4
|
-
const { Id: { Recommended } } = Strings;
|
5
|
-
|
6
|
-
// Remove shared config once manually configured
|
7
|
-
export default [Recommended, (mocha.configs.flat.recommended as Record<"rules", RuleEntry.Object>).rules] as const satisfies RuleEntry;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { DisableX }, Level: { OFF } } = Strings;
|
4
|
-
|
5
|
-
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
|
6
|
-
export default [DisableX, { "no-inner-declarations": OFF /* also disabled in SvelteDisableConflictJs per Svelte base config */ }] as const satisfies RuleEntry;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALLOW, BOTH } } = Strings;
|
4
|
-
|
5
|
-
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
|
6
|
-
export default [EnableX, { "svelte/no-inner-declarations": [ERROR, BOTH, { blockScopedFunctions: ALLOW }] /* Same options as in JsEnable */, "svelte/no-trailing-spaces": OFF /* Only applies to HTML comments, which I don't intend to use: http://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/ */ }] as const satisfies RuleEntry;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { Strings, type RuleEntry } from "../index.js";
|
2
|
-
|
3
|
-
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE } } = Strings;
|
4
|
-
|
5
|
-
export default [
|
6
|
-
Enable,
|
7
|
-
{
|
8
|
-
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
9
|
-
"yml/block-mapping-colon-indicator-newline": [ERROR, NEVER],
|
10
|
-
"yml/block-mapping-question-indicator-newline": [ERROR, NEVER],
|
11
|
-
"yml/block-mapping": [ERROR, { singleline: NEVER, multiline: ALWAYS }],
|
12
|
-
"yml/block-sequence-hyphen-indicator-newline": [ERROR, NEVER, { nestedHyphen: ALWAYS, blockMapping: NEVER }],
|
13
|
-
"yml/block-sequence": [ERROR, { singleline: ALWAYS, multiline: ALWAYS }],
|
14
|
-
"yml/file-extension": OFF,
|
15
|
-
"yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
|
16
|
-
"yml/key-name-casing": OFF,
|
17
|
-
"yml/no-empty-document": ERROR,
|
18
|
-
"yml/no-empty-key": ERROR,
|
19
|
-
"yml/no-empty-mapping-value": ERROR,
|
20
|
-
"yml/no-empty-sequence-entry": ERROR,
|
21
|
-
"yml/no-tab-indent": ERROR,
|
22
|
-
"yml/no-trailing-zeros": ERROR,
|
23
|
-
"yml/plain-scalar": [ERROR, ALWAYS],
|
24
|
-
"yml/quotes": [ERROR, { prefer: DOUBLE, avoidEscape: true }],
|
25
|
-
"yml/require-string-key": ERROR,
|
26
|
-
"yml/sort-keys": OFF,
|
27
|
-
"yml/sort-sequence-values": OFF,
|
28
|
-
"yml/vue-custom-block/no-parsing-error": ERROR,
|
29
|
-
},
|
30
|
-
] as const satisfies RuleEntry;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
const Disable = "disable",
|
2
|
-
DisableX = "disable-extend",
|
3
|
-
EnableX = "enable-extend",
|
4
|
-
Enable = "enable",
|
5
|
-
Override = "override",
|
6
|
-
Stylistic = "stylistic",
|
7
|
-
Recommended = "recommended";
|
8
|
-
|
9
|
-
export {
|
10
|
-
Disable,
|
11
|
-
DisableX,
|
12
|
-
EnableX,
|
13
|
-
Enable,
|
14
|
-
Override,
|
15
|
-
Stylistic,
|
16
|
-
Recommended,
|
17
|
-
};
|
@@ -1,55 +0,0 @@
|
|
1
|
-
const NEVER = "never",
|
2
|
-
ALWAYS = "always",
|
3
|
-
ALWAYS_MULTILINE = "always-multiline",
|
4
|
-
MULTILINE = "multiline",
|
5
|
-
CONSISTENT = "consistent",
|
6
|
-
CONSECUTIVE = "consecutive",
|
7
|
-
AS_NEEDED = "as-needed",
|
8
|
-
EXPLICIT = "explicit",
|
9
|
-
ALLOW = "allow",
|
10
|
-
STRICT = "strict",
|
11
|
-
ANY = "any",
|
12
|
-
ALL = "all",
|
13
|
-
STAR = "*",
|
14
|
-
FIRST = "first",
|
15
|
-
LAST = "last",
|
16
|
-
BEFORE = "before",
|
17
|
-
AFTER = "after",
|
18
|
-
ABOVE = "above",
|
19
|
-
BELOW = "below",
|
20
|
-
BESIDE = "beside",
|
21
|
-
INSIDE = "inside",
|
22
|
-
OUTSIDE = "outside",
|
23
|
-
SINGLE = "single",
|
24
|
-
DOUBLE = "double",
|
25
|
-
MULTI = "multi",
|
26
|
-
BOTH = "both";
|
27
|
-
|
28
|
-
export {
|
29
|
-
NEVER,
|
30
|
-
ALWAYS,
|
31
|
-
ALWAYS_MULTILINE,
|
32
|
-
MULTILINE,
|
33
|
-
CONSISTENT,
|
34
|
-
CONSECUTIVE,
|
35
|
-
AS_NEEDED,
|
36
|
-
EXPLICIT,
|
37
|
-
ALLOW,
|
38
|
-
STRICT,
|
39
|
-
ANY,
|
40
|
-
ALL,
|
41
|
-
STAR,
|
42
|
-
FIRST,
|
43
|
-
LAST,
|
44
|
-
BEFORE,
|
45
|
-
AFTER,
|
46
|
-
ABOVE,
|
47
|
-
BELOW,
|
48
|
-
BESIDE,
|
49
|
-
INSIDE,
|
50
|
-
OUTSIDE,
|
51
|
-
SINGLE,
|
52
|
-
DOUBLE,
|
53
|
-
MULTI,
|
54
|
-
BOTH,
|
55
|
-
};
|
package/src/base/rules.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import type { Core } from "@eslinted/core";
|
2
|
-
import js from "./rules/presets/Js.js";
|
3
|
-
import ts from "./rules/presets/Ts.js";
|
4
|
-
import svelte from "./rules/presets/Svelte.js";
|
5
|
-
import mocha from "./rules/presets/Mocha.js";
|
6
|
-
import html from "./rules/presets/Html.js";
|
7
|
-
import json from "./rules/presets/Json.js";
|
8
|
-
import jsonc from "./rules/presets/Jsonc.js";
|
9
|
-
import yml from "./rules/presets/Yml.js";
|
10
|
-
import md from "./rules/presets/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.Rules.Base;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|