linted 16.12.1 → 16.12.2-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{base/files/html/index.d.ts → files/html.d.ts} +1 -1
- package/dist/files/html.d.ts.map +1 -0
- package/dist/{base/files/html/index.js → files/html.js} +1 -1
- package/dist/files/html.js.map +1 -0
- package/dist/{base/files/js/index.d.ts → files/js.d.ts} +1 -1
- package/dist/files/js.d.ts.map +1 -0
- package/dist/{base/files/js/index.js → files/js.js} +1 -1
- package/dist/files/js.js.map +1 -0
- package/dist/{base/files/json/index.d.ts → files/json.d.ts} +1 -1
- package/dist/files/json.d.ts.map +1 -0
- package/dist/files/json.js +2 -0
- package/dist/files/json.js.map +1 -0
- package/dist/{base/files/jsonc/index.d.ts → files/jsonc.d.ts} +1 -1
- package/dist/files/jsonc.d.ts.map +1 -0
- package/dist/{base/files/jsonc/index.js → files/jsonc.js} +1 -1
- package/dist/files/jsonc.js.map +1 -0
- package/dist/{base/files/mocha/index.d.ts → files/md.d.ts} +1 -1
- package/dist/files/md.d.ts.map +1 -0
- package/dist/files/md.js +2 -0
- package/dist/files/md.js.map +1 -0
- package/dist/{base/files/md/index.d.ts → files/mocha.d.ts} +1 -1
- package/dist/files/mocha.d.ts.map +1 -0
- package/dist/files/mocha.js +2 -0
- package/dist/files/mocha.js.map +1 -0
- package/dist/{base/files/svelte/index.d.ts → files/svelte.d.ts} +1 -1
- package/dist/files/svelte.d.ts.map +1 -0
- package/dist/{base/files/svelte/index.js → files/svelte.js} +1 -1
- package/dist/files/svelte.js.map +1 -0
- package/dist/{base/files/ts/index.d.ts → files/ts.d.ts} +1 -1
- package/dist/files/ts.d.ts.map +1 -0
- package/dist/{base/files/ts/index.js → files/ts.js} +1 -1
- package/dist/files/ts.js.map +1 -0
- package/dist/{base/files/yml/index.d.ts → files/yml.d.ts} +1 -1
- package/dist/files/yml.d.ts.map +1 -0
- package/dist/{base/files/yml/index.js → files/yml.js} +1 -1
- package/dist/files/yml.js.map +1 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +21 -0
- package/dist/files.js.map +1 -0
- package/dist/imports/parsers.d.ts.map +1 -0
- package/dist/imports/parsers.js.map +1 -0
- package/dist/imports/plugins.d.ts.map +1 -0
- package/dist/imports/plugins.js.map +1 -0
- package/dist/imports.d.ts +647 -0
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/rules/_strings/id.d.ts +3 -0
- package/dist/rules/_strings/id.d.ts.map +1 -0
- package/dist/rules/_strings/id.js +3 -0
- package/dist/rules/_strings/id.js.map +1 -0
- package/dist/{base/rules/strings/level/index.d.ts → rules/_strings/level.d.ts} +1 -1
- package/dist/rules/_strings/level.d.ts.map +1 -0
- package/dist/{base/rules/strings/level/index.js → rules/_strings/level.js} +1 -1
- package/dist/rules/_strings/level.js.map +1 -0
- package/dist/rules/_strings/state.d.ts +3 -0
- package/dist/rules/_strings/state.d.ts.map +1 -0
- package/dist/rules/_strings/state.js +3 -0
- package/dist/rules/_strings/state.js.map +1 -0
- package/dist/rules/_strings.d.ts +7 -0
- package/dist/rules/_strings.d.ts.map +1 -0
- package/dist/rules/_strings.js +7 -0
- package/dist/rules/_strings.js.map +1 -0
- package/dist/{base/rules/presets/html/Enable.d.ts → rules/html/enable.d.ts} +1 -1
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/enable.js +15 -0
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/enable_recommended.d.ts +3 -0
- package/dist/rules/html/enable_recommended.d.ts.map +1 -0
- package/dist/rules/html/enable_recommended.js +8 -0
- package/dist/rules/html/enable_recommended.js.map +1 -0
- package/dist/rules/html.d.ts +8 -0
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +4 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/{base/rules/presets/js/Enable.d.ts → rules/js/enable.d.ts} +1 -1
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts.map → rules/js/enable.d.ts.map} +1 -1
- package/dist/rules/js/enable.js +496 -0
- package/dist/rules/js/enable.js.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts → rules/js/enable_stylistic.d.ts} +25 -25
- package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
- package/dist/rules/js/enable_stylistic.js +585 -0
- package/dist/rules/js/enable_stylistic.js.map +1 -0
- package/dist/{base/rules/presets/Js.d.ts → rules/js.d.ts} +25 -25
- package/dist/{base/rules/presets/Js.d.ts.map → rules/js.d.ts.map} +1 -1
- package/dist/rules/js.js +4 -0
- package/dist/rules/js.js.map +1 -0
- package/dist/{base/rules/presets/json/Enable.d.ts → rules/json/enable.d.ts} +1 -1
- package/dist/rules/json/enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/json/Enable.js → rules/json/enable.js} +4 -4
- package/dist/rules/json/enable.js.map +1 -0
- package/dist/{base/rules/presets/json/EnableX.d.ts → rules/json/enable_x.d.ts} +1 -1
- package/dist/rules/json/enable_x.d.ts.map +1 -0
- package/dist/rules/json/enable_x.js +78 -0
- package/dist/rules/json/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Json.d.ts → rules/json.d.ts} +1 -1
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/json.js +4 -0
- package/dist/rules/json.js.map +1 -0
- package/dist/{base/rules/presets/jsonc/OverrideJson.d.ts → rules/jsonc/override.d.ts} +1 -1
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +13 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/{base/rules/presets/Jsonc.d.ts → rules/jsonc.d.ts} +1 -1
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +4 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/md/enable.d.ts +7 -0
- package/dist/rules/md/enable.d.ts.map +1 -0
- package/dist/rules/md/enable.js +14 -0
- package/dist/rules/md/enable.js.map +1 -0
- package/dist/rules/md.d.ts +7 -0
- package/dist/rules/md.d.ts.map +1 -0
- package/dist/rules/md.js +3 -0
- package/dist/rules/md.js.map +1 -0
- package/dist/{base/rules/presets/mocha/Enable.d.ts → rules/mocha/enable.d.ts} +1 -1
- package/dist/rules/mocha/enable.d.ts.map +1 -0
- package/dist/rules/mocha/enable.js +3 -0
- package/dist/rules/mocha/enable.js.map +1 -0
- package/dist/rules/mocha/enable_recommended.d.ts +3 -0
- package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/enable_recommended.js +8 -0
- package/dist/rules/mocha/enable_recommended.js.map +1 -0
- package/dist/rules/mocha.d.ts +8 -0
- package/dist/rules/mocha.d.ts.map +1 -0
- package/dist/rules/mocha.js +4 -0
- package/dist/rules/mocha.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +5 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -0
- package/dist/rules/svelte/disable.js +8 -0
- package/dist/rules/svelte/disable.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableJS.d.ts → rules/svelte/disable_js.d.ts} +1 -1
- package/dist/rules/svelte/disable_js.d.ts.map +1 -0
- package/dist/rules/svelte/disable_js.js +9 -0
- package/dist/rules/svelte/disable_js.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableTS.d.ts → rules/svelte/disable_ts.d.ts} +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -0
- package/dist/rules/svelte/disable_ts.js +9 -0
- package/dist/rules/svelte/disable_ts.js.map +1 -0
- package/dist/{base/rules/presets/svelte/Enable.d.ts → rules/svelte/enable.d.ts} +1 -1
- package/dist/rules/svelte/enable.d.ts.map +1 -0
- package/dist/rules/svelte/enable.js +190 -0
- package/dist/rules/svelte/enable.js.map +1 -0
- package/dist/{base/rules/presets/svelte/EnableX.d.ts → rules/svelte/enable_x.d.ts} +1 -1
- package/dist/rules/svelte/enable_x.d.ts.map +1 -0
- package/dist/rules/svelte/enable_x.js +16 -0
- package/dist/rules/svelte/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Svelte.d.ts → rules/svelte.d.ts} +27 -27
- package/dist/{base/rules/presets/Svelte.d.ts.map → rules/svelte.d.ts.map} +1 -1
- package/dist/rules/svelte.js +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.d.ts → rules/ts/disable.d.ts} +2 -2
- package/dist/rules/ts/disable.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.js → rules/ts/disable.js} +3 -4
- package/dist/rules/ts/disable.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.d.ts → rules/ts/disable_x.d.ts} +1 -1
- package/dist/rules/ts/disable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.js → rules/ts/disable_x.js} +3 -4
- package/dist/rules/ts/disable_x.js.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.d.ts → rules/ts/enable.d.ts} +1 -1
- package/dist/rules/ts/enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.js → rules/ts/enable.js} +181 -37
- package/dist/rules/ts/enable.js.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.d.ts → rules/ts/enable_x.d.ts} +1 -1
- package/dist/rules/ts/enable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.js → rules/ts/enable_x.js} +38 -11
- package/dist/rules/ts/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Ts.d.ts → rules/ts.d.ts} +26 -26
- package/dist/{base/rules/presets/Ts.d.ts.map → rules/ts.d.ts.map} +1 -1
- package/dist/rules/ts.js +13 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/{base/rules/presets/yml/Enable.d.ts → rules/yml/enable.d.ts} +1 -1
- package/dist/rules/yml/enable.d.ts.map +1 -0
- package/dist/rules/yml/enable.js +60 -0
- package/dist/rules/yml/enable.js.map +1 -0
- package/dist/{base/rules/presets/yml/EnableX.d.ts → rules/yml/enable_x.d.ts} +1 -1
- package/dist/rules/yml/enable_x.d.ts.map +1 -0
- package/dist/rules/yml/enable_x.js +64 -0
- package/dist/rules/yml/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/Yml.d.ts → rules/yml.d.ts} +1 -1
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +4 -0
- package/dist/rules/yml.js.map +1 -0
- package/dist/{base/rules.d.ts → rules.d.ts} +77 -108
- package/dist/{base/rules.d.ts.map → rules.d.ts.map} +1 -1
- package/dist/rules.js +21 -0
- package/dist/rules.js.map +1 -0
- package/package.json +2 -2
- package/src/files.ts +22 -0
- package/src/{import → imports}/parsers.ts +1 -2
- package/src/{import → imports}/plugins.ts +1 -2
- package/src/imports.ts +8 -0
- package/src/index.ts +8 -8
- package/src/rules/_strings/id.ts +18 -0
- package/src/{base/rules/strings/level/index.ts → rules/_strings/level.ts} +2 -1
- package/src/rules/_strings/state.ts +56 -0
- package/src/rules/_strings.ts +6 -0
- package/src/rules/html/enable.ts +16 -0
- package/src/rules/html/enable_recommended.ts +9 -0
- package/src/rules/html.ts +4 -0
- package/src/rules/js/enable.ts +524 -0
- package/src/rules/js/enable_stylistic.ts +608 -0
- package/src/rules/js.ts +4 -0
- package/src/{base/rules/presets/json/Enable.ts → rules/json/enable.ts} +5 -5
- package/src/rules/json/enable_x.ts +89 -0
- package/src/rules/json.ts +4 -0
- package/src/rules/jsonc/override.ts +16 -0
- package/src/rules/jsonc.ts +4 -0
- package/src/rules/md/enable.ts +15 -0
- package/src/rules/md.ts +3 -0
- package/src/rules/mocha/enable.ts +3 -0
- package/src/rules/mocha/enable_recommended.ts +9 -0
- package/src/rules/mocha.ts +4 -0
- package/src/rules/svelte/disable.ts +9 -0
- package/src/rules/svelte/disable_js.ts +11 -0
- package/src/rules/svelte/disable_ts.ts +9 -0
- package/src/{base/rules/presets/svelte/Enable.ts → rules/svelte/enable.ts} +138 -40
- package/src/rules/svelte/enable_x.ts +20 -0
- package/src/rules/svelte.ts +15 -0
- package/src/{base/rules/presets/ts/DisableCompiler.ts → rules/ts/disable.ts} +4 -5
- package/src/{base/rules/presets/ts/DisableX.ts → rules/ts/disable_x.ts} +4 -6
- package/src/{base/rules/presets/ts/Enable.ts → rules/ts/enable.ts} +188 -46
- package/src/{base/rules/presets/ts/EnableX.ts → rules/ts/enable_x.ts} +46 -18
- package/src/rules/ts.ts +13 -0
- package/src/rules/yml/enable.ts +64 -0
- package/src/rules/yml/enable_x.ts +68 -0
- package/src/rules/yml.ts +4 -0
- package/src/rules.ts +22 -0
- package/dist/base/files/html/index.d.ts.map +0 -1
- package/dist/base/files/html/index.js.map +0 -1
- package/dist/base/files/js/index.d.ts.map +0 -1
- package/dist/base/files/js/index.js.map +0 -1
- package/dist/base/files/json/index.d.ts.map +0 -1
- package/dist/base/files/json/index.js +0 -2
- package/dist/base/files/json/index.js.map +0 -1
- package/dist/base/files/jsonc/index.d.ts.map +0 -1
- package/dist/base/files/jsonc/index.js.map +0 -1
- package/dist/base/files/md/index.d.ts.map +0 -1
- package/dist/base/files/md/index.js +0 -2
- package/dist/base/files/md/index.js.map +0 -1
- package/dist/base/files/mocha/index.d.ts.map +0 -1
- package/dist/base/files/mocha/index.js +0 -2
- package/dist/base/files/mocha/index.js.map +0 -1
- package/dist/base/files/svelte/index.d.ts.map +0 -1
- package/dist/base/files/svelte/index.js.map +0 -1
- package/dist/base/files/ts/index.d.ts.map +0 -1
- package/dist/base/files/ts/index.js.map +0 -1
- package/dist/base/files/yml/index.d.ts.map +0 -1
- package/dist/base/files/yml/index.js.map +0 -1
- package/dist/base/files.d.ts.map +0 -1
- package/dist/base/files.js +0 -21
- package/dist/base/files.js.map +0 -1
- package/dist/base/rules/presets/Html.d.ts +0 -8
- package/dist/base/rules/presets/Html.d.ts.map +0 -1
- package/dist/base/rules/presets/Html.js +0 -4
- package/dist/base/rules/presets/Html.js.map +0 -1
- package/dist/base/rules/presets/Js.js +0 -4
- package/dist/base/rules/presets/Js.js.map +0 -1
- package/dist/base/rules/presets/Json.d.ts.map +0 -1
- package/dist/base/rules/presets/Json.js +0 -4
- package/dist/base/rules/presets/Json.js.map +0 -1
- package/dist/base/rules/presets/Jsonc.d.ts.map +0 -1
- package/dist/base/rules/presets/Jsonc.js +0 -4
- package/dist/base/rules/presets/Jsonc.js.map +0 -1
- package/dist/base/rules/presets/Md.d.ts +0 -38
- package/dist/base/rules/presets/Md.d.ts.map +0 -1
- package/dist/base/rules/presets/Md.js +0 -3
- package/dist/base/rules/presets/Md.js.map +0 -1
- package/dist/base/rules/presets/Mocha.d.ts +0 -8
- package/dist/base/rules/presets/Mocha.d.ts.map +0 -1
- package/dist/base/rules/presets/Mocha.js +0 -4
- package/dist/base/rules/presets/Mocha.js.map +0 -1
- package/dist/base/rules/presets/Svelte.js +0 -15
- package/dist/base/rules/presets/Svelte.js.map +0 -1
- package/dist/base/rules/presets/Ts.js +0 -13
- package/dist/base/rules/presets/Ts.js.map +0 -1
- package/dist/base/rules/presets/Yml.d.ts.map +0 -1
- package/dist/base/rules/presets/Yml.js +0 -4
- package/dist/base/rules/presets/Yml.js.map +0 -1
- package/dist/base/rules/presets/html/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Enable.js +0 -10
- package/dist/base/rules/presets/html/Enable.js.map +0 -1
- package/dist/base/rules/presets/html/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/html/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Recommended.js +0 -5
- package/dist/base/rules/presets/html/Recommended.js.map +0 -1
- package/dist/base/rules/presets/index.d.ts +0 -8
- package/dist/base/rules/presets/index.d.ts.map +0 -1
- package/dist/base/rules/presets/index.js +0 -2
- package/dist/base/rules/presets/index.js.map +0 -1
- package/dist/base/rules/presets/js/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/js/Enable.js +0 -260
- package/dist/base/rules/presets/js/Enable.js.map +0 -1
- package/dist/base/rules/presets/js/EnableStylistic.js +0 -270
- package/dist/base/rules/presets/js/EnableStylistic.js.map +0 -1
- package/dist/base/rules/presets/json/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/json/Enable.js.map +0 -1
- package/dist/base/rules/presets/json/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/json/EnableX.js +0 -38
- package/dist/base/rules/presets/json/EnableX.js.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.d.ts.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.js +0 -4
- package/dist/base/rules/presets/jsonc/OverrideJson.js.map +0 -1
- package/dist/base/rules/presets/md/Enable.d.ts +0 -38
- package/dist/base/rules/presets/md/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/md/Enable.js +0 -20
- package/dist/base/rules/presets/md/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.js +0 -4
- package/dist/base/rules/presets/mocha/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/mocha/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.js +0 -5
- package/dist/base/rules/presets/mocha/Recommended.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableJS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableTS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.d.ts +0 -5
- package/dist/base/rules/presets/svelte/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.js +0 -4
- package/dist/base/rules/presets/svelte/DisableX.js.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.js +0 -90
- package/dist/base/rules/presets/svelte/Enable.js.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.js +0 -4
- package/dist/base/rules/presets/svelte/EnableX.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.js.map +0 -1
- package/dist/base/rules/presets/ts/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/Enable.js.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.js.map +0 -1
- package/dist/base/rules/presets/yml/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/Enable.js +0 -28
- package/dist/base/rules/presets/yml/Enable.js.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.js +0 -16
- package/dist/base/rules/presets/yml/EnableX.js.map +0 -1
- package/dist/base/rules/strings/id/index.d.ts +0 -3
- package/dist/base/rules/strings/id/index.d.ts.map +0 -1
- package/dist/base/rules/strings/id/index.js +0 -3
- package/dist/base/rules/strings/id/index.js.map +0 -1
- package/dist/base/rules/strings/index.d.ts +0 -7
- package/dist/base/rules/strings/index.d.ts.map +0 -1
- package/dist/base/rules/strings/index.js +0 -7
- package/dist/base/rules/strings/index.js.map +0 -1
- package/dist/base/rules/strings/level/index.d.ts.map +0 -1
- package/dist/base/rules/strings/level/index.js.map +0 -1
- package/dist/base/rules/strings/state/index.d.ts +0 -3
- package/dist/base/rules/strings/state/index.d.ts.map +0 -1
- package/dist/base/rules/strings/state/index.js +0 -3
- package/dist/base/rules/strings/state/index.js.map +0 -1
- package/dist/base/rules.js +0 -21
- package/dist/base/rules.js.map +0 -1
- package/dist/import/parsers.d.ts.map +0 -1
- package/dist/import/parsers.js.map +0 -1
- package/dist/import/plugins.d.ts.map +0 -1
- package/dist/import/plugins.js.map +0 -1
- package/src/base/files.ts +0 -22
- package/src/base/rules/presets/Html.ts +0 -5
- package/src/base/rules/presets/Js.ts +0 -5
- package/src/base/rules/presets/Json.ts +0 -5
- package/src/base/rules/presets/Jsonc.ts +0 -5
- package/src/base/rules/presets/Md.ts +0 -4
- package/src/base/rules/presets/Mocha.ts +0 -5
- package/src/base/rules/presets/Svelte.ts +0 -16
- package/src/base/rules/presets/Ts.ts +0 -14
- package/src/base/rules/presets/Yml.ts +0 -5
- package/src/base/rules/presets/html/Enable.ts +0 -11
- package/src/base/rules/presets/html/Recommended.ts +0 -7
- package/src/base/rules/presets/index.ts +0 -10
- package/src/base/rules/presets/js/Enable.ts +0 -288
- package/src/base/rules/presets/js/EnableStylistic.ts +0 -295
- package/src/base/rules/presets/json/EnableX.ts +0 -51
- package/src/base/rules/presets/jsonc/OverrideJson.ts +0 -6
- package/src/base/rules/presets/md/Enable.ts +0 -23
- package/src/base/rules/presets/mocha/Enable.ts +0 -5
- package/src/base/rules/presets/mocha/Recommended.ts +0 -7
- package/src/base/rules/presets/svelte/DisableJS.ts +0 -7
- package/src/base/rules/presets/svelte/DisableTS.ts +0 -5
- package/src/base/rules/presets/svelte/DisableX.ts +0 -6
- package/src/base/rules/presets/svelte/EnableX.ts +0 -6
- package/src/base/rules/presets/yml/Enable.ts +0 -30
- package/src/base/rules/presets/yml/EnableX.ts +0 -18
- package/src/base/rules/strings/id/index.ts +0 -17
- package/src/base/rules/strings/index.ts +0 -6
- package/src/base/rules/strings/state/index.ts +0 -55
- package/src/base/rules.ts +0 -22
- /package/dist/{base/files.d.ts → files.d.ts} +0 -0
- /package/dist/{import → imports}/parsers.d.ts +0 -0
- /package/dist/{import → imports}/parsers.js +0 -0
- /package/dist/{import → imports}/plugins.d.ts +0 -0
- /package/dist/{import → imports}/plugins.js +0 -0
- /package/src/{base/files/html/index.ts → files/html.ts} +0 -0
- /package/src/{base/files/js/index.ts → files/js.ts} +0 -0
- /package/src/{base/files/json/index.ts → files/json.ts} +0 -0
- /package/src/{base/files/jsonc/index.ts → files/jsonc.ts} +0 -0
- /package/src/{base/files/md/index.ts → files/md.ts} +0 -0
- /package/src/{base/files/mocha/index.ts → files/mocha.ts} +0 -0
- /package/src/{base/files/svelte/index.ts → files/svelte.ts} +0 -0
- /package/src/{base/files/ts/index.ts → files/ts.ts} +0 -0
- /package/src/{base/files/yml/index.ts → files/yml.ts} +0 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
import { enable, level, state } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level, { Never, Always, Double } = state;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"yml/block-mapping-colon-indicator-newline": [ERROR, Never],
|
7
|
+
"yml/block-mapping-question-indicator-newline": [ERROR, Never],
|
8
|
+
"yml/block-mapping": [
|
9
|
+
ERROR,
|
10
|
+
{
|
11
|
+
singleline: Never,
|
12
|
+
multiline: Always,
|
13
|
+
},
|
14
|
+
],
|
15
|
+
"yml/block-sequence-hyphen-indicator-newline": [
|
16
|
+
ERROR,
|
17
|
+
Never,
|
18
|
+
{
|
19
|
+
nestedHyphen: Always,
|
20
|
+
blockMapping: Never,
|
21
|
+
},
|
22
|
+
],
|
23
|
+
"yml/block-sequence": [
|
24
|
+
ERROR,
|
25
|
+
{
|
26
|
+
singleline: Always,
|
27
|
+
multiline: Always,
|
28
|
+
},
|
29
|
+
],
|
30
|
+
"yml/file-extension": OFF,
|
31
|
+
"yml/indent": [
|
32
|
+
ERROR,
|
33
|
+
2,
|
34
|
+
{
|
35
|
+
indentBlockSequences: true,
|
36
|
+
indicatorValueIndent: 2,
|
37
|
+
},
|
38
|
+
],
|
39
|
+
"yml/key-name-casing": OFF,
|
40
|
+
"yml/no-empty-document": ERROR,
|
41
|
+
"yml/no-empty-key": ERROR,
|
42
|
+
"yml/no-empty-mapping-value": ERROR,
|
43
|
+
"yml/no-empty-sequence-entry": ERROR,
|
44
|
+
"yml/no-tab-indent": ERROR,
|
45
|
+
"yml/no-trailing-zeros": ERROR,
|
46
|
+
"yml/plain-scalar": [ERROR, Always],
|
47
|
+
"yml/quotes": [
|
48
|
+
ERROR,
|
49
|
+
{
|
50
|
+
prefer: Double,
|
51
|
+
avoidEscape: true,
|
52
|
+
},
|
53
|
+
],
|
54
|
+
"yml/require-string-key": ERROR,
|
55
|
+
"yml/sort-keys": OFF,
|
56
|
+
"yml/sort-sequence-values": OFF,
|
57
|
+
"yml/vue-custom-block/no-parsing-error": ERROR,
|
58
|
+
},
|
59
|
+
];
|
60
|
+
//# 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,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MACA,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;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,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;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA6DW"}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { enable_x, level, state } from "../_strings.js";
|
2
|
+
const { ERROR } = level, { Never, Always, Strict } = state;
|
3
|
+
export default [
|
4
|
+
enable_x,
|
5
|
+
{
|
6
|
+
"yml/flow-mapping-curly-newline": [
|
7
|
+
ERROR,
|
8
|
+
{
|
9
|
+
consistent: false,
|
10
|
+
multiline: true,
|
11
|
+
minProperties: 2,
|
12
|
+
},
|
13
|
+
],
|
14
|
+
"yml/flow-mapping-curly-spacing": [
|
15
|
+
ERROR,
|
16
|
+
Always,
|
17
|
+
{
|
18
|
+
arraysInObjects: true,
|
19
|
+
objectsInObjects: true,
|
20
|
+
},
|
21
|
+
],
|
22
|
+
"yml/flow-sequence-bracket-newline": [
|
23
|
+
ERROR,
|
24
|
+
{
|
25
|
+
multiline: true,
|
26
|
+
minItems: null,
|
27
|
+
},
|
28
|
+
],
|
29
|
+
"yml/flow-sequence-bracket-spacing": [
|
30
|
+
ERROR,
|
31
|
+
Never,
|
32
|
+
{
|
33
|
+
singleValue: false,
|
34
|
+
objectsInArrays: false,
|
35
|
+
arraysInArrays: false,
|
36
|
+
},
|
37
|
+
],
|
38
|
+
"yml/key-spacing": [
|
39
|
+
ERROR,
|
40
|
+
{
|
41
|
+
beforeColon: false,
|
42
|
+
afterColon: true,
|
43
|
+
mode: Strict,
|
44
|
+
},
|
45
|
+
],
|
46
|
+
"yml/no-irregular-whitespace": [
|
47
|
+
ERROR,
|
48
|
+
{
|
49
|
+
skipQuotedScalars: true,
|
50
|
+
skipComments: false,
|
51
|
+
},
|
52
|
+
],
|
53
|
+
"yml/no-multiple-empty-lines": [
|
54
|
+
ERROR,
|
55
|
+
{
|
56
|
+
max: 1,
|
57
|
+
maxEOF: 1,
|
58
|
+
maxBOF: 0,
|
59
|
+
},
|
60
|
+
],
|
61
|
+
"yml/spaced-comment": [ERROR, Always],
|
62
|
+
},
|
63
|
+
];
|
64
|
+
//# 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,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MACA,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;AAElC,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;KACtC;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/rules/yml.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAA0C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/rules/yml.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAU,CAAC"}
|
@@ -134,17 +134,17 @@ declare const _default: {
|
|
134
134
|
}];
|
135
135
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
136
136
|
readonly enforce: readonly [{
|
137
|
-
readonly blankLine: "never";
|
138
137
|
readonly prev: "field";
|
139
138
|
readonly next: "field";
|
139
|
+
readonly blankLine: "never";
|
140
140
|
}, {
|
141
|
-
readonly blankLine: "always";
|
142
141
|
readonly prev: "field";
|
143
142
|
readonly next: "method";
|
144
|
-
}, {
|
145
143
|
readonly blankLine: "always";
|
144
|
+
}, {
|
146
145
|
readonly prev: "method";
|
147
146
|
readonly next: "*";
|
147
|
+
readonly blankLine: "always";
|
148
148
|
}];
|
149
149
|
}, {
|
150
150
|
readonly exceptAfterSingleLine: false;
|
@@ -267,89 +267,89 @@ declare const _default: {
|
|
267
267
|
readonly allowSingleLineBlocks: true;
|
268
268
|
}];
|
269
269
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
270
|
-
readonly blankLine: "always";
|
271
270
|
readonly prev: "directive";
|
272
271
|
readonly next: "*";
|
272
|
+
readonly blankLine: "always";
|
273
273
|
}, {
|
274
|
-
readonly blankLine: "never";
|
275
274
|
readonly prev: "directive";
|
276
275
|
readonly next: "directive";
|
276
|
+
readonly blankLine: "never";
|
277
277
|
}, {
|
278
|
-
readonly blankLine: "always";
|
279
278
|
readonly prev: readonly ["import", "cjs-import"];
|
280
279
|
readonly next: "*";
|
280
|
+
readonly blankLine: "always";
|
281
281
|
}, {
|
282
|
-
readonly blankLine: "never";
|
283
282
|
readonly prev: readonly ["import", "cjs-import"];
|
284
283
|
readonly next: readonly ["import", "cjs-import"];
|
284
|
+
readonly blankLine: "never";
|
285
285
|
}, {
|
286
|
-
readonly blankLine: "always";
|
287
286
|
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
288
287
|
readonly next: "*";
|
289
|
-
}, {
|
290
288
|
readonly blankLine: "always";
|
289
|
+
}, {
|
291
290
|
readonly prev: "case";
|
292
291
|
readonly next: "*";
|
293
|
-
}, {
|
294
292
|
readonly blankLine: "always";
|
293
|
+
}, {
|
295
294
|
readonly prev: "case";
|
296
295
|
readonly next: readonly ["case", "default"];
|
297
|
-
}, {
|
298
296
|
readonly blankLine: "always";
|
297
|
+
}, {
|
299
298
|
readonly prev: "default";
|
300
299
|
readonly next: "*";
|
301
|
-
}, {
|
302
300
|
readonly blankLine: "always";
|
301
|
+
}, {
|
303
302
|
readonly prev: "type";
|
304
303
|
readonly next: "*";
|
304
|
+
readonly blankLine: "always";
|
305
305
|
}, {
|
306
|
-
readonly blankLine: "never";
|
307
306
|
readonly prev: "type";
|
308
307
|
readonly next: "type";
|
308
|
+
readonly blankLine: "never";
|
309
309
|
}, {
|
310
|
-
readonly blankLine: "always";
|
311
310
|
readonly prev: "function";
|
312
311
|
readonly next: "*";
|
313
|
-
}, {
|
314
312
|
readonly blankLine: "always";
|
313
|
+
}, {
|
315
314
|
readonly prev: "function-overload";
|
316
315
|
readonly next: "*";
|
316
|
+
readonly blankLine: "always";
|
317
317
|
}, {
|
318
|
-
readonly blankLine: "never";
|
319
318
|
readonly prev: "function-overload";
|
320
319
|
readonly next: "function-overload";
|
321
|
-
}, {
|
322
320
|
readonly blankLine: "never";
|
321
|
+
}, {
|
323
322
|
readonly prev: "function-overload";
|
324
323
|
readonly next: "function";
|
324
|
+
readonly blankLine: "never";
|
325
325
|
}, {
|
326
|
-
readonly blankLine: "always";
|
327
326
|
readonly prev: readonly ["const", "let", "var"];
|
328
327
|
readonly next: "*";
|
328
|
+
readonly blankLine: "always";
|
329
329
|
}, {
|
330
|
-
readonly blankLine: "never";
|
331
330
|
readonly prev: readonly ["const", "let", "var"];
|
332
331
|
readonly next: readonly ["const", "let", "var"];
|
332
|
+
readonly blankLine: "never";
|
333
333
|
}, {
|
334
|
-
readonly blankLine: "always";
|
335
334
|
readonly prev: "expression";
|
336
335
|
readonly next: "*";
|
336
|
+
readonly blankLine: "always";
|
337
337
|
}, {
|
338
|
-
readonly blankLine: "never";
|
339
338
|
readonly prev: "expression";
|
340
339
|
readonly next: "expression";
|
340
|
+
readonly blankLine: "never";
|
341
341
|
}, {
|
342
|
-
readonly blankLine: "always";
|
343
342
|
readonly prev: "*";
|
344
343
|
readonly next: readonly ["throw", "return", "break", "continue"];
|
345
|
-
}, {
|
346
344
|
readonly blankLine: "always";
|
345
|
+
}, {
|
347
346
|
readonly prev: "*";
|
348
347
|
readonly next: readonly ["export", "cjs-export"];
|
348
|
+
readonly blankLine: "always";
|
349
349
|
}, {
|
350
|
-
readonly blankLine: "never";
|
351
350
|
readonly prev: readonly ["export", "cjs-export"];
|
352
351
|
readonly next: readonly ["export", "cjs-export"];
|
352
|
+
readonly blankLine: "never";
|
353
353
|
}];
|
354
354
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
355
355
|
readonly keywords: true;
|
@@ -897,17 +897,17 @@ declare const _default: {
|
|
897
897
|
}];
|
898
898
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
899
899
|
readonly enforce: readonly [{
|
900
|
-
readonly blankLine: "never";
|
901
900
|
readonly prev: "field";
|
902
901
|
readonly next: "field";
|
902
|
+
readonly blankLine: "never";
|
903
903
|
}, {
|
904
|
-
readonly blankLine: "always";
|
905
904
|
readonly prev: "field";
|
906
905
|
readonly next: "method";
|
907
|
-
}, {
|
908
906
|
readonly blankLine: "always";
|
907
|
+
}, {
|
909
908
|
readonly prev: "method";
|
910
909
|
readonly next: "*";
|
910
|
+
readonly blankLine: "always";
|
911
911
|
}];
|
912
912
|
}, {
|
913
913
|
readonly exceptAfterSingleLine: false;
|
@@ -1030,89 +1030,89 @@ declare const _default: {
|
|
1030
1030
|
readonly allowSingleLineBlocks: true;
|
1031
1031
|
}];
|
1032
1032
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
1033
|
-
readonly blankLine: "always";
|
1034
1033
|
readonly prev: "directive";
|
1035
1034
|
readonly next: "*";
|
1035
|
+
readonly blankLine: "always";
|
1036
1036
|
}, {
|
1037
|
-
readonly blankLine: "never";
|
1038
1037
|
readonly prev: "directive";
|
1039
1038
|
readonly next: "directive";
|
1039
|
+
readonly blankLine: "never";
|
1040
1040
|
}, {
|
1041
|
-
readonly blankLine: "always";
|
1042
1041
|
readonly prev: readonly ["import", "cjs-import"];
|
1043
1042
|
readonly next: "*";
|
1043
|
+
readonly blankLine: "always";
|
1044
1044
|
}, {
|
1045
|
-
readonly blankLine: "never";
|
1046
1045
|
readonly prev: readonly ["import", "cjs-import"];
|
1047
1046
|
readonly next: readonly ["import", "cjs-import"];
|
1047
|
+
readonly blankLine: "never";
|
1048
1048
|
}, {
|
1049
|
-
readonly blankLine: "always";
|
1050
1049
|
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
1051
1050
|
readonly next: "*";
|
1052
|
-
}, {
|
1053
1051
|
readonly blankLine: "always";
|
1052
|
+
}, {
|
1054
1053
|
readonly prev: "case";
|
1055
1054
|
readonly next: "*";
|
1056
|
-
}, {
|
1057
1055
|
readonly blankLine: "always";
|
1056
|
+
}, {
|
1058
1057
|
readonly prev: "case";
|
1059
1058
|
readonly next: readonly ["case", "default"];
|
1060
|
-
}, {
|
1061
1059
|
readonly blankLine: "always";
|
1060
|
+
}, {
|
1062
1061
|
readonly prev: "default";
|
1063
1062
|
readonly next: "*";
|
1064
|
-
}, {
|
1065
1063
|
readonly blankLine: "always";
|
1064
|
+
}, {
|
1066
1065
|
readonly prev: "type";
|
1067
1066
|
readonly next: "*";
|
1067
|
+
readonly blankLine: "always";
|
1068
1068
|
}, {
|
1069
|
-
readonly blankLine: "never";
|
1070
1069
|
readonly prev: "type";
|
1071
1070
|
readonly next: "type";
|
1071
|
+
readonly blankLine: "never";
|
1072
1072
|
}, {
|
1073
|
-
readonly blankLine: "always";
|
1074
1073
|
readonly prev: "function";
|
1075
1074
|
readonly next: "*";
|
1076
|
-
}, {
|
1077
1075
|
readonly blankLine: "always";
|
1076
|
+
}, {
|
1078
1077
|
readonly prev: "function-overload";
|
1079
1078
|
readonly next: "*";
|
1079
|
+
readonly blankLine: "always";
|
1080
1080
|
}, {
|
1081
|
-
readonly blankLine: "never";
|
1082
1081
|
readonly prev: "function-overload";
|
1083
1082
|
readonly next: "function-overload";
|
1084
|
-
}, {
|
1085
1083
|
readonly blankLine: "never";
|
1084
|
+
}, {
|
1086
1085
|
readonly prev: "function-overload";
|
1087
1086
|
readonly next: "function";
|
1087
|
+
readonly blankLine: "never";
|
1088
1088
|
}, {
|
1089
|
-
readonly blankLine: "always";
|
1090
1089
|
readonly prev: readonly ["const", "let", "var"];
|
1091
1090
|
readonly next: "*";
|
1091
|
+
readonly blankLine: "always";
|
1092
1092
|
}, {
|
1093
|
-
readonly blankLine: "never";
|
1094
1093
|
readonly prev: readonly ["const", "let", "var"];
|
1095
1094
|
readonly next: readonly ["const", "let", "var"];
|
1095
|
+
readonly blankLine: "never";
|
1096
1096
|
}, {
|
1097
|
-
readonly blankLine: "always";
|
1098
1097
|
readonly prev: "expression";
|
1099
1098
|
readonly next: "*";
|
1099
|
+
readonly blankLine: "always";
|
1100
1100
|
}, {
|
1101
|
-
readonly blankLine: "never";
|
1102
1101
|
readonly prev: "expression";
|
1103
1102
|
readonly next: "expression";
|
1103
|
+
readonly blankLine: "never";
|
1104
1104
|
}, {
|
1105
|
-
readonly blankLine: "always";
|
1106
1105
|
readonly prev: "*";
|
1107
1106
|
readonly next: readonly ["throw", "return", "break", "continue"];
|
1108
|
-
}, {
|
1109
1107
|
readonly blankLine: "always";
|
1108
|
+
}, {
|
1110
1109
|
readonly prev: "*";
|
1111
1110
|
readonly next: readonly ["export", "cjs-export"];
|
1111
|
+
readonly blankLine: "always";
|
1112
1112
|
}, {
|
1113
|
-
readonly blankLine: "never";
|
1114
1113
|
readonly prev: readonly ["export", "cjs-export"];
|
1115
1114
|
readonly next: readonly ["export", "cjs-export"];
|
1115
|
+
readonly blankLine: "never";
|
1116
1116
|
}];
|
1117
1117
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
1118
1118
|
readonly keywords: true;
|
@@ -1524,7 +1524,7 @@ declare const _default: {
|
|
1524
1524
|
readonly onlyEquality: false;
|
1525
1525
|
}];
|
1526
1526
|
readonly "unicode-bom": "off";
|
1527
|
-
}], readonly ["disable
|
1527
|
+
}], readonly ["disable", {
|
1528
1528
|
readonly "constructor-super": "off";
|
1529
1529
|
readonly "no-const-assign": "off";
|
1530
1530
|
readonly "no-dupe-args": "off";
|
@@ -2028,17 +2028,17 @@ declare const _default: {
|
|
2028
2028
|
}];
|
2029
2029
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
2030
2030
|
readonly enforce: readonly [{
|
2031
|
-
readonly blankLine: "never";
|
2032
2031
|
readonly prev: "field";
|
2033
2032
|
readonly next: "field";
|
2033
|
+
readonly blankLine: "never";
|
2034
2034
|
}, {
|
2035
|
-
readonly blankLine: "always";
|
2036
2035
|
readonly prev: "field";
|
2037
2036
|
readonly next: "method";
|
2038
|
-
}, {
|
2039
2037
|
readonly blankLine: "always";
|
2038
|
+
}, {
|
2040
2039
|
readonly prev: "method";
|
2041
2040
|
readonly next: "*";
|
2041
|
+
readonly blankLine: "always";
|
2042
2042
|
}];
|
2043
2043
|
}, {
|
2044
2044
|
readonly exceptAfterSingleLine: false;
|
@@ -2161,89 +2161,89 @@ declare const _default: {
|
|
2161
2161
|
readonly allowSingleLineBlocks: true;
|
2162
2162
|
}];
|
2163
2163
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
2164
|
-
readonly blankLine: "always";
|
2165
2164
|
readonly prev: "directive";
|
2166
2165
|
readonly next: "*";
|
2166
|
+
readonly blankLine: "always";
|
2167
2167
|
}, {
|
2168
|
-
readonly blankLine: "never";
|
2169
2168
|
readonly prev: "directive";
|
2170
2169
|
readonly next: "directive";
|
2170
|
+
readonly blankLine: "never";
|
2171
2171
|
}, {
|
2172
|
-
readonly blankLine: "always";
|
2173
2172
|
readonly prev: readonly ["import", "cjs-import"];
|
2174
2173
|
readonly next: "*";
|
2174
|
+
readonly blankLine: "always";
|
2175
2175
|
}, {
|
2176
|
-
readonly blankLine: "never";
|
2177
2176
|
readonly prev: readonly ["import", "cjs-import"];
|
2178
2177
|
readonly next: readonly ["import", "cjs-import"];
|
2178
|
+
readonly blankLine: "never";
|
2179
2179
|
}, {
|
2180
|
-
readonly blankLine: "always";
|
2181
2180
|
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
2182
2181
|
readonly next: "*";
|
2183
|
-
}, {
|
2184
2182
|
readonly blankLine: "always";
|
2183
|
+
}, {
|
2185
2184
|
readonly prev: "case";
|
2186
2185
|
readonly next: "*";
|
2187
|
-
}, {
|
2188
2186
|
readonly blankLine: "always";
|
2187
|
+
}, {
|
2189
2188
|
readonly prev: "case";
|
2190
2189
|
readonly next: readonly ["case", "default"];
|
2191
|
-
}, {
|
2192
2190
|
readonly blankLine: "always";
|
2191
|
+
}, {
|
2193
2192
|
readonly prev: "default";
|
2194
2193
|
readonly next: "*";
|
2195
|
-
}, {
|
2196
2194
|
readonly blankLine: "always";
|
2195
|
+
}, {
|
2197
2196
|
readonly prev: "type";
|
2198
2197
|
readonly next: "*";
|
2198
|
+
readonly blankLine: "always";
|
2199
2199
|
}, {
|
2200
|
-
readonly blankLine: "never";
|
2201
2200
|
readonly prev: "type";
|
2202
2201
|
readonly next: "type";
|
2202
|
+
readonly blankLine: "never";
|
2203
2203
|
}, {
|
2204
|
-
readonly blankLine: "always";
|
2205
2204
|
readonly prev: "function";
|
2206
2205
|
readonly next: "*";
|
2207
|
-
}, {
|
2208
2206
|
readonly blankLine: "always";
|
2207
|
+
}, {
|
2209
2208
|
readonly prev: "function-overload";
|
2210
2209
|
readonly next: "*";
|
2210
|
+
readonly blankLine: "always";
|
2211
2211
|
}, {
|
2212
|
-
readonly blankLine: "never";
|
2213
2212
|
readonly prev: "function-overload";
|
2214
2213
|
readonly next: "function-overload";
|
2215
|
-
}, {
|
2216
2214
|
readonly blankLine: "never";
|
2215
|
+
}, {
|
2217
2216
|
readonly prev: "function-overload";
|
2218
2217
|
readonly next: "function";
|
2218
|
+
readonly blankLine: "never";
|
2219
2219
|
}, {
|
2220
|
-
readonly blankLine: "always";
|
2221
2220
|
readonly prev: readonly ["const", "let", "var"];
|
2222
2221
|
readonly next: "*";
|
2222
|
+
readonly blankLine: "always";
|
2223
2223
|
}, {
|
2224
|
-
readonly blankLine: "never";
|
2225
2224
|
readonly prev: readonly ["const", "let", "var"];
|
2226
2225
|
readonly next: readonly ["const", "let", "var"];
|
2226
|
+
readonly blankLine: "never";
|
2227
2227
|
}, {
|
2228
|
-
readonly blankLine: "always";
|
2229
2228
|
readonly prev: "expression";
|
2230
2229
|
readonly next: "*";
|
2230
|
+
readonly blankLine: "always";
|
2231
2231
|
}, {
|
2232
|
-
readonly blankLine: "never";
|
2233
2232
|
readonly prev: "expression";
|
2234
2233
|
readonly next: "expression";
|
2234
|
+
readonly blankLine: "never";
|
2235
2235
|
}, {
|
2236
|
-
readonly blankLine: "always";
|
2237
2236
|
readonly prev: "*";
|
2238
2237
|
readonly next: readonly ["throw", "return", "break", "continue"];
|
2239
|
-
}, {
|
2240
2238
|
readonly blankLine: "always";
|
2239
|
+
}, {
|
2241
2240
|
readonly prev: "*";
|
2242
2241
|
readonly next: readonly ["export", "cjs-export"];
|
2242
|
+
readonly blankLine: "always";
|
2243
2243
|
}, {
|
2244
|
-
readonly blankLine: "never";
|
2245
2244
|
readonly prev: readonly ["export", "cjs-export"];
|
2246
2245
|
readonly next: readonly ["export", "cjs-export"];
|
2246
|
+
readonly blankLine: "never";
|
2247
2247
|
}];
|
2248
2248
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
2249
2249
|
readonly keywords: true;
|
@@ -2655,7 +2655,7 @@ declare const _default: {
|
|
2655
2655
|
readonly onlyEquality: false;
|
2656
2656
|
}];
|
2657
2657
|
readonly "unicode-bom": "off";
|
2658
|
-
}], readonly ["disable
|
2658
|
+
}], readonly ["disable", {
|
2659
2659
|
readonly "constructor-super": "off";
|
2660
2660
|
readonly "no-const-assign": "off";
|
2661
2661
|
readonly "no-dupe-args": "off";
|
@@ -3029,7 +3029,7 @@ declare const _default: {
|
|
3029
3029
|
}], readonly ["disable-ts", {
|
3030
3030
|
readonly "no-unused-vars": "off";
|
3031
3031
|
readonly "@typescript-eslint/no-unused-vars": "off";
|
3032
|
-
}], readonly ["disable
|
3032
|
+
}], readonly ["disable", {
|
3033
3033
|
readonly "no-inner-declarations": "off";
|
3034
3034
|
}], readonly ["enable-extend", {
|
3035
3035
|
readonly "svelte/no-inner-declarations": readonly ["error", "both", {
|
@@ -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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