linted 16.12.1 → 16.12.2-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{base/files/html/index.d.ts → files/html.d.ts} +1 -1
- package/dist/files/html.d.ts.map +1 -0
- package/dist/{base/files/html/index.js → files/html.js} +1 -1
- package/dist/files/html.js.map +1 -0
- package/dist/{base/files/js/index.d.ts → files/js.d.ts} +1 -1
- package/dist/files/js.d.ts.map +1 -0
- package/dist/{base/files/js/index.js → files/js.js} +1 -1
- package/dist/files/js.js.map +1 -0
- package/dist/{base/files/json/index.d.ts → files/json.d.ts} +1 -1
- package/dist/files/json.d.ts.map +1 -0
- package/dist/files/json.js +2 -0
- package/dist/files/json.js.map +1 -0
- package/dist/{base/files/jsonc/index.d.ts → files/jsonc.d.ts} +1 -1
- package/dist/files/jsonc.d.ts.map +1 -0
- package/dist/{base/files/jsonc/index.js → files/jsonc.js} +1 -1
- package/dist/files/jsonc.js.map +1 -0
- package/dist/{base/files/mocha/index.d.ts → files/md.d.ts} +1 -1
- package/dist/files/md.d.ts.map +1 -0
- package/dist/files/md.js +2 -0
- package/dist/files/md.js.map +1 -0
- package/dist/{base/files/md/index.d.ts → files/mocha.d.ts} +1 -1
- package/dist/files/mocha.d.ts.map +1 -0
- package/dist/files/mocha.js +2 -0
- package/dist/files/mocha.js.map +1 -0
- package/dist/{base/files/svelte/index.d.ts → files/svelte.d.ts} +1 -1
- package/dist/files/svelte.d.ts.map +1 -0
- package/dist/{base/files/svelte/index.js → files/svelte.js} +1 -1
- package/dist/files/svelte.js.map +1 -0
- package/dist/{base/files/ts/index.d.ts → files/ts.d.ts} +1 -1
- package/dist/files/ts.d.ts.map +1 -0
- package/dist/{base/files/ts/index.js → files/ts.js} +1 -1
- package/dist/files/ts.js.map +1 -0
- package/dist/{base/files/yml/index.d.ts → files/yml.d.ts} +1 -1
- package/dist/files/yml.d.ts.map +1 -0
- package/dist/{base/files/yml/index.js → files/yml.js} +1 -1
- package/dist/files/yml.js.map +1 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +21 -0
- package/dist/files.js.map +1 -0
- package/dist/imports/parsers.d.ts.map +1 -0
- package/dist/imports/parsers.js.map +1 -0
- package/dist/imports/plugins.d.ts.map +1 -0
- package/dist/imports/plugins.js.map +1 -0
- package/dist/imports.d.ts +647 -0
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/rules/_html.d.ts +8 -0
- package/dist/rules/_html.d.ts.map +1 -0
- package/dist/rules/_html.js +4 -0
- package/dist/rules/_html.js.map +1 -0
- package/dist/{base/rules/presets/Js.d.ts → rules/_js.d.ts} +1 -1
- package/dist/{base/rules/presets/Js.d.ts.map → rules/_js.d.ts.map} +1 -1
- package/dist/rules/_js.js +4 -0
- package/dist/rules/_js.js.map +1 -0
- package/dist/{base/rules/presets/Json.d.ts → rules/_json.d.ts} +1 -1
- package/dist/rules/_json.d.ts.map +1 -0
- package/dist/rules/_json.js +4 -0
- package/dist/rules/_json.js.map +1 -0
- package/dist/{base/rules/presets/Jsonc.d.ts → rules/_jsonc.d.ts} +1 -1
- package/dist/rules/_jsonc.d.ts.map +1 -0
- package/dist/rules/_jsonc.js +4 -0
- package/dist/rules/_jsonc.js.map +1 -0
- package/dist/rules/_md.d.ts +7 -0
- package/dist/rules/_md.d.ts.map +1 -0
- package/dist/rules/_md.js +3 -0
- package/dist/rules/_md.js.map +1 -0
- package/dist/rules/_mocha.d.ts +8 -0
- package/dist/rules/_mocha.d.ts.map +1 -0
- package/dist/rules/_mocha.js +4 -0
- package/dist/rules/_mocha.js.map +1 -0
- package/dist/rules/_strings/id.d.ts +3 -0
- package/dist/rules/_strings/id.d.ts.map +1 -0
- package/dist/rules/_strings/id.js +3 -0
- package/dist/rules/_strings/id.js.map +1 -0
- package/dist/{base/rules/strings/level/index.d.ts → rules/_strings/level.d.ts} +1 -1
- package/dist/rules/_strings/level.d.ts.map +1 -0
- package/dist/{base/rules/strings/level/index.js → rules/_strings/level.js} +1 -1
- package/dist/rules/_strings/level.js.map +1 -0
- package/dist/rules/_strings/state.d.ts +3 -0
- package/dist/rules/_strings/state.d.ts.map +1 -0
- package/dist/rules/_strings/state.js +3 -0
- package/dist/rules/_strings/state.js.map +1 -0
- package/dist/rules/_strings.d.ts +7 -0
- package/dist/rules/_strings.d.ts.map +1 -0
- package/dist/rules/_strings.js +7 -0
- package/dist/rules/_strings.js.map +1 -0
- package/dist/{base/rules/presets/Svelte.d.ts → rules/_svelte.d.ts} +1 -1
- package/dist/{base/rules/presets/Svelte.d.ts.map → rules/_svelte.d.ts.map} +1 -1
- package/dist/rules/_svelte.js +15 -0
- package/dist/rules/_svelte.js.map +1 -0
- package/dist/{base/rules/presets/Ts.d.ts → rules/_ts.d.ts} +1 -1
- package/dist/{base/rules/presets/Ts.d.ts.map → rules/_ts.d.ts.map} +1 -1
- package/dist/rules/_ts.js +13 -0
- package/dist/rules/_ts.js.map +1 -0
- package/dist/{base/rules/presets/Yml.d.ts → rules/_yml.d.ts} +1 -1
- package/dist/rules/_yml.d.ts.map +1 -0
- package/dist/rules/_yml.js +4 -0
- package/dist/rules/_yml.js.map +1 -0
- package/dist/{base/rules/presets/html/Enable.d.ts → rules/html/_enable.d.ts} +1 -1
- package/dist/rules/html/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/html/Enable.js → rules/html/_enable.js} +4 -4
- package/dist/rules/html/_enable.js.map +1 -0
- package/dist/rules/html/_recommended.d.ts +3 -0
- package/dist/rules/html/_recommended.d.ts.map +1 -0
- package/dist/rules/html/_recommended.js +5 -0
- package/dist/rules/html/_recommended.js.map +1 -0
- package/dist/{base/rules/presets/js/Enable.d.ts → rules/js/_enable.d.ts} +1 -1
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts.map → rules/js/_enable.d.ts.map} +1 -1
- package/dist/{base/rules/presets/js/Enable.js → rules/js/_enable.js} +23 -23
- package/dist/rules/js/_enable.js.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.d.ts → rules/js/stylistic.d.ts} +1 -1
- package/dist/rules/js/stylistic.d.ts.map +1 -0
- package/dist/{base/rules/presets/js/EnableStylistic.js → rules/js/stylistic.js} +66 -66
- package/dist/rules/js/stylistic.js.map +1 -0
- package/dist/{base/rules/presets/json/Enable.d.ts → rules/json/_enable.d.ts} +1 -1
- package/dist/rules/json/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/json/Enable.js → rules/json/_enable.js} +4 -4
- package/dist/rules/json/_enable.js.map +1 -0
- package/dist/{base/rules/presets/json/EnableX.d.ts → rules/json/enable_x.d.ts} +1 -1
- package/dist/rules/json/enable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/json/EnableX.js → rules/json/enable_x.js} +13 -13
- package/dist/rules/json/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/jsonc/OverrideJson.d.ts → rules/jsonc/override.d.ts} +1 -1
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +4 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/rules/md/_enable.d.ts +7 -0
- package/dist/rules/md/_enable.d.ts.map +1 -0
- package/dist/rules/md/_enable.js +9 -0
- package/dist/rules/md/_enable.js.map +1 -0
- package/dist/{base/rules/presets/mocha/Enable.d.ts → rules/mocha/_enable.d.ts} +1 -1
- package/dist/rules/mocha/_enable.d.ts.map +1 -0
- package/dist/rules/mocha/_enable.js +4 -0
- package/dist/rules/mocha/_enable.js.map +1 -0
- package/dist/rules/mocha/_recommended.d.ts +3 -0
- package/dist/rules/mocha/_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/_recommended.js +5 -0
- package/dist/rules/mocha/_recommended.js.map +1 -0
- package/dist/{base/rules/presets/svelte/Enable.d.ts → rules/svelte/_enable.d.ts} +1 -1
- package/dist/rules/svelte/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/svelte/Enable.js → rules/svelte/_enable.js} +19 -19
- package/dist/rules/svelte/_enable.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableJS.d.ts → rules/svelte/disable_js.d.ts} +1 -1
- package/dist/rules/svelte/disable_js.d.ts.map +1 -0
- package/dist/rules/svelte/disable_js.js +4 -0
- package/dist/rules/svelte/disable_js.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableTS.d.ts → rules/svelte/disable_ts.d.ts} +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -0
- package/dist/rules/svelte/disable_ts.js +4 -0
- package/dist/rules/svelte/disable_ts.js.map +1 -0
- package/dist/{base/rules/presets/svelte/DisableX.d.ts → rules/svelte/disable_x.d.ts} +1 -1
- package/dist/rules/svelte/disable_x.d.ts.map +1 -0
- package/dist/rules/svelte/disable_x.js +4 -0
- package/dist/rules/svelte/disable_x.js.map +1 -0
- package/dist/{base/rules/presets/svelte/EnableX.d.ts → rules/svelte/enable_x.d.ts} +1 -1
- package/dist/rules/svelte/enable_x.d.ts.map +1 -0
- package/dist/rules/svelte/enable_x.js +4 -0
- package/dist/rules/svelte/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.d.ts → rules/ts/_enable.d.ts} +1 -1
- package/dist/rules/ts/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/Enable.js → rules/ts/_enable.js} +14 -14
- package/dist/rules/ts/_enable.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.d.ts → rules/ts/disable_compiler.d.ts} +1 -1
- package/dist/rules/ts/disable_compiler.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableCompiler.js → rules/ts/disable_compiler.js} +3 -3
- package/dist/rules/ts/disable_compiler.js.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.d.ts → rules/ts/disable_x.d.ts} +1 -1
- package/dist/rules/ts/disable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/DisableX.js → rules/ts/disable_x.js} +4 -4
- package/dist/rules/ts/disable_x.js.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.d.ts → rules/ts/enable_x.d.ts} +1 -1
- package/dist/rules/ts/enable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/ts/EnableX.js → rules/ts/enable_x.js} +8 -8
- package/dist/rules/ts/enable_x.js.map +1 -0
- package/dist/{base/rules/presets/yml/Enable.d.ts → rules/yml/_enable.d.ts} +1 -1
- package/dist/rules/yml/_enable.d.ts.map +1 -0
- package/dist/{base/rules/presets/yml/Enable.js → rules/yml/_enable.js} +11 -11
- package/dist/rules/yml/_enable.js.map +1 -0
- package/dist/{base/rules/presets/yml/EnableX.d.ts → rules/yml/enable_x.d.ts} +1 -1
- package/dist/rules/yml/enable_x.d.ts.map +1 -0
- package/dist/{base/rules/presets/yml/EnableX.js → rules/yml/enable_x.js} +8 -8
- package/dist/rules/yml/enable_x.js.map +1 -0
- package/dist/{base/rules.d.ts → rules.d.ts} +2 -33
- package/dist/{base/rules.d.ts.map → rules.d.ts.map} +1 -1
- package/dist/rules.js +21 -0
- package/dist/rules.js.map +1 -0
- package/package.json +2 -2
- package/src/files.ts +22 -0
- package/src/{import → imports}/parsers.ts +1 -2
- package/src/{import → imports}/plugins.ts +1 -2
- package/src/imports.ts +8 -0
- package/src/index.ts +8 -8
- package/src/rules/_html.ts +4 -0
- package/src/rules/_js.ts +4 -0
- package/src/rules/_json.ts +4 -0
- package/src/rules/_jsonc.ts +4 -0
- package/src/rules/_md.ts +3 -0
- package/src/rules/_mocha.ts +4 -0
- package/src/rules/_strings/id.ts +18 -0
- package/src/{base/rules/strings/level/index.ts → rules/_strings/level.ts} +2 -1
- package/src/rules/_strings/state.ts +56 -0
- package/src/rules/_strings.ts +6 -0
- package/src/rules/_svelte.ts +15 -0
- package/src/rules/_ts.ts +13 -0
- package/src/rules/_yml.ts +4 -0
- package/src/rules/html/_enable.ts +13 -0
- package/src/rules/html/_recommended.ts +7 -0
- package/src/{base/rules/presets/js/Enable.ts → rules/js/_enable.ts} +35 -36
- package/src/{base/rules/presets/js/EnableStylistic.ts → rules/js/stylistic.ts} +85 -86
- package/src/{base/rules/presets/json/Enable.ts → rules/json/_enable.ts} +6 -4
- package/src/{base/rules/presets/json/EnableX.ts → rules/json/enable_x.ts} +23 -24
- package/src/rules/jsonc/override.ts +9 -0
- package/src/rules/md/_enable.ts +14 -0
- package/src/rules/mocha/_enable.ts +5 -0
- package/src/rules/mocha/_recommended.ts +7 -0
- package/src/{base/rules/presets/svelte/Enable.ts → rules/svelte/_enable.ts} +27 -28
- package/src/{base/rules/presets/svelte/DisableJS.ts → rules/svelte/disable_js.ts} +3 -3
- package/src/{base/rules/presets/svelte/DisableTS.ts → rules/svelte/disable_ts.ts} +3 -3
- package/src/rules/svelte/disable_x.ts +8 -0
- package/src/rules/svelte/enable_x.ts +9 -0
- package/src/{base/rules/presets/ts/Enable.ts → rules/ts/_enable.ts} +17 -18
- package/src/{base/rules/presets/ts/DisableCompiler.ts → rules/ts/disable_compiler.ts} +3 -3
- package/src/{base/rules/presets/ts/DisableX.ts → rules/ts/disable_x.ts} +6 -4
- package/src/{base/rules/presets/ts/EnableX.ts → rules/ts/enable_x.ts} +11 -8
- package/src/rules/yml/_enable.ts +33 -0
- package/src/{base/rules/presets/yml/EnableX.ts → rules/yml/enable_x.ts} +11 -8
- package/src/rules.ts +22 -0
- package/dist/base/files/html/index.d.ts.map +0 -1
- package/dist/base/files/html/index.js.map +0 -1
- package/dist/base/files/js/index.d.ts.map +0 -1
- package/dist/base/files/js/index.js.map +0 -1
- package/dist/base/files/json/index.d.ts.map +0 -1
- package/dist/base/files/json/index.js +0 -2
- package/dist/base/files/json/index.js.map +0 -1
- package/dist/base/files/jsonc/index.d.ts.map +0 -1
- package/dist/base/files/jsonc/index.js.map +0 -1
- package/dist/base/files/md/index.d.ts.map +0 -1
- package/dist/base/files/md/index.js +0 -2
- package/dist/base/files/md/index.js.map +0 -1
- package/dist/base/files/mocha/index.d.ts.map +0 -1
- package/dist/base/files/mocha/index.js +0 -2
- package/dist/base/files/mocha/index.js.map +0 -1
- package/dist/base/files/svelte/index.d.ts.map +0 -1
- package/dist/base/files/svelte/index.js.map +0 -1
- package/dist/base/files/ts/index.d.ts.map +0 -1
- package/dist/base/files/ts/index.js.map +0 -1
- package/dist/base/files/yml/index.d.ts.map +0 -1
- package/dist/base/files/yml/index.js.map +0 -1
- package/dist/base/files.d.ts.map +0 -1
- package/dist/base/files.js +0 -21
- package/dist/base/files.js.map +0 -1
- package/dist/base/rules/presets/Html.d.ts +0 -8
- package/dist/base/rules/presets/Html.d.ts.map +0 -1
- package/dist/base/rules/presets/Html.js +0 -4
- package/dist/base/rules/presets/Html.js.map +0 -1
- package/dist/base/rules/presets/Js.js +0 -4
- package/dist/base/rules/presets/Js.js.map +0 -1
- package/dist/base/rules/presets/Json.d.ts.map +0 -1
- package/dist/base/rules/presets/Json.js +0 -4
- package/dist/base/rules/presets/Json.js.map +0 -1
- package/dist/base/rules/presets/Jsonc.d.ts.map +0 -1
- package/dist/base/rules/presets/Jsonc.js +0 -4
- package/dist/base/rules/presets/Jsonc.js.map +0 -1
- package/dist/base/rules/presets/Md.d.ts +0 -38
- package/dist/base/rules/presets/Md.d.ts.map +0 -1
- package/dist/base/rules/presets/Md.js +0 -3
- package/dist/base/rules/presets/Md.js.map +0 -1
- package/dist/base/rules/presets/Mocha.d.ts +0 -8
- package/dist/base/rules/presets/Mocha.d.ts.map +0 -1
- package/dist/base/rules/presets/Mocha.js +0 -4
- package/dist/base/rules/presets/Mocha.js.map +0 -1
- package/dist/base/rules/presets/Svelte.js +0 -15
- package/dist/base/rules/presets/Svelte.js.map +0 -1
- package/dist/base/rules/presets/Ts.js +0 -13
- package/dist/base/rules/presets/Ts.js.map +0 -1
- package/dist/base/rules/presets/Yml.d.ts.map +0 -1
- package/dist/base/rules/presets/Yml.js +0 -4
- package/dist/base/rules/presets/Yml.js.map +0 -1
- package/dist/base/rules/presets/html/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Enable.js.map +0 -1
- package/dist/base/rules/presets/html/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/html/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/html/Recommended.js +0 -5
- package/dist/base/rules/presets/html/Recommended.js.map +0 -1
- package/dist/base/rules/presets/index.d.ts +0 -8
- package/dist/base/rules/presets/index.d.ts.map +0 -1
- package/dist/base/rules/presets/index.js +0 -2
- package/dist/base/rules/presets/index.js.map +0 -1
- package/dist/base/rules/presets/js/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/js/Enable.js.map +0 -1
- package/dist/base/rules/presets/js/EnableStylistic.js.map +0 -1
- package/dist/base/rules/presets/json/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/json/Enable.js.map +0 -1
- package/dist/base/rules/presets/json/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/json/EnableX.js.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.d.ts.map +0 -1
- package/dist/base/rules/presets/jsonc/OverrideJson.js +0 -4
- package/dist/base/rules/presets/jsonc/OverrideJson.js.map +0 -1
- package/dist/base/rules/presets/md/Enable.d.ts +0 -38
- package/dist/base/rules/presets/md/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/md/Enable.js +0 -20
- package/dist/base/rules/presets/md/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Enable.js +0 -4
- package/dist/base/rules/presets/mocha/Enable.js.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.d.ts +0 -3
- package/dist/base/rules/presets/mocha/Recommended.d.ts.map +0 -1
- package/dist/base/rules/presets/mocha/Recommended.js +0 -5
- package/dist/base/rules/presets/mocha/Recommended.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableJS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableJS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableTS.js +0 -4
- package/dist/base/rules/presets/svelte/DisableTS.js.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/DisableX.js +0 -4
- package/dist/base/rules/presets/svelte/DisableX.js.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/Enable.js.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/svelte/EnableX.js +0 -4
- package/dist/base/rules/presets/svelte/EnableX.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableCompiler.js.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/DisableX.js.map +0 -1
- package/dist/base/rules/presets/ts/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/Enable.js.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/ts/EnableX.js.map +0 -1
- package/dist/base/rules/presets/yml/Enable.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/Enable.js.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.d.ts.map +0 -1
- package/dist/base/rules/presets/yml/EnableX.js.map +0 -1
- package/dist/base/rules/strings/id/index.d.ts +0 -3
- package/dist/base/rules/strings/id/index.d.ts.map +0 -1
- package/dist/base/rules/strings/id/index.js +0 -3
- package/dist/base/rules/strings/id/index.js.map +0 -1
- package/dist/base/rules/strings/index.d.ts +0 -7
- package/dist/base/rules/strings/index.d.ts.map +0 -1
- package/dist/base/rules/strings/index.js +0 -7
- package/dist/base/rules/strings/index.js.map +0 -1
- package/dist/base/rules/strings/level/index.d.ts.map +0 -1
- package/dist/base/rules/strings/level/index.js.map +0 -1
- package/dist/base/rules/strings/state/index.d.ts +0 -3
- package/dist/base/rules/strings/state/index.d.ts.map +0 -1
- package/dist/base/rules/strings/state/index.js +0 -3
- package/dist/base/rules/strings/state/index.js.map +0 -1
- package/dist/base/rules.js +0 -21
- package/dist/base/rules.js.map +0 -1
- package/dist/import/parsers.d.ts.map +0 -1
- package/dist/import/parsers.js.map +0 -1
- package/dist/import/plugins.d.ts.map +0 -1
- package/dist/import/plugins.js.map +0 -1
- package/src/base/files.ts +0 -22
- package/src/base/rules/presets/Html.ts +0 -5
- package/src/base/rules/presets/Js.ts +0 -5
- package/src/base/rules/presets/Json.ts +0 -5
- package/src/base/rules/presets/Jsonc.ts +0 -5
- package/src/base/rules/presets/Md.ts +0 -4
- package/src/base/rules/presets/Mocha.ts +0 -5
- package/src/base/rules/presets/Svelte.ts +0 -16
- package/src/base/rules/presets/Ts.ts +0 -14
- package/src/base/rules/presets/Yml.ts +0 -5
- package/src/base/rules/presets/html/Enable.ts +0 -11
- package/src/base/rules/presets/html/Recommended.ts +0 -7
- package/src/base/rules/presets/index.ts +0 -10
- package/src/base/rules/presets/jsonc/OverrideJson.ts +0 -6
- package/src/base/rules/presets/md/Enable.ts +0 -23
- package/src/base/rules/presets/mocha/Enable.ts +0 -5
- package/src/base/rules/presets/mocha/Recommended.ts +0 -7
- package/src/base/rules/presets/svelte/DisableX.ts +0 -6
- package/src/base/rules/presets/svelte/EnableX.ts +0 -6
- package/src/base/rules/presets/yml/Enable.ts +0 -30
- package/src/base/rules/strings/id/index.ts +0 -17
- package/src/base/rules/strings/index.ts +0 -6
- package/src/base/rules/strings/state/index.ts +0 -55
- package/src/base/rules.ts +0 -22
- /package/dist/{base/files.d.ts → files.d.ts} +0 -0
- /package/dist/{import → imports}/parsers.d.ts +0 -0
- /package/dist/{import → imports}/parsers.js +0 -0
- /package/dist/{import → imports}/plugins.d.ts +0 -0
- /package/dist/{import → imports}/plugins.js +0 -0
- /package/src/{base/files/html/index.ts → files/html.ts} +0 -0
- /package/src/{base/files/js/index.ts → files/js.ts} +0 -0
- /package/src/{base/files/json/index.ts → files/json.ts} +0 -0
- /package/src/{base/files/jsonc/index.ts → files/jsonc.ts} +0 -0
- /package/src/{base/files/md/index.ts → files/md.ts} +0 -0
- /package/src/{base/files/mocha/index.ts → files/mocha.ts} +0 -0
- /package/src/{base/files/svelte/index.ts → files/svelte.ts} +0 -0
- /package/src/{base/files/ts/index.ts → files/ts.ts} +0 -0
- /package/src/{base/files/yml/index.ts → files/yml.ts} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { stylistic } = id, { ERROR, OFF } = level, { Never, Always, AlwaysMultiline, Consistent, AsNeeded, Strict, All, Star, Last, Before, After, Below, Beside, Inside, Double, } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
stylistic,
|
5
5
|
{
|
6
6
|
"@stylistic/array-bracket-newline": [ERROR, { multiline: true, minItems: null }],
|
7
|
-
"@stylistic/array-bracket-spacing": [ERROR,
|
7
|
+
"@stylistic/array-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
8
8
|
"@stylistic/array-element-newline": [
|
9
9
|
ERROR,
|
10
10
|
{
|
@@ -12,15 +12,15 @@ export default [
|
|
12
12
|
ArrayPattern: { consistent: true, multiline: true, minItems: 4 },
|
13
13
|
},
|
14
14
|
],
|
15
|
-
"@stylistic/arrow-parens": [ERROR,
|
15
|
+
"@stylistic/arrow-parens": [ERROR, AsNeeded, { requireForBlockBody: false }],
|
16
16
|
"@stylistic/arrow-spacing": [ERROR, { before: true, after: true }],
|
17
|
-
"@stylistic/block-spacing": [ERROR,
|
17
|
+
"@stylistic/block-spacing": [ERROR, Always],
|
18
18
|
"@stylistic/brace-style": [ERROR, "stroustrup", { allowSingleLine: true }],
|
19
|
-
"@stylistic/comma-dangle": [ERROR,
|
19
|
+
"@stylistic/comma-dangle": [ERROR, AlwaysMultiline],
|
20
20
|
"@stylistic/comma-spacing": [ERROR, { before: false, after: true }],
|
21
21
|
"@stylistic/comma-style": [
|
22
22
|
ERROR,
|
23
|
-
|
23
|
+
Last,
|
24
24
|
{
|
25
25
|
exceptions: {
|
26
26
|
ArrayExpression: false,
|
@@ -37,14 +37,14 @@ export default [
|
|
37
37
|
},
|
38
38
|
},
|
39
39
|
],
|
40
|
-
"@stylistic/computed-property-spacing": [ERROR,
|
40
|
+
"@stylistic/computed-property-spacing": [ERROR, Never, { enforceForClassMembers: true }],
|
41
41
|
"@stylistic/dot-location": [ERROR, "property"],
|
42
|
-
"@stylistic/eol-last": [ERROR,
|
43
|
-
"@stylistic/function-call-argument-newline": [ERROR,
|
44
|
-
"@stylistic/function-call-spacing": [ERROR,
|
42
|
+
"@stylistic/eol-last": [ERROR, Always],
|
43
|
+
"@stylistic/function-call-argument-newline": [ERROR, Consistent],
|
44
|
+
"@stylistic/function-call-spacing": [ERROR, Never],
|
45
45
|
"@stylistic/function-paren-newline": [ERROR, "multiline-arguments"],
|
46
46
|
"@stylistic/generator-star-spacing": [ERROR, { before: true, after: false }],
|
47
|
-
"@stylistic/implicit-arrow-linebreak": [ERROR,
|
47
|
+
"@stylistic/implicit-arrow-linebreak": [ERROR, Beside],
|
48
48
|
"@stylistic/indent": [
|
49
49
|
ERROR,
|
50
50
|
2,
|
@@ -67,7 +67,7 @@ export default [
|
|
67
67
|
},
|
68
68
|
],
|
69
69
|
"@stylistic/indent-binary-ops": [ERROR, 2],
|
70
|
-
"@stylistic/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode:
|
70
|
+
"@stylistic/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
|
71
71
|
"@stylistic/keyword-spacing": [ERROR, { before: true, after: true, overrides: {} }],
|
72
72
|
"@stylistic/line-comment-position": OFF,
|
73
73
|
"@stylistic/lines-around-comment": [
|
@@ -101,9 +101,9 @@ export default [
|
|
101
101
|
ERROR,
|
102
102
|
{
|
103
103
|
enforce: [
|
104
|
-
{ blankLine:
|
105
|
-
{ blankLine:
|
106
|
-
{ blankLine:
|
104
|
+
{ blankLine: Never, prev: "field", next: "field" },
|
105
|
+
{ blankLine: Always, prev: "field", next: "method" },
|
106
|
+
{ blankLine: Always, prev: "method", next: Star },
|
107
107
|
],
|
108
108
|
},
|
109
109
|
{ exceptAfterSingleLine: false, exceptAfterOverload: true },
|
@@ -131,13 +131,13 @@ export default [
|
|
131
131
|
},
|
132
132
|
],
|
133
133
|
"@stylistic/multiline-comment-style": OFF,
|
134
|
-
"@stylistic/multiline-ternary": [ERROR,
|
135
|
-
"@stylistic/new-parens": [OFF,
|
134
|
+
"@stylistic/multiline-ternary": [ERROR, AlwaysMultiline],
|
135
|
+
"@stylistic/new-parens": [OFF, Never],
|
136
136
|
"@stylistic/newline-per-chained-call": [ERROR, { ignoreChainWithDepth: 2 }],
|
137
137
|
"@stylistic/no-confusing-arrow": OFF,
|
138
138
|
"@stylistic/no-extra-parens": [
|
139
139
|
ERROR,
|
140
|
-
|
140
|
+
All,
|
141
141
|
{
|
142
142
|
conditionalAssign: true,
|
143
143
|
returnAssign: true,
|
@@ -160,14 +160,14 @@ export default [
|
|
160
160
|
"@stylistic/no-whitespace-before-property": ERROR,
|
161
161
|
"@stylistic/nonblock-statement-body-position": [
|
162
162
|
ERROR,
|
163
|
-
|
163
|
+
Below,
|
164
164
|
{
|
165
165
|
overrides: {
|
166
|
-
"if":
|
167
|
-
"else":
|
168
|
-
"while":
|
169
|
-
"do":
|
170
|
-
"for":
|
166
|
+
"if": Below,
|
167
|
+
"else": Below,
|
168
|
+
"while": Below,
|
169
|
+
"do": Below,
|
170
|
+
"for": Below,
|
171
171
|
},
|
172
172
|
},
|
173
173
|
],
|
@@ -180,19 +180,19 @@ export default [
|
|
180
180
|
ExportDeclaration: { consistent: true, multiline: true, minProperties: 4 },
|
181
181
|
},
|
182
182
|
],
|
183
|
-
"@stylistic/object-curly-spacing": [ERROR,
|
183
|
+
"@stylistic/object-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
|
184
184
|
"@stylistic/object-property-newline": [ERROR, { allowAllPropertiesOnSameLine: true }],
|
185
|
-
"@stylistic/one-var-declaration-per-line": [ERROR,
|
186
|
-
"@stylistic/operator-linebreak": [ERROR,
|
187
|
-
"@stylistic/padded-blocks": [ERROR, { blocks:
|
185
|
+
"@stylistic/one-var-declaration-per-line": [ERROR, Always],
|
186
|
+
"@stylistic/operator-linebreak": [ERROR, Before, { overrides: { "=": After } }],
|
187
|
+
"@stylistic/padded-blocks": [ERROR, { blocks: Never, classes: Never, switches: Never }, { allowSingleLineBlocks: true }],
|
188
188
|
"@stylistic/padding-line-between-statements": [
|
189
189
|
ERROR,
|
190
|
-
{ blankLine:
|
191
|
-
{ blankLine:
|
192
|
-
{ blankLine:
|
193
|
-
{ blankLine:
|
190
|
+
{ blankLine: Always, prev: "directive", next: Star },
|
191
|
+
{ blankLine: Never, prev: "directive", next: "directive" },
|
192
|
+
{ blankLine: Always, prev: ["import", "cjs-import"], next: Star },
|
193
|
+
{ blankLine: Never, prev: ["import", "cjs-import"], next: ["import", "cjs-import"] },
|
194
194
|
{
|
195
|
-
blankLine:
|
195
|
+
blankLine: Always,
|
196
196
|
prev: [
|
197
197
|
"class",
|
198
198
|
"interface",
|
@@ -209,24 +209,24 @@ export default [
|
|
209
209
|
"debugger",
|
210
210
|
"with",
|
211
211
|
],
|
212
|
-
next:
|
212
|
+
next: Star,
|
213
213
|
},
|
214
|
-
{ blankLine:
|
215
|
-
{ blankLine:
|
216
|
-
{ blankLine:
|
217
|
-
{ blankLine:
|
218
|
-
{ blankLine:
|
219
|
-
{ blankLine:
|
220
|
-
{ blankLine:
|
221
|
-
{ blankLine:
|
222
|
-
{ blankLine:
|
223
|
-
{ blankLine:
|
224
|
-
{ blankLine:
|
225
|
-
{ blankLine:
|
226
|
-
{ blankLine:
|
214
|
+
{ blankLine: Always, prev: "case", next: Star },
|
215
|
+
{ blankLine: Always, prev: "case", next: ["case", "default"] },
|
216
|
+
{ blankLine: Always, prev: "default", next: Star },
|
217
|
+
{ blankLine: Always, prev: "type", next: Star },
|
218
|
+
{ blankLine: Never, prev: "type", next: "type" },
|
219
|
+
{ blankLine: Always, prev: "function", next: Star },
|
220
|
+
{ blankLine: Always, prev: "function-overload", next: Star },
|
221
|
+
{ blankLine: Never, prev: "function-overload", next: "function-overload" },
|
222
|
+
{ blankLine: Never, prev: "function-overload", next: "function" },
|
223
|
+
{ blankLine: Always, prev: ["const", "let", "var"], next: Star },
|
224
|
+
{ blankLine: Never, prev: ["const", "let", "var"], next: ["const", "let", "var"] },
|
225
|
+
{ blankLine: Always, prev: "expression", next: Star },
|
226
|
+
{ blankLine: Never, prev: "expression", next: "expression" },
|
227
227
|
{
|
228
|
-
blankLine:
|
229
|
-
prev:
|
228
|
+
blankLine: Always,
|
229
|
+
prev: Star,
|
230
230
|
next: [
|
231
231
|
"throw",
|
232
232
|
"return",
|
@@ -234,24 +234,24 @@ export default [
|
|
234
234
|
"continue",
|
235
235
|
],
|
236
236
|
},
|
237
|
-
{ blankLine:
|
238
|
-
{ blankLine:
|
237
|
+
{ blankLine: Always, prev: Star, next: ["export", "cjs-export"] },
|
238
|
+
{ blankLine: Never, prev: ["export", "cjs-export"], next: ["export", "cjs-export"] },
|
239
239
|
],
|
240
|
-
"@stylistic/quote-props": [ERROR,
|
241
|
-
"@stylistic/quotes": [ERROR,
|
242
|
-
"@stylistic/rest-spread-spacing": [ERROR,
|
243
|
-
"@stylistic/semi": [ERROR,
|
240
|
+
"@stylistic/quote-props": [ERROR, AsNeeded, { keywords: true, unnecessary: true, numbers: false }],
|
241
|
+
"@stylistic/quotes": [ERROR, Double, { avoidEscape: true, allowTemplateLiterals: true }],
|
242
|
+
"@stylistic/rest-spread-spacing": [ERROR, Never],
|
243
|
+
"@stylistic/semi": [ERROR, Always, { omitLastInOneLineBlock: false, omitLastInOneLineClassBody: false }],
|
244
244
|
"@stylistic/semi-spacing": [ERROR, { before: false, after: true }],
|
245
|
-
"@stylistic/semi-style": [ERROR,
|
246
|
-
"@stylistic/space-before-blocks": [ERROR, { functions:
|
247
|
-
"@stylistic/space-before-function-paren": [ERROR, { anonymous:
|
248
|
-
"@stylistic/space-in-parens": [ERROR,
|
245
|
+
"@stylistic/semi-style": [ERROR, Last],
|
246
|
+
"@stylistic/space-before-blocks": [ERROR, { functions: Always, keywords: Always, classes: Always }],
|
247
|
+
"@stylistic/space-before-function-paren": [ERROR, { anonymous: Always, named: Never, asyncArrow: Always }],
|
248
|
+
"@stylistic/space-in-parens": [ERROR, Never],
|
249
249
|
"@stylistic/space-infix-ops": [ERROR, { int32Hint: true }],
|
250
250
|
"@stylistic/space-unary-ops": [ERROR, { words: true, nonwords: false, overrides: {} }],
|
251
|
-
"@stylistic/spaced-comment": [ERROR,
|
251
|
+
"@stylistic/spaced-comment": [ERROR, Always],
|
252
252
|
"@stylistic/switch-colon-spacing": [ERROR, { after: true, before: false }],
|
253
|
-
"@stylistic/template-curly-spacing": [ERROR,
|
254
|
-
"@stylistic/template-tag-spacing": [ERROR,
|
253
|
+
"@stylistic/template-curly-spacing": [ERROR, Never],
|
254
|
+
"@stylistic/template-tag-spacing": [ERROR, Never],
|
255
255
|
"@stylistic/type-annotation-spacing": [
|
256
256
|
ERROR,
|
257
257
|
{
|
@@ -262,9 +262,9 @@ export default [
|
|
262
262
|
],
|
263
263
|
"@stylistic/type-generic-spacing": ERROR,
|
264
264
|
"@stylistic/type-named-tuple-spacing": ERROR,
|
265
|
-
"@stylistic/wrap-iife": [ERROR,
|
265
|
+
"@stylistic/wrap-iife": [ERROR, Inside, { functionPrototypeMethods: true }],
|
266
266
|
"@stylistic/wrap-regex": ERROR,
|
267
267
|
"@stylistic/yield-star-spacing": [ERROR, { before: false, after: true }],
|
268
268
|
},
|
269
269
|
];
|
270
|
-
//# sourceMappingURL=
|
270
|
+
//# sourceMappingURL=stylistic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":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,EAAE,CAAC;QAC3E,uBAAuB,EAAE,KAAK;QAC9B,+BAA+B,EAAE,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;KACzE;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA4BW"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level } from "../_strings.js";
|
2
|
+
const { enable } = id, { ERROR, OFF } = level;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable,
|
5
5
|
{
|
6
6
|
"jsonc/auto": OFF,
|
7
7
|
"jsonc/key-name-casing": OFF,
|
@@ -28,4 +28,4 @@ export default [
|
|
28
28
|
"jsonc/vue-custom-block/no-parsing-error": ERROR,
|
29
29
|
},
|
30
30
|
];
|
31
|
-
//# sourceMappingURL=
|
31
|
+
//# sourceMappingURL=_enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/json/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEvB,eAAe;IACb,MAAM;IACN;QAEE,YAAY,EAAE,GAAG;QACjB,uBAAuB,EAAE,GAAG;QAC5B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,KAAK;QAC1B,wCAAwC,EAAE,KAAK;QAC/C,uCAAuC,EAAE,KAAK;QAC9C,mBAAmB,EAAE,KAAK;QAC1B,cAAc,EAAE,KAAK;QACrB,uBAAuB,EAAE,KAAK;QAC9B,6BAA6B,EAAE,KAAK;QACpC,iCAAiC,EAAE,KAAK;QACxC,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,KAAK;QAC3B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,0BAA0B,EAAE,KAAK;QACjC,oCAAoC,EAAE,KAAK;QAC3C,yBAAyB,EAAE,GAAG;QAC9B,iBAAiB,EAAE,GAAG;QACtB,yBAAyB,EAAE,KAAK;QAChC,yCAAyC,EAAE,KAAK;KACjD;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,wBAmCW"}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable_x } = id, { ERROR } = level, { Never, Always, Consistent, Strict, Last, Double, } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable_x,
|
5
5
|
{
|
6
|
-
"jsonc/array-bracket-newline": [ERROR,
|
7
|
-
"jsonc/array-bracket-spacing": [ERROR,
|
8
|
-
"jsonc/array-element-newline": [ERROR,
|
9
|
-
"jsonc/comma-dangle": [ERROR,
|
10
|
-
"jsonc/comma-style": [ERROR,
|
6
|
+
"jsonc/array-bracket-newline": [ERROR, Consistent],
|
7
|
+
"jsonc/array-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
|
8
|
+
"jsonc/array-element-newline": [ERROR, Always],
|
9
|
+
"jsonc/comma-dangle": [ERROR, Never],
|
10
|
+
"jsonc/comma-style": [ERROR, Last],
|
11
11
|
"jsonc/indent": [ERROR, 2],
|
12
|
-
"jsonc/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode:
|
12
|
+
"jsonc/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
|
13
13
|
"jsonc/no-dupe-keys": ERROR,
|
14
14
|
"jsonc/no-floating-decimal": ERROR,
|
15
15
|
"jsonc/no-irregular-whitespace": [
|
@@ -28,11 +28,11 @@ export default [
|
|
28
28
|
"jsonc/no-sparse-arrays": ERROR,
|
29
29
|
"jsonc/no-useless-escape": ERROR,
|
30
30
|
"jsonc/object-curly-newline": [ERROR, { consistent: true, multiline: true, minProperties: 2 }],
|
31
|
-
"jsonc/object-curly-spacing": [ERROR,
|
31
|
+
"jsonc/object-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
|
32
32
|
"jsonc/object-property-newline": [ERROR, { allowAllPropertiesOnSameLine: false }],
|
33
|
-
"jsonc/quote-props": [ERROR,
|
34
|
-
"jsonc/quotes": [ERROR,
|
33
|
+
"jsonc/quote-props": [ERROR, Always],
|
34
|
+
"jsonc/quotes": [ERROR, Double, { avoidEscape: false }],
|
35
35
|
"jsonc/space-unary-ops": ERROR,
|
36
36
|
},
|
37
37
|
];
|
38
|
-
//# sourceMappingURL=
|
38
|
+
//# sourceMappingURL=enable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EACE,KAAK,EACL,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC;QAClD,6BAA6B,EAAE,CAAC,KAAK,EAAE,KAAK,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,uBAAuB,EAAE,KAAK;KAC/B;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;AAQA,wBAAgM"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { override } = id, { ERROR, OFF } = level, { AlwaysMultiline } = state;
|
3
|
+
export default [override, { "jsonc/no-comments": OFF, "jsonc/comma-dangle": [ERROR, AlwaysMultiline] }];
|
4
|
+
//# sourceMappingURL=override.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;AAG5B,eAAe,CAAC,QAAQ,EAAE,EAAE,mBAAmB,EAAE,GAAG,EAAsC,oBAAoB,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,EAA6C,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/md/_enable.ts"],"names":[],"mappings":";;;;;AAMA,wBAOW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/md/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;AAElB,eAAe;IACb,MAAM;IACN;QAGE,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;KAChD;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/_enable.ts"],"names":[],"mappings":";AAIA,wBAAqC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAEpC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;AAEtB,eAAe,CAAC,MAAM,EAAE,EAAE,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/_recommended.ts"],"names":[],"mappings":";AAMA,wBAAwH"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_recommended.js","sourceRoot":"","sources":["../../../src/rules/mocha/_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAExC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC;AAG3B,eAAe,CAAC,WAAW,EAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAsD,CAAC,KAAK,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAoHW"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { id, level, state } from "../_strings.js";
|
2
|
+
const { enable } = id, { ERROR, OFF } = level, { Never, Always, Below, Double, } = state;
|
3
3
|
export default [
|
4
|
-
|
4
|
+
enable,
|
5
5
|
{
|
6
6
|
"svelte/infinite-reactive-loop": ERROR,
|
7
7
|
"svelte/no-dom-manipulating": ERROR,
|
@@ -22,7 +22,7 @@ export default [
|
|
22
22
|
"svelte/valid-compile": [ERROR, { ignoreWarnings: false }],
|
23
23
|
"svelte/valid-prop-names-in-kit-pages": ERROR,
|
24
24
|
"svelte/no-at-html-tags": ERROR,
|
25
|
-
"svelte/no-target-blank": [ERROR, { allowReferrer: false, enforceDynamicLinks:
|
25
|
+
"svelte/no-target-blank": [ERROR, { allowReferrer: false, enforceDynamicLinks: Always }],
|
26
26
|
"svelte/block-lang": [
|
27
27
|
ERROR,
|
28
28
|
{
|
@@ -50,16 +50,16 @@ export default [
|
|
50
50
|
"svelte/require-stores-init": ERROR,
|
51
51
|
"svelte/valid-each-key": ERROR,
|
52
52
|
"svelte/derived-has-same-inputs-outputs": ERROR,
|
53
|
-
"svelte/first-attribute-linebreak": [ERROR, { multiline:
|
54
|
-
"svelte/html-closing-bracket-spacing": [ERROR, { startTag:
|
55
|
-
"svelte/html-quotes": [ERROR, { prefer:
|
53
|
+
"svelte/first-attribute-linebreak": [ERROR, { multiline: Below, singleline: Below }],
|
54
|
+
"svelte/html-closing-bracket-spacing": [ERROR, { startTag: Never, endTag: Never, selfClosingTag: Always }],
|
55
|
+
"svelte/html-quotes": [ERROR, { prefer: Double, dynamic: { quoted: false, avoidInvalidUnquotedInHTML: true } }],
|
56
56
|
"svelte/html-self-closing": [
|
57
57
|
ERROR,
|
58
58
|
{
|
59
|
-
"void":
|
60
|
-
normal:
|
61
|
-
component:
|
62
|
-
svelte:
|
59
|
+
"void": Always,
|
60
|
+
normal: Always,
|
61
|
+
component: Always,
|
62
|
+
svelte: Always,
|
63
63
|
},
|
64
64
|
],
|
65
65
|
"svelte/indent": [ERROR, { indent: 2, switchCase: 1, alignAttributesVertically: true }],
|
@@ -67,10 +67,10 @@ export default [
|
|
67
67
|
"svelte/mustache-spacing": [
|
68
68
|
ERROR,
|
69
69
|
{
|
70
|
-
textExpressions:
|
71
|
-
attributesAndProps:
|
72
|
-
directiveExpressions:
|
73
|
-
tags: { openingBrace:
|
70
|
+
textExpressions: Never,
|
71
|
+
attributesAndProps: Never,
|
72
|
+
directiveExpressions: Never,
|
73
|
+
tags: { openingBrace: Never, closingBrace: Never },
|
74
74
|
},
|
75
75
|
],
|
76
76
|
"svelte/no-extra-reactive-curlies": ERROR,
|
@@ -78,13 +78,13 @@ export default [
|
|
78
78
|
"svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
|
79
79
|
"svelte/prefer-class-directive": [ERROR, { prefer: "empty" }],
|
80
80
|
"svelte/prefer-style-directive": ERROR,
|
81
|
-
"svelte/shorthand-attribute": [ERROR, { prefer:
|
82
|
-
"svelte/shorthand-directive": [ERROR, { prefer:
|
81
|
+
"svelte/shorthand-attribute": [ERROR, { prefer: Always }],
|
82
|
+
"svelte/shorthand-directive": [ERROR, { prefer: Always }],
|
83
83
|
"svelte/sort-attributes": OFF,
|
84
|
-
"svelte/spaced-html-comment": [ERROR,
|
84
|
+
"svelte/spaced-html-comment": [ERROR, Always],
|
85
85
|
"svelte/no-goto-without-base": ERROR,
|
86
86
|
"svelte/comment-directive": [ERROR, { reportUnusedDisableDirectives: true }],
|
87
87
|
"svelte/system": ERROR,
|
88
88
|
},
|
89
89
|
];
|
90
|
-
//# sourceMappingURL=
|
90
|
+
//# sourceMappingURL=_enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,MAAM,EAAE,GAAG,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EAAE,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;QAC1E,yBAAyB,EAAE;YACzB,KAAK;YACL;gBACE,eAAe,EAAE,KAAK;gBACtB,kBAAkB,EAAE,KAAK;gBACzB,oBAAoB,EAAE,KAAK;gBAC3B,IAAI,EAAE,EAAE,YAAY,EAAE,KAAK,EAAkB,YAAY,EAAE,KAAK,EAA+C;aAChH;SACF;QACD,kCAAkC,EAAE,KAAK;QACzC,oCAAoC,EAAE,GAAG;QACzC,kDAAkD,EAAE,KAAK;QACzD,+BAA+B,EAAE,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QAC7D,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACzD,4BAA4B,EAAE,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACzD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QAM7C,6BAA6B,EAAE,KAAK;QAMpC,0BAA0B,EAAE,CAAC,KAAK,EAAE,EAAE,6BAA6B,EAAE,IAAI,EAAE,CAAC;QAC5E,eAAe,EAAE,KAAK;KAIvB;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_js.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":";;;;AAMA,wBAAoI"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_js.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAItB,eAAe,CAAC,YAAY,EAAE,EAAE,uBAAuB,EAAE,GAAG,EAAoB,gBAAgB,EAAE,GAAG,EAAoB,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_ts.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":";;;;AAIA,wBAAiJ"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_ts.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEtB,eAAe,CAAC,YAAY,EAAE,EAAE,gBAAgB,EAAE,GAAG,EAAoB,mCAAmC,EAAE,GAAG,EAAqB,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_x.ts"],"names":[],"mappings":";;;AAOA,wBAA4I"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,SAAS,EAAE,GAAG,EAAE,EAClB,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAGhB,eAAe,CAAC,SAAS,EAAE,EAAE,uBAAuB,EAAE,GAAG,EAAwE,CAAU,CAAC"}
|