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
@@ -0,0 +1,14 @@
|
|
1
|
+
import { id, level } from "../_strings.js";
|
2
|
+
|
3
|
+
const
|
4
|
+
{ enable } = id,
|
5
|
+
{ ERROR } = level;
|
6
|
+
|
7
|
+
export default [
|
8
|
+
enable,
|
9
|
+
{
|
10
|
+
// Rules 1-50 supported by this shit plugin: https://gitlab.com/pawelbbdrozd/eslint-plugin-markdownlint/-/tree/main/lib/rules?ref_type=heads
|
11
|
+
// Rules 1-56 supported by this good plugin: https://github.com/DavidAnson/markdownlint/blob/main/doc/md001.md
|
12
|
+
"markdownlint/md003": [ERROR, { style: "atx" }],
|
13
|
+
},
|
14
|
+
] as const;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { id } from "../_strings.js";
|
2
|
+
import mocha from "eslint-plugin-mocha";
|
3
|
+
|
4
|
+
const { recommended } = id;
|
5
|
+
|
6
|
+
// Remove shared config once manually configured
|
7
|
+
export default [recommended, (mocha.configs.flat.recommended as Record<"rules", Record<string, "off">>).rules] as const;
|
@@ -1,18 +1,17 @@
|
|
1
|
-
import {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
2
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
} = Strings;
|
3
|
+
const
|
4
|
+
{ enable } = id,
|
5
|
+
{ ERROR, OFF } = level,
|
6
|
+
{
|
7
|
+
Never,
|
8
|
+
Always,
|
9
|
+
Below,
|
10
|
+
Double,
|
11
|
+
} = state;
|
13
12
|
|
14
13
|
export default [
|
15
|
-
|
14
|
+
enable,
|
16
15
|
{
|
17
16
|
// #region Possible Errors
|
18
17
|
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#possible-errors
|
@@ -40,7 +39,7 @@ export default [
|
|
40
39
|
// #region Security
|
41
40
|
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#security-vulnerability
|
42
41
|
"svelte/no-at-html-tags": ERROR,
|
43
|
-
"svelte/no-target-blank": [ERROR, { allowReferrer: false, enforceDynamicLinks:
|
42
|
+
"svelte/no-target-blank": [ERROR, { allowReferrer: false, enforceDynamicLinks: Always }],
|
44
43
|
|
45
44
|
// #endregion
|
46
45
|
|
@@ -78,16 +77,16 @@ export default [
|
|
78
77
|
// #region Style
|
79
78
|
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#stylistic-issues
|
80
79
|
"svelte/derived-has-same-inputs-outputs": ERROR,
|
81
|
-
"svelte/first-attribute-linebreak": [ERROR, { multiline:
|
82
|
-
"svelte/html-closing-bracket-spacing": [ERROR, { startTag:
|
83
|
-
"svelte/html-quotes": [ERROR, { prefer:
|
80
|
+
"svelte/first-attribute-linebreak": [ERROR, { multiline: Below, singleline: Below }],
|
81
|
+
"svelte/html-closing-bracket-spacing": [ERROR, { startTag: Never, endTag: Never, selfClosingTag: Always }],
|
82
|
+
"svelte/html-quotes": [ERROR, { prefer: Double, dynamic: { quoted: false, avoidInvalidUnquotedInHTML: true } }],
|
84
83
|
"svelte/html-self-closing": [
|
85
84
|
ERROR,
|
86
85
|
{
|
87
|
-
"void":
|
88
|
-
normal:
|
89
|
-
component:
|
90
|
-
svelte:
|
86
|
+
"void": Always /* or NEVER or "ignore" */,
|
87
|
+
normal: Always /* or NEVER or "ignore" */,
|
88
|
+
component: Always /* or NEVER or "ignore" */,
|
89
|
+
svelte: Always /* or NEVER or "ignore" */,
|
91
90
|
},
|
92
91
|
],
|
93
92
|
"svelte/indent": [ERROR, { indent: 2, switchCase: 1, alignAttributesVertically: true }],
|
@@ -95,10 +94,10 @@ export default [
|
|
95
94
|
"svelte/mustache-spacing": [
|
96
95
|
ERROR,
|
97
96
|
{
|
98
|
-
textExpressions:
|
99
|
-
attributesAndProps:
|
100
|
-
directiveExpressions:
|
101
|
-
tags: { openingBrace:
|
97
|
+
textExpressions: Never /* or ALWAYS */,
|
98
|
+
attributesAndProps: Never /* or ALWAYS */,
|
99
|
+
directiveExpressions: Never /* or ALWAYS */,
|
100
|
+
tags: { openingBrace: Never /* or ALWAYS */, closingBrace: Never /* or ALWAYS or "always-after-expression" */ },
|
102
101
|
},
|
103
102
|
],
|
104
103
|
"svelte/no-extra-reactive-curlies": ERROR,
|
@@ -106,10 +105,10 @@ export default [
|
|
106
105
|
"svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
|
107
106
|
"svelte/prefer-class-directive": [ERROR, { prefer: "empty" }],
|
108
107
|
"svelte/prefer-style-directive": ERROR,
|
109
|
-
"svelte/shorthand-attribute": [ERROR, { prefer:
|
110
|
-
"svelte/shorthand-directive": [ERROR, { prefer:
|
108
|
+
"svelte/shorthand-attribute": [ERROR, { prefer: Always }],
|
109
|
+
"svelte/shorthand-directive": [ERROR, { prefer: Always }],
|
111
110
|
"svelte/sort-attributes": OFF, // INVESTIGATE:
|
112
|
-
"svelte/spaced-html-comment": [ERROR,
|
111
|
+
"svelte/spaced-html-comment": [ERROR, Always],
|
113
112
|
|
114
113
|
// #endregion
|
115
114
|
|
@@ -127,4 +126,4 @@ export default [
|
|
127
126
|
// #endregion
|
128
127
|
|
129
128
|
},
|
130
|
-
] as const
|
129
|
+
] as const;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { level } from "../_strings.js";
|
2
2
|
|
3
|
-
const {
|
3
|
+
const { OFF } = level;
|
4
4
|
|
5
5
|
// Recommended by Svelte base config:
|
6
6
|
// http://github.com/sveltejs/eslint-plugin-svelte/tree/main/src/configs/flat
|
7
|
-
export default ["disable-js", { "no-inner-declarations": OFF /* ESLint Core */, "no-self-assign": OFF /* ESLint Core */ }] as const
|
7
|
+
export default ["disable-js", { "no-inner-declarations": OFF /* ESLint Core */, "no-self-assign": OFF /* ESLint Core */ }] as const;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { level } from "../_strings.js";
|
2
2
|
|
3
|
-
const {
|
3
|
+
const { OFF } = level;
|
4
4
|
|
5
|
-
export default ["disable-ts", { "no-unused-vars": OFF /* ESLint Core */, "@typescript-eslint/no-unused-vars": OFF /* TS Extension */ }] as const
|
5
|
+
export default ["disable-ts", { "no-unused-vars": OFF /* ESLint Core */, "@typescript-eslint/no-unused-vars": OFF /* TS Extension */ }] as const;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { id, level } from "../_strings.js";
|
2
|
+
|
3
|
+
const
|
4
|
+
{ disable_x } = id,
|
5
|
+
{ OFF } = level;
|
6
|
+
|
7
|
+
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
|
8
|
+
export default [disable_x, { "no-inner-declarations": OFF /* also disabled in SvelteDisableConflictJs per Svelte base config */ }] as const;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
|
3
|
+
const
|
4
|
+
{ enable_x } = id,
|
5
|
+
{ ERROR, OFF } = level,
|
6
|
+
{ Allow, Both } = state;
|
7
|
+
|
8
|
+
// http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
|
9
|
+
export default [enable_x, { "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;
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
2
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
} = Strings;
|
3
|
+
const
|
4
|
+
{ enable } = id,
|
5
|
+
{ ERROR, OFF } = level,
|
6
|
+
{ Never, Explicit } = state;
|
8
7
|
|
9
8
|
export default [
|
10
|
-
|
9
|
+
enable,
|
11
10
|
{
|
12
11
|
// https://typescript-eslint.io/rules/?=xextension-xdeprecated#rules ]
|
13
12
|
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
@@ -27,7 +26,7 @@ export default [
|
|
27
26
|
"@typescript-eslint/class-literal-property-style": [ERROR, "fields"],
|
28
27
|
"@typescript-eslint/consistent-generic-constructors": [ERROR, "constructor"],
|
29
28
|
"@typescript-eslint/consistent-indexed-object-style": [ERROR, "record"],
|
30
|
-
"@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions:
|
29
|
+
"@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions: Never }],
|
31
30
|
"@typescript-eslint/consistent-type-definitions": OFF,
|
32
31
|
"@typescript-eslint/consistent-type-exports": [ERROR, { fixMixedExportsWithInlineTypeSpecifier: false }],
|
33
32
|
"@typescript-eslint/consistent-type-imports": [ERROR, { disallowTypeAnnotations: true, fixStyle: "separate-type-imports", prefer: "type-imports" }],
|
@@ -35,14 +34,14 @@ export default [
|
|
35
34
|
"@typescript-eslint/explicit-member-accessibility": [
|
36
35
|
ERROR,
|
37
36
|
{
|
38
|
-
accessibility:
|
37
|
+
accessibility: Explicit,
|
39
38
|
ignoredMethodNames: [],
|
40
39
|
overrides: {
|
41
|
-
properties:
|
40
|
+
properties: Explicit,
|
42
41
|
constructors: "no-public",
|
43
|
-
accessors:
|
44
|
-
methods:
|
45
|
-
parameterProperties:
|
42
|
+
accessors: Explicit,
|
43
|
+
methods: Explicit,
|
44
|
+
parameterProperties: Explicit,
|
46
45
|
},
|
47
46
|
},
|
48
47
|
],
|
@@ -239,8 +238,8 @@ export default [
|
|
239
238
|
ERROR,
|
240
239
|
{
|
241
240
|
// allowWithName: /regex/,
|
242
|
-
allowInterfaces:
|
243
|
-
allowObjectTypes:
|
241
|
+
allowInterfaces: Never,
|
242
|
+
allowObjectTypes: Never,
|
244
243
|
},
|
245
244
|
],
|
246
245
|
"@typescript-eslint/no-explicit-any": [ERROR, { fixToUnknown: true, ignoreRestArgs: false }],
|
@@ -346,7 +345,7 @@ export default [
|
|
346
345
|
"@typescript-eslint/prefer-reduce-type-parameter": ERROR,
|
347
346
|
"@typescript-eslint/prefer-regexp-exec": ERROR,
|
348
347
|
"@typescript-eslint/prefer-return-this-type": ERROR,
|
349
|
-
"@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality:
|
348
|
+
"@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality: Never }],
|
350
349
|
"@typescript-eslint/promise-function-async": [
|
351
350
|
ERROR,
|
352
351
|
{
|
@@ -398,10 +397,10 @@ export default [
|
|
398
397
|
},
|
399
398
|
], /* requires tsconfig: strictNullChecks */
|
400
399
|
"@typescript-eslint/switch-exhaustiveness-check": [ERROR, { allowDefaultCaseForExhaustiveSwitch: false, requireDefaultForNonUnion: true }],
|
401
|
-
"@typescript-eslint/triple-slash-reference": [ERROR, { lib:
|
400
|
+
"@typescript-eslint/triple-slash-reference": [ERROR, { lib: Never /** always | never */, path: Never /** always | never */, types: Never /** always | never | prefer-import */ }],
|
402
401
|
"@typescript-eslint/typedef": OFF, /* tsconfig: { noImplicitAny, strictPropertyInitialization } */
|
403
402
|
"@typescript-eslint/unbound-method": [ERROR, { ignoreStatic: false }],
|
404
403
|
"@typescript-eslint/unified-signatures": [ERROR, { ignoreDifferentlyNamedParameters: false }],
|
405
404
|
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
406
405
|
},
|
407
|
-
] as const
|
406
|
+
] as const;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { level } from "../_strings.js";
|
2
2
|
|
3
|
-
const {
|
3
|
+
const { OFF } = level;
|
4
4
|
|
5
5
|
export default [
|
6
6
|
"disable-compiler",
|
@@ -20,4 +20,4 @@ export default [
|
|
20
20
|
"consistent-return": OFF,
|
21
21
|
"no-redeclare": OFF,
|
22
22
|
},
|
23
|
-
] as const
|
23
|
+
] as const;
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { id, level } from "../_strings.js";
|
2
2
|
|
3
|
-
const
|
3
|
+
const
|
4
|
+
{ disable_x } = id,
|
5
|
+
{ OFF } = level;
|
4
6
|
|
5
7
|
export default [
|
6
|
-
|
8
|
+
disable_x,
|
7
9
|
{
|
8
10
|
// https://typescript-eslint.io/rules/?=extension-xdeprecated#rules ]
|
9
11
|
"class-methods-use-this": OFF,
|
@@ -31,4 +33,4 @@ export default [
|
|
31
33
|
"prefer-promise-reject-errors": OFF,
|
32
34
|
"require-await": OFF,
|
33
35
|
},
|
34
|
-
] as const
|
36
|
+
] as const;
|
@@ -1,9 +1,12 @@
|
|
1
|
-
import {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
2
|
|
3
|
-
const
|
3
|
+
const
|
4
|
+
{ enable_x } = id,
|
5
|
+
{ ERROR, OFF } = level,
|
6
|
+
{ Always, All } = state;
|
4
7
|
|
5
8
|
export default [
|
6
|
-
|
9
|
+
enable_x,
|
7
10
|
{
|
8
11
|
|
9
12
|
// https://typescript-eslint.io/rules/?=extension-xdeprecated#rules ]
|
@@ -23,7 +26,7 @@ export default [
|
|
23
26
|
],
|
24
27
|
"@typescript-eslint/init-declarations": [
|
25
28
|
ERROR,
|
26
|
-
|
29
|
+
Always,
|
27
30
|
],
|
28
31
|
"@typescript-eslint/max-params": OFF /* preference */,
|
29
32
|
"@typescript-eslint/no-array-constructor": ERROR,
|
@@ -58,9 +61,9 @@ export default [
|
|
58
61
|
"@typescript-eslint/no-unused-vars": [
|
59
62
|
ERROR,
|
60
63
|
{
|
61
|
-
vars:
|
62
|
-
args:
|
63
|
-
caughtErrors:
|
64
|
+
vars: All,
|
65
|
+
args: All,
|
66
|
+
caughtErrors: All,
|
64
67
|
ignoreRestSiblings: false,
|
65
68
|
ignoreClassWithStaticInitBlock: false,
|
66
69
|
reportUsedIgnorePattern: true,
|
@@ -84,4 +87,4 @@ export default [
|
|
84
87
|
"@typescript-eslint/prefer-promise-reject-errors": [ERROR, { allowEmptyReject: false }],
|
85
88
|
"@typescript-eslint/require-await": ERROR,
|
86
89
|
},
|
87
|
-
] as const
|
90
|
+
] as const;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
|
3
|
+
const
|
4
|
+
{ enable } = id,
|
5
|
+
{ ERROR, OFF } = level,
|
6
|
+
{ Never, Always, Double } = state;
|
7
|
+
|
8
|
+
export default [
|
9
|
+
enable,
|
10
|
+
{
|
11
|
+
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
12
|
+
"yml/block-mapping-colon-indicator-newline": [ERROR, Never],
|
13
|
+
"yml/block-mapping-question-indicator-newline": [ERROR, Never],
|
14
|
+
"yml/block-mapping": [ERROR, { singleline: Never, multiline: Always }],
|
15
|
+
"yml/block-sequence-hyphen-indicator-newline": [ERROR, Never, { nestedHyphen: Always, blockMapping: Never }],
|
16
|
+
"yml/block-sequence": [ERROR, { singleline: Always, multiline: Always }],
|
17
|
+
"yml/file-extension": OFF,
|
18
|
+
"yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
|
19
|
+
"yml/key-name-casing": OFF,
|
20
|
+
"yml/no-empty-document": ERROR,
|
21
|
+
"yml/no-empty-key": ERROR,
|
22
|
+
"yml/no-empty-mapping-value": ERROR,
|
23
|
+
"yml/no-empty-sequence-entry": ERROR,
|
24
|
+
"yml/no-tab-indent": ERROR,
|
25
|
+
"yml/no-trailing-zeros": ERROR,
|
26
|
+
"yml/plain-scalar": [ERROR, Always],
|
27
|
+
"yml/quotes": [ERROR, { prefer: Double, avoidEscape: true }],
|
28
|
+
"yml/require-string-key": ERROR,
|
29
|
+
"yml/sort-keys": OFF,
|
30
|
+
"yml/sort-sequence-values": OFF,
|
31
|
+
"yml/vue-custom-block/no-parsing-error": ERROR,
|
32
|
+
},
|
33
|
+
] as const;
|
@@ -1,18 +1,21 @@
|
|
1
|
-
import {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
2
|
|
3
|
-
const
|
3
|
+
const
|
4
|
+
{ enable_x } = id,
|
5
|
+
{ ERROR } = level,
|
6
|
+
{ Never, Always, Strict } = state;
|
4
7
|
|
5
8
|
export default [
|
6
|
-
|
9
|
+
enable_x,
|
7
10
|
{
|
8
11
|
// https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
9
12
|
"yml/flow-mapping-curly-newline": [ERROR, { consistent: false, multiline: true, minProperties: 2 }],
|
10
|
-
"yml/flow-mapping-curly-spacing": [ERROR,
|
13
|
+
"yml/flow-mapping-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
|
11
14
|
"yml/flow-sequence-bracket-newline": [ERROR, { multiline: true, minItems: null }],
|
12
|
-
"yml/flow-sequence-bracket-spacing": [ERROR,
|
13
|
-
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode:
|
15
|
+
"yml/flow-sequence-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
16
|
+
"yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
|
14
17
|
"yml/no-irregular-whitespace": [ERROR, { skipQuotedScalars: true, skipComments: false }],
|
15
18
|
"yml/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
|
16
|
-
"yml/spaced-comment": [ERROR,
|
19
|
+
"yml/spaced-comment": [ERROR, Always],
|
17
20
|
},
|
18
|
-
] as const
|
21
|
+
] as const;
|
package/src/rules.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { Core } from "@eslinted/core";
|
2
|
+
import js from "./rules/_js.js";
|
3
|
+
import ts from "./rules/_ts.js";
|
4
|
+
import svelte from "./rules/_svelte.js";
|
5
|
+
import mocha from "./rules/_mocha.js";
|
6
|
+
import html from "./rules/_html.js";
|
7
|
+
import json from "./rules/_json.js";
|
8
|
+
import jsonc from "./rules/_jsonc.js";
|
9
|
+
import yml from "./rules/_yml.js";
|
10
|
+
import md from "./rules/_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;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/html/index.ts"],"names":[],"mappings":";AAAA,wBAA0C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/html/index.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/js/index.ts"],"names":[],"mappings":";AAAA,wBAA2C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/js/index.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gBAAgB,CAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/json/index.ts"],"names":[],"mappings":";AAAA,wBAAsC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/json/index.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,WAAW,CAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/jsonc/index.ts"],"names":[],"mappings":";AAAA,wBAGW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/jsonc/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;CACV,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/md/index.ts"],"names":[],"mappings":";AAAA,wBAA2B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/md/index.ts"],"names":[],"mappings":"AAAA,eAAe,EAAW,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/mocha/index.ts"],"names":[],"mappings":";AAAA,wBAA2B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/mocha/index.ts"],"names":[],"mappings":"AAAA,eAAe,EAAW,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/svelte/index.ts"],"names":[],"mappings":";AAAA,wBAA4C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/svelte/index.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,iBAAiB,CAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/ts/index.ts"],"names":[],"mappings":";AAAA,wBAIW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/ts/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gBAAgB;IAChB,aAAa;IACb,iBAAiB;CACT,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/files/yml/index.ts"],"names":[],"mappings":";AAAA,wBAIW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/base/files/yml/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,UAAU;IACV,WAAW;IACX,yBAAyB;CACjB,CAAC"}
|
package/dist/base/files.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/base/files.ts"],"names":[],"mappings":";;;;;;;;;;;AAWA,wBAU2C"}
|
package/dist/base/files.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import js from "./files/js/index.js";
|
2
|
-
import ts from "./files/ts/index.js";
|
3
|
-
import svelte from "./files/svelte/index.js";
|
4
|
-
import mocha from "./files/mocha/index.js";
|
5
|
-
import html from "./files/html/index.js";
|
6
|
-
import json from "./files/json/index.js";
|
7
|
-
import jsonc from "./files/jsonc/index.js";
|
8
|
-
import yml from "./files/yml/index.js";
|
9
|
-
import md from "./files/md/index.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=files.js.map
|
package/dist/base/files.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/base/files.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACrC,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACrC,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,GAAG,MAAM,sBAAsB,CAAC;AACvC,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACsC,CAAC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
declare const _default: readonly [readonly ["recommended", Readonly<Record<string, import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/index.js").RuleLevel | readonly [import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/index.js").RuleLevel, ...unknown[]]>>], 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
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Html.d.ts","sourceRoot":"","sources":["../../../../src/base/rules/presets/Html.ts"],"names":[],"mappings":";;;;;;AAIA,wBAA6E"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Html.js","sourceRoot":"","sources":["../../../../src/base/rules/presets/Html.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAyC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Js.js","sourceRoot":"","sources":["../../../../src/base/rules/presets/Js.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe,CAAC,eAAe,EAAE,MAAM,CAAyC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/base/rules/presets/Json.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAAyE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Json.js","sourceRoot":"","sources":["../../../../src/base/rules/presets/Json.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAyC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Jsonc.d.ts","sourceRoot":"","sources":["../../../../src/base/rules/presets/Jsonc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAA+E"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Jsonc.js","sourceRoot":"","sources":["../../../../src/base/rules/presets/Jsonc.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,eAAe,CAAC,GAAG,IAAI,EAAE,YAAY,CAAyC,CAAC"}
|