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,190 @@
|
|
1
|
+
import { enable, level, state } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level, { Never, Always, Below, Double, } = state;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"svelte/infinite-reactive-loop": ERROR,
|
7
|
+
"svelte/no-dom-manipulating": ERROR,
|
8
|
+
"svelte/no-dupe-else-if-blocks": ERROR,
|
9
|
+
"svelte/no-dupe-on-directives": ERROR,
|
10
|
+
"svelte/no-dupe-style-properties": ERROR,
|
11
|
+
"svelte/no-dupe-use-directives": ERROR,
|
12
|
+
"svelte/no-dynamic-slot-name": ERROR,
|
13
|
+
"svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
|
14
|
+
"svelte/no-not-function-handler": ERROR,
|
15
|
+
"svelte/no-object-in-text-mustaches": ERROR,
|
16
|
+
"svelte/no-reactive-reassign": [
|
17
|
+
ERROR,
|
18
|
+
{
|
19
|
+
props: true,
|
20
|
+
},
|
21
|
+
],
|
22
|
+
"svelte/no-shorthand-style-property-overrides": ERROR,
|
23
|
+
"svelte/no-store-async": ERROR,
|
24
|
+
"svelte/no-unknown-style-directive-property": [
|
25
|
+
ERROR,
|
26
|
+
{
|
27
|
+
ignorePrefixed: true,
|
28
|
+
},
|
29
|
+
],
|
30
|
+
"svelte/require-store-callbacks-use-set-param": ERROR,
|
31
|
+
"svelte/require-store-reactive-access": ERROR,
|
32
|
+
"svelte/valid-compile": [
|
33
|
+
ERROR,
|
34
|
+
{
|
35
|
+
ignoreWarnings: false,
|
36
|
+
},
|
37
|
+
],
|
38
|
+
"svelte/valid-prop-names-in-kit-pages": ERROR,
|
39
|
+
"svelte/no-at-html-tags": ERROR,
|
40
|
+
"svelte/no-target-blank": [
|
41
|
+
ERROR,
|
42
|
+
{
|
43
|
+
allowReferrer: false,
|
44
|
+
enforceDynamicLinks: Always,
|
45
|
+
},
|
46
|
+
],
|
47
|
+
"svelte/block-lang": [
|
48
|
+
ERROR,
|
49
|
+
{
|
50
|
+
enforceScriptPresent: true,
|
51
|
+
enforceStylePresent: false,
|
52
|
+
script: ["ts"],
|
53
|
+
style: [
|
54
|
+
"css",
|
55
|
+
"scss",
|
56
|
+
],
|
57
|
+
},
|
58
|
+
],
|
59
|
+
"svelte/button-has-type": [
|
60
|
+
ERROR,
|
61
|
+
{
|
62
|
+
button: true,
|
63
|
+
submit: true,
|
64
|
+
reset: true,
|
65
|
+
},
|
66
|
+
],
|
67
|
+
"svelte/no-at-debug-tags": ERROR,
|
68
|
+
"svelte/no-ignored-unsubscribe": ERROR,
|
69
|
+
"svelte/no-immutable-reactive-statements": ERROR,
|
70
|
+
"svelte/no-inline-styles": [
|
71
|
+
ERROR,
|
72
|
+
{
|
73
|
+
allowTransitions: false,
|
74
|
+
},
|
75
|
+
],
|
76
|
+
"svelte/no-reactive-functions": ERROR,
|
77
|
+
"svelte/no-reactive-literals": ERROR,
|
78
|
+
"svelte/no-svelte-internal": ERROR,
|
79
|
+
"svelte/no-unused-class-name": ERROR,
|
80
|
+
"svelte/no-unused-svelte-ignore": ERROR,
|
81
|
+
"svelte/no-useless-mustaches": [
|
82
|
+
ERROR,
|
83
|
+
{
|
84
|
+
ignoreIncludesComment: false,
|
85
|
+
ignoreStringEscape: false,
|
86
|
+
},
|
87
|
+
],
|
88
|
+
"svelte/prefer-destructured-store-props": ERROR,
|
89
|
+
"svelte/require-each-key": ERROR,
|
90
|
+
"svelte/require-event-dispatcher-types": ERROR,
|
91
|
+
"svelte/require-optimized-style-attribute": ERROR,
|
92
|
+
"svelte/require-stores-init": ERROR,
|
93
|
+
"svelte/valid-each-key": ERROR,
|
94
|
+
"svelte/derived-has-same-inputs-outputs": ERROR,
|
95
|
+
"svelte/first-attribute-linebreak": [
|
96
|
+
ERROR,
|
97
|
+
{
|
98
|
+
multiline: Below,
|
99
|
+
singleline: Below,
|
100
|
+
},
|
101
|
+
],
|
102
|
+
"svelte/html-closing-bracket-spacing": [
|
103
|
+
ERROR,
|
104
|
+
{
|
105
|
+
startTag: Never,
|
106
|
+
endTag: Never,
|
107
|
+
selfClosingTag: Always,
|
108
|
+
},
|
109
|
+
],
|
110
|
+
"svelte/html-quotes": [
|
111
|
+
ERROR,
|
112
|
+
{
|
113
|
+
prefer: Double,
|
114
|
+
dynamic: {
|
115
|
+
quoted: false,
|
116
|
+
avoidInvalidUnquotedInHTML: true,
|
117
|
+
},
|
118
|
+
},
|
119
|
+
],
|
120
|
+
"svelte/html-self-closing": [
|
121
|
+
ERROR,
|
122
|
+
{
|
123
|
+
"void": Always,
|
124
|
+
normal: Always,
|
125
|
+
component: Always,
|
126
|
+
svelte: Always,
|
127
|
+
},
|
128
|
+
],
|
129
|
+
"svelte/indent": [
|
130
|
+
ERROR,
|
131
|
+
{
|
132
|
+
indent: 2,
|
133
|
+
switchCase: 1,
|
134
|
+
alignAttributesVertically: true,
|
135
|
+
},
|
136
|
+
],
|
137
|
+
"svelte/max-attributes-per-line": [
|
138
|
+
ERROR,
|
139
|
+
{
|
140
|
+
multiline: 1,
|
141
|
+
singleline: 1,
|
142
|
+
},
|
143
|
+
],
|
144
|
+
"svelte/mustache-spacing": [
|
145
|
+
ERROR,
|
146
|
+
{
|
147
|
+
textExpressions: Never,
|
148
|
+
attributesAndProps: Never,
|
149
|
+
directiveExpressions: Never,
|
150
|
+
tags: {
|
151
|
+
openingBrace: Never,
|
152
|
+
closingBrace: Never,
|
153
|
+
},
|
154
|
+
},
|
155
|
+
],
|
156
|
+
"svelte/no-extra-reactive-curlies": ERROR,
|
157
|
+
"svelte/no-restricted-html-elements": OFF,
|
158
|
+
"svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
|
159
|
+
"svelte/prefer-class-directive": [
|
160
|
+
ERROR,
|
161
|
+
{
|
162
|
+
prefer: "empty",
|
163
|
+
},
|
164
|
+
],
|
165
|
+
"svelte/prefer-style-directive": ERROR,
|
166
|
+
"svelte/shorthand-attribute": [
|
167
|
+
ERROR,
|
168
|
+
{
|
169
|
+
prefer: Always,
|
170
|
+
},
|
171
|
+
],
|
172
|
+
"svelte/shorthand-directive": [
|
173
|
+
ERROR,
|
174
|
+
{
|
175
|
+
prefer: Always,
|
176
|
+
},
|
177
|
+
],
|
178
|
+
"svelte/sort-attributes": OFF,
|
179
|
+
"svelte/spaced-html-comment": [ERROR, Always],
|
180
|
+
"svelte/no-goto-without-base": ERROR,
|
181
|
+
"svelte/comment-directive": [
|
182
|
+
ERROR,
|
183
|
+
{
|
184
|
+
reportUnusedDisableDirectives: true,
|
185
|
+
},
|
186
|
+
],
|
187
|
+
"svelte/system": ERROR,
|
188
|
+
},
|
189
|
+
];
|
190
|
+
//# sourceMappingURL=enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":";;;;;;AAMA,wBAaW"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { enable_x, level, state } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level, { Allow, Both } = state;
|
3
|
+
export default [
|
4
|
+
enable_x,
|
5
|
+
{
|
6
|
+
"svelte/no-inner-declarations": [
|
7
|
+
ERROR,
|
8
|
+
Both,
|
9
|
+
{
|
10
|
+
blockScopedFunctions: Allow,
|
11
|
+
},
|
12
|
+
],
|
13
|
+
"svelte/no-trailing-spaces": OFF,
|
14
|
+
},
|
15
|
+
];
|
16
|
+
//# sourceMappingURL=enable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MACA,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,8BAA8B,EAAE;YAC9B,KAAK;YACL,IAAI;YACJ;gBACE,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,2BAA2B,EAAE,GAAG;KACjC;CACO,CAAC"}
|
@@ -133,17 +133,17 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
133
133
|
}];
|
134
134
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
135
|
readonly enforce: readonly [{
|
136
|
-
readonly blankLine: "never";
|
137
136
|
readonly prev: "field";
|
138
137
|
readonly next: "field";
|
138
|
+
readonly blankLine: "never";
|
139
139
|
}, {
|
140
|
-
readonly blankLine: "always";
|
141
140
|
readonly prev: "field";
|
142
141
|
readonly next: "method";
|
143
|
-
}, {
|
144
142
|
readonly blankLine: "always";
|
143
|
+
}, {
|
145
144
|
readonly prev: "method";
|
146
145
|
readonly next: "*";
|
146
|
+
readonly blankLine: "always";
|
147
147
|
}];
|
148
148
|
}, {
|
149
149
|
readonly exceptAfterSingleLine: false;
|
@@ -266,89 +266,89 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
266
266
|
readonly allowSingleLineBlocks: true;
|
267
267
|
}];
|
268
268
|
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
269
|
-
readonly blankLine: "always";
|
270
269
|
readonly prev: "directive";
|
271
270
|
readonly next: "*";
|
271
|
+
readonly blankLine: "always";
|
272
272
|
}, {
|
273
|
-
readonly blankLine: "never";
|
274
273
|
readonly prev: "directive";
|
275
274
|
readonly next: "directive";
|
275
|
+
readonly blankLine: "never";
|
276
276
|
}, {
|
277
|
-
readonly blankLine: "always";
|
278
277
|
readonly prev: readonly ["import", "cjs-import"];
|
279
278
|
readonly next: "*";
|
279
|
+
readonly blankLine: "always";
|
280
280
|
}, {
|
281
|
-
readonly blankLine: "never";
|
282
281
|
readonly prev: readonly ["import", "cjs-import"];
|
283
282
|
readonly next: readonly ["import", "cjs-import"];
|
283
|
+
readonly blankLine: "never";
|
284
284
|
}, {
|
285
|
-
readonly blankLine: "always";
|
286
285
|
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
287
286
|
readonly next: "*";
|
288
|
-
}, {
|
289
287
|
readonly blankLine: "always";
|
288
|
+
}, {
|
290
289
|
readonly prev: "case";
|
291
290
|
readonly next: "*";
|
292
|
-
}, {
|
293
291
|
readonly blankLine: "always";
|
292
|
+
}, {
|
294
293
|
readonly prev: "case";
|
295
294
|
readonly next: readonly ["case", "default"];
|
296
|
-
}, {
|
297
295
|
readonly blankLine: "always";
|
296
|
+
}, {
|
298
297
|
readonly prev: "default";
|
299
298
|
readonly next: "*";
|
300
|
-
}, {
|
301
299
|
readonly blankLine: "always";
|
300
|
+
}, {
|
302
301
|
readonly prev: "type";
|
303
302
|
readonly next: "*";
|
303
|
+
readonly blankLine: "always";
|
304
304
|
}, {
|
305
|
-
readonly blankLine: "never";
|
306
305
|
readonly prev: "type";
|
307
306
|
readonly next: "type";
|
307
|
+
readonly blankLine: "never";
|
308
308
|
}, {
|
309
|
-
readonly blankLine: "always";
|
310
309
|
readonly prev: "function";
|
311
310
|
readonly next: "*";
|
312
|
-
}, {
|
313
311
|
readonly blankLine: "always";
|
312
|
+
}, {
|
314
313
|
readonly prev: "function-overload";
|
315
314
|
readonly next: "*";
|
315
|
+
readonly blankLine: "always";
|
316
316
|
}, {
|
317
|
-
readonly blankLine: "never";
|
318
317
|
readonly prev: "function-overload";
|
319
318
|
readonly next: "function-overload";
|
320
|
-
}, {
|
321
319
|
readonly blankLine: "never";
|
320
|
+
}, {
|
322
321
|
readonly prev: "function-overload";
|
323
322
|
readonly next: "function";
|
323
|
+
readonly blankLine: "never";
|
324
324
|
}, {
|
325
|
-
readonly blankLine: "always";
|
326
325
|
readonly prev: readonly ["const", "let", "var"];
|
327
326
|
readonly next: "*";
|
327
|
+
readonly blankLine: "always";
|
328
328
|
}, {
|
329
|
-
readonly blankLine: "never";
|
330
329
|
readonly prev: readonly ["const", "let", "var"];
|
331
330
|
readonly next: readonly ["const", "let", "var"];
|
331
|
+
readonly blankLine: "never";
|
332
332
|
}, {
|
333
|
-
readonly blankLine: "always";
|
334
333
|
readonly prev: "expression";
|
335
334
|
readonly next: "*";
|
335
|
+
readonly blankLine: "always";
|
336
336
|
}, {
|
337
|
-
readonly blankLine: "never";
|
338
337
|
readonly prev: "expression";
|
339
338
|
readonly next: "expression";
|
339
|
+
readonly blankLine: "never";
|
340
340
|
}, {
|
341
|
-
readonly blankLine: "always";
|
342
341
|
readonly prev: "*";
|
343
342
|
readonly next: readonly ["throw", "return", "break", "continue"];
|
344
|
-
}, {
|
345
343
|
readonly blankLine: "always";
|
344
|
+
}, {
|
346
345
|
readonly prev: "*";
|
347
346
|
readonly next: readonly ["export", "cjs-export"];
|
347
|
+
readonly blankLine: "always";
|
348
348
|
}, {
|
349
|
-
readonly blankLine: "never";
|
350
349
|
readonly prev: readonly ["export", "cjs-export"];
|
351
350
|
readonly next: readonly ["export", "cjs-export"];
|
351
|
+
readonly blankLine: "never";
|
352
352
|
}];
|
353
353
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
354
354
|
readonly keywords: true;
|
@@ -760,7 +760,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
760
760
|
readonly onlyEquality: false;
|
761
761
|
}];
|
762
762
|
readonly "unicode-bom": "off";
|
763
|
-
}], readonly ["disable
|
763
|
+
}], readonly ["disable", {
|
764
764
|
readonly "constructor-super": "off";
|
765
765
|
readonly "no-const-assign": "off";
|
766
766
|
readonly "no-dupe-args": "off";
|
@@ -1134,7 +1134,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
1134
1134
|
}], readonly ["disable-ts", {
|
1135
1135
|
readonly "no-unused-vars": "off";
|
1136
1136
|
readonly "@typescript-eslint/no-unused-vars": "off";
|
1137
|
-
}], readonly ["disable
|
1137
|
+
}], readonly ["disable", {
|
1138
1138
|
readonly "no-inner-declarations": "off";
|
1139
1139
|
}], readonly ["enable-extend", {
|
1140
1140
|
readonly "svelte/no-inner-declarations": readonly ["error", "both", {
|
@@ -1266,4 +1266,4 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
1266
1266
|
readonly "svelte/system": "error";
|
1267
1267
|
}]];
|
1268
1268
|
export default _default;
|
1269
|
-
//# sourceMappingURL=
|
1269
|
+
//# sourceMappingURL=svelte.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/rules/svelte.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOW"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import TsRuleset from "./ts.js";
|
2
|
+
import DisableJS from "./svelte/disable_js.js";
|
3
|
+
import DisableTS from "./svelte/disable_ts.js";
|
4
|
+
import DisableX from "./svelte/disable.js";
|
5
|
+
import EnableX from "./svelte/enable_x.js";
|
6
|
+
import Enable from "./svelte/enable.js";
|
7
|
+
export default [
|
8
|
+
...TsRuleset,
|
9
|
+
DisableJS,
|
10
|
+
DisableTS,
|
11
|
+
DisableX,
|
12
|
+
EnableX,
|
13
|
+
Enable,
|
14
|
+
];
|
15
|
+
//# sourceMappingURL=svelte.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/rules/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,SAAS,CAAC;AAChC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,eAAe;IACb,GAAG,SAAS;IACZ,SAAS;IACT,SAAS;IACT,QAAQ;IACR,OAAO;IACP,MAAM;CACE,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: readonly ["disable
|
1
|
+
declare const _default: readonly ["disable", {
|
2
2
|
readonly "constructor-super": "off";
|
3
3
|
readonly "no-const-assign": "off";
|
4
4
|
readonly "no-dupe-args": "off";
|
@@ -15,4 +15,4 @@ declare const _default: readonly ["disable-compiler", {
|
|
15
15
|
readonly "no-redeclare": "off";
|
16
16
|
}];
|
17
17
|
export default _default;
|
18
|
-
//# sourceMappingURL=
|
18
|
+
//# sourceMappingURL=disable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,wBAmBW"}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
const { Level: { OFF } } = Strings;
|
1
|
+
import { disable, OFF } from "../_strings.js";
|
3
2
|
export default [
|
4
|
-
|
3
|
+
disable,
|
5
4
|
{
|
6
5
|
"constructor-super": OFF,
|
7
6
|
"no-const-assign": OFF,
|
@@ -19,4 +18,4 @@ export default [
|
|
19
18
|
"no-redeclare": OFF,
|
20
19
|
},
|
21
20
|
];
|
22
|
-
//# sourceMappingURL=
|
21
|
+
//# sourceMappingURL=disable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAe;IACb,OAAO;IACP;QAEE,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;QACzB,mBAAmB,EAAE,GAAG;QACxB,cAAc,EAAE,GAAG;KACpB;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA6BW"}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
const { Id: { DisableX }, Level: { OFF } } = Strings;
|
1
|
+
import { disable_x, OFF } from "../_strings.js";
|
3
2
|
export default [
|
4
|
-
|
3
|
+
disable_x,
|
5
4
|
{
|
6
5
|
"class-methods-use-this": OFF,
|
7
6
|
"consistent-return": OFF,
|
@@ -29,4 +28,4 @@ export default [
|
|
29
28
|
"require-await": OFF,
|
30
29
|
},
|
31
30
|
];
|
32
|
-
//# sourceMappingURL=
|
31
|
+
//# sourceMappingURL=disable_x.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAEhD,eAAe;IACb,SAAS;IACT;QAEE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY,EAAE,GAAG;QACjB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,GAAG;QAC5B,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG;QACvB,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACrB;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA8hBW"}
|