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,585 @@
|
|
1
|
+
import { stylistic, level, state } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level, { Never, Always, AlwaysMultiline, Consistent, AsNeeded, Strict, All, Star, Last, Before, After, Below, Beside, Inside, Double, } = state;
|
3
|
+
export default [
|
4
|
+
stylistic,
|
5
|
+
{
|
6
|
+
"@stylistic/array-bracket-newline": [
|
7
|
+
ERROR,
|
8
|
+
{
|
9
|
+
multiline: true,
|
10
|
+
minItems: null,
|
11
|
+
},
|
12
|
+
],
|
13
|
+
"@stylistic/array-bracket-spacing": [
|
14
|
+
ERROR,
|
15
|
+
Never,
|
16
|
+
{
|
17
|
+
singleValue: false,
|
18
|
+
objectsInArrays: false,
|
19
|
+
arraysInArrays: false,
|
20
|
+
},
|
21
|
+
],
|
22
|
+
"@stylistic/array-element-newline": [
|
23
|
+
ERROR,
|
24
|
+
{
|
25
|
+
ArrayExpression: {
|
26
|
+
consistent: true,
|
27
|
+
multiline: true,
|
28
|
+
minItems: 4,
|
29
|
+
},
|
30
|
+
ArrayPattern: {
|
31
|
+
consistent: true,
|
32
|
+
multiline: true,
|
33
|
+
minItems: 4,
|
34
|
+
},
|
35
|
+
},
|
36
|
+
],
|
37
|
+
"@stylistic/arrow-parens": [
|
38
|
+
ERROR,
|
39
|
+
AsNeeded,
|
40
|
+
{
|
41
|
+
requireForBlockBody: false,
|
42
|
+
},
|
43
|
+
],
|
44
|
+
"@stylistic/arrow-spacing": [
|
45
|
+
ERROR,
|
46
|
+
{
|
47
|
+
before: true,
|
48
|
+
after: true,
|
49
|
+
},
|
50
|
+
],
|
51
|
+
"@stylistic/block-spacing": [ERROR, Always],
|
52
|
+
"@stylistic/brace-style": [
|
53
|
+
ERROR,
|
54
|
+
"stroustrup",
|
55
|
+
{
|
56
|
+
allowSingleLine: true,
|
57
|
+
},
|
58
|
+
],
|
59
|
+
"@stylistic/comma-dangle": [ERROR, AlwaysMultiline],
|
60
|
+
"@stylistic/comma-spacing": [
|
61
|
+
ERROR,
|
62
|
+
{
|
63
|
+
before: false,
|
64
|
+
after: true,
|
65
|
+
},
|
66
|
+
],
|
67
|
+
"@stylistic/comma-style": [
|
68
|
+
ERROR,
|
69
|
+
Last,
|
70
|
+
{
|
71
|
+
exceptions: {
|
72
|
+
ArrayExpression: false,
|
73
|
+
ArrayPattern: false,
|
74
|
+
ArrowFunctionExpression: false,
|
75
|
+
CallExpression: false,
|
76
|
+
FunctionDeclaration: false,
|
77
|
+
FunctionExpression: false,
|
78
|
+
ImportDeclaration: false,
|
79
|
+
ObjectExpression: false,
|
80
|
+
ObjectPattern: false,
|
81
|
+
VariableDeclaration: false,
|
82
|
+
NewExpression: false,
|
83
|
+
},
|
84
|
+
},
|
85
|
+
],
|
86
|
+
"@stylistic/computed-property-spacing": [
|
87
|
+
ERROR,
|
88
|
+
Never,
|
89
|
+
{
|
90
|
+
enforceForClassMembers: true,
|
91
|
+
},
|
92
|
+
],
|
93
|
+
"@stylistic/dot-location": [ERROR, "property"],
|
94
|
+
"@stylistic/eol-last": [ERROR, Always],
|
95
|
+
"@stylistic/function-call-argument-newline": [ERROR, Consistent],
|
96
|
+
"@stylistic/function-call-spacing": [ERROR, Never],
|
97
|
+
"@stylistic/function-paren-newline": [ERROR, "multiline-arguments"],
|
98
|
+
"@stylistic/generator-star-spacing": [
|
99
|
+
ERROR,
|
100
|
+
{
|
101
|
+
before: true,
|
102
|
+
after: false,
|
103
|
+
},
|
104
|
+
],
|
105
|
+
"@stylistic/implicit-arrow-linebreak": [ERROR, Beside],
|
106
|
+
"@stylistic/indent": [
|
107
|
+
ERROR,
|
108
|
+
2,
|
109
|
+
{
|
110
|
+
ignoredNodes: [],
|
111
|
+
SwitchCase: 1,
|
112
|
+
VariableDeclarator: { "var": 0, let: 0, "const": 0 },
|
113
|
+
outerIIFEBody: 0,
|
114
|
+
MemberExpression: 1,
|
115
|
+
FunctionDeclaration: { parameters: 1, body: 1 },
|
116
|
+
FunctionExpression: { parameters: 1, body: 1 },
|
117
|
+
StaticBlock: { body: 1 },
|
118
|
+
CallExpression: { arguments: 1 },
|
119
|
+
ArrayExpression: 1,
|
120
|
+
ObjectExpression: 1,
|
121
|
+
ImportDeclaration: 1,
|
122
|
+
flatTernaryExpressions: false,
|
123
|
+
offsetTernaryExpressions: true,
|
124
|
+
ignoreComments: false,
|
125
|
+
},
|
126
|
+
],
|
127
|
+
"@stylistic/indent-binary-ops": [ERROR, 2],
|
128
|
+
"@stylistic/key-spacing": [
|
129
|
+
ERROR,
|
130
|
+
{
|
131
|
+
beforeColon: false,
|
132
|
+
afterColon: true,
|
133
|
+
mode: Strict,
|
134
|
+
},
|
135
|
+
],
|
136
|
+
"@stylistic/keyword-spacing": [
|
137
|
+
ERROR,
|
138
|
+
{
|
139
|
+
before: true,
|
140
|
+
after: true,
|
141
|
+
overrides: {},
|
142
|
+
},
|
143
|
+
],
|
144
|
+
"@stylistic/line-comment-position": OFF,
|
145
|
+
"@stylistic/lines-around-comment": [
|
146
|
+
ERROR,
|
147
|
+
{
|
148
|
+
beforeBlockComment: false,
|
149
|
+
afterBlockComment: false,
|
150
|
+
beforeLineComment: true,
|
151
|
+
afterLineComment: false,
|
152
|
+
allowBlockStart: true,
|
153
|
+
allowBlockEnd: true,
|
154
|
+
allowObjectStart: true,
|
155
|
+
allowObjectEnd: true,
|
156
|
+
allowArrayStart: true,
|
157
|
+
allowArrayEnd: true,
|
158
|
+
allowClassStart: true,
|
159
|
+
allowClassEnd: true,
|
160
|
+
applyDefaultIgnorePatterns: true,
|
161
|
+
afterHashbangComment: false,
|
162
|
+
allowEnumEnd: true,
|
163
|
+
allowEnumStart: true,
|
164
|
+
allowInterfaceEnd: true,
|
165
|
+
allowInterfaceStart: true,
|
166
|
+
allowModuleEnd: true,
|
167
|
+
allowModuleStart: true,
|
168
|
+
allowTypeEnd: true,
|
169
|
+
allowTypeStart: true,
|
170
|
+
},
|
171
|
+
],
|
172
|
+
"@stylistic/lines-between-class-members": [
|
173
|
+
ERROR,
|
174
|
+
{
|
175
|
+
enforce: [
|
176
|
+
{ prev: "field", next: "field", blankLine: Never },
|
177
|
+
{ prev: "field", next: "method", blankLine: Always },
|
178
|
+
{ prev: "method", next: Star, blankLine: Always },
|
179
|
+
],
|
180
|
+
},
|
181
|
+
{
|
182
|
+
exceptAfterSingleLine: false,
|
183
|
+
exceptAfterOverload: true,
|
184
|
+
},
|
185
|
+
],
|
186
|
+
"@stylistic/max-len": [
|
187
|
+
ERROR,
|
188
|
+
{
|
189
|
+
code: 150,
|
190
|
+
tabWidth: 2,
|
191
|
+
ignoreComments: true,
|
192
|
+
ignoreTrailingComments: true,
|
193
|
+
ignoreUrls: true,
|
194
|
+
ignoreStrings: true,
|
195
|
+
ignoreTemplateLiterals: true,
|
196
|
+
ignoreRegExpLiterals: true,
|
197
|
+
},
|
198
|
+
],
|
199
|
+
"@stylistic/max-statements-per-line": [
|
200
|
+
ERROR,
|
201
|
+
{
|
202
|
+
max: 1,
|
203
|
+
},
|
204
|
+
],
|
205
|
+
"@stylistic/member-delimiter-style": [
|
206
|
+
ERROR,
|
207
|
+
{
|
208
|
+
multiline: {
|
209
|
+
delimiter: "semi",
|
210
|
+
requireLast: true,
|
211
|
+
},
|
212
|
+
singleline: {
|
213
|
+
delimiter: "semi",
|
214
|
+
requireLast: false,
|
215
|
+
},
|
216
|
+
multilineDetection: "brackets",
|
217
|
+
},
|
218
|
+
],
|
219
|
+
"@stylistic/multiline-comment-style": OFF,
|
220
|
+
"@stylistic/multiline-ternary": [ERROR, AlwaysMultiline],
|
221
|
+
"@stylistic/new-parens": [OFF, Never],
|
222
|
+
"@stylistic/newline-per-chained-call": [
|
223
|
+
ERROR,
|
224
|
+
{
|
225
|
+
ignoreChainWithDepth: 2,
|
226
|
+
},
|
227
|
+
],
|
228
|
+
"@stylistic/no-confusing-arrow": OFF,
|
229
|
+
"@stylistic/no-extra-parens": [
|
230
|
+
ERROR,
|
231
|
+
All,
|
232
|
+
{
|
233
|
+
conditionalAssign: true,
|
234
|
+
returnAssign: true,
|
235
|
+
nestedBinaryExpressions: true,
|
236
|
+
ternaryOperandBinaryExpressions: true,
|
237
|
+
enforceForArrowConditionals: true,
|
238
|
+
enforceForSequenceExpressions: true,
|
239
|
+
enforceForNewInMemberExpressions: true,
|
240
|
+
enforceForFunctionPrototypeMethods: true,
|
241
|
+
},
|
242
|
+
],
|
243
|
+
"@stylistic/no-extra-semi": ERROR,
|
244
|
+
"@stylistic/no-floating-decimal": ERROR,
|
245
|
+
"@stylistic/no-mixed-operators": OFF,
|
246
|
+
"@stylistic/no-mixed-spaces-and-tabs": ERROR,
|
247
|
+
"@stylistic/no-multi-spaces": [
|
248
|
+
ERROR,
|
249
|
+
{
|
250
|
+
ignoreEOLComments: false,
|
251
|
+
exceptions: { Property: false },
|
252
|
+
includeTabs: true,
|
253
|
+
},
|
254
|
+
],
|
255
|
+
"@stylistic/no-multiple-empty-lines": [
|
256
|
+
ERROR,
|
257
|
+
{
|
258
|
+
max: 1,
|
259
|
+
maxEOF: 1,
|
260
|
+
maxBOF: 0,
|
261
|
+
},
|
262
|
+
],
|
263
|
+
"@stylistic/no-tabs": [
|
264
|
+
ERROR,
|
265
|
+
{
|
266
|
+
allowIndentationTabs: false,
|
267
|
+
},
|
268
|
+
],
|
269
|
+
"@stylistic/no-trailing-spaces": [
|
270
|
+
ERROR,
|
271
|
+
{
|
272
|
+
skipBlankLines: false,
|
273
|
+
ignoreComments: false,
|
274
|
+
},
|
275
|
+
],
|
276
|
+
"@stylistic/no-whitespace-before-property": ERROR,
|
277
|
+
"@stylistic/nonblock-statement-body-position": [
|
278
|
+
ERROR,
|
279
|
+
Below,
|
280
|
+
{
|
281
|
+
overrides: {
|
282
|
+
"if": Below,
|
283
|
+
"else": Below,
|
284
|
+
"while": Below,
|
285
|
+
"do": Below,
|
286
|
+
"for": Below,
|
287
|
+
},
|
288
|
+
},
|
289
|
+
],
|
290
|
+
"@stylistic/object-curly-newline": [
|
291
|
+
ERROR,
|
292
|
+
{
|
293
|
+
ObjectExpression: {
|
294
|
+
consistent: true,
|
295
|
+
multiline: true,
|
296
|
+
minProperties: 4,
|
297
|
+
},
|
298
|
+
ObjectPattern: {
|
299
|
+
consistent: true,
|
300
|
+
multiline: true,
|
301
|
+
minProperties: 4,
|
302
|
+
},
|
303
|
+
ImportDeclaration: {
|
304
|
+
consistent: true,
|
305
|
+
multiline: true,
|
306
|
+
minProperties: 4,
|
307
|
+
},
|
308
|
+
ExportDeclaration: {
|
309
|
+
consistent: true,
|
310
|
+
multiline: true,
|
311
|
+
minProperties: 4,
|
312
|
+
},
|
313
|
+
},
|
314
|
+
],
|
315
|
+
"@stylistic/object-curly-spacing": [
|
316
|
+
ERROR,
|
317
|
+
Always,
|
318
|
+
{
|
319
|
+
arraysInObjects: true,
|
320
|
+
objectsInObjects: true,
|
321
|
+
},
|
322
|
+
],
|
323
|
+
"@stylistic/object-property-newline": [
|
324
|
+
ERROR,
|
325
|
+
{
|
326
|
+
allowAllPropertiesOnSameLine: true,
|
327
|
+
},
|
328
|
+
],
|
329
|
+
"@stylistic/one-var-declaration-per-line": [ERROR, Always],
|
330
|
+
"@stylistic/operator-linebreak": [
|
331
|
+
ERROR,
|
332
|
+
Before,
|
333
|
+
{
|
334
|
+
overrides: {
|
335
|
+
"=": After,
|
336
|
+
},
|
337
|
+
},
|
338
|
+
],
|
339
|
+
"@stylistic/padded-blocks": [
|
340
|
+
ERROR,
|
341
|
+
{
|
342
|
+
blocks: Never,
|
343
|
+
classes: Never,
|
344
|
+
switches: Never,
|
345
|
+
},
|
346
|
+
{
|
347
|
+
allowSingleLineBlocks: true,
|
348
|
+
},
|
349
|
+
],
|
350
|
+
"@stylistic/padding-line-between-statements": [
|
351
|
+
ERROR,
|
352
|
+
{
|
353
|
+
prev: "directive",
|
354
|
+
next: Star,
|
355
|
+
blankLine: Always,
|
356
|
+
},
|
357
|
+
{
|
358
|
+
prev: "directive",
|
359
|
+
next: "directive",
|
360
|
+
blankLine: Never,
|
361
|
+
},
|
362
|
+
{
|
363
|
+
prev: ["import", "cjs-import"],
|
364
|
+
next: Star,
|
365
|
+
blankLine: Always,
|
366
|
+
},
|
367
|
+
{
|
368
|
+
prev: ["import", "cjs-import"],
|
369
|
+
next: ["import", "cjs-import"],
|
370
|
+
blankLine: Never,
|
371
|
+
},
|
372
|
+
{
|
373
|
+
prev: [
|
374
|
+
"class",
|
375
|
+
"interface",
|
376
|
+
"try",
|
377
|
+
"for",
|
378
|
+
"if",
|
379
|
+
"do",
|
380
|
+
"while",
|
381
|
+
"switch",
|
382
|
+
"block",
|
383
|
+
"block-like",
|
384
|
+
"iife",
|
385
|
+
"empty",
|
386
|
+
"debugger",
|
387
|
+
"with",
|
388
|
+
],
|
389
|
+
next: Star,
|
390
|
+
blankLine: Always,
|
391
|
+
},
|
392
|
+
{
|
393
|
+
prev: "case",
|
394
|
+
next: Star,
|
395
|
+
blankLine: Always,
|
396
|
+
},
|
397
|
+
{
|
398
|
+
prev: "case",
|
399
|
+
next: ["case", "default"],
|
400
|
+
blankLine: Always,
|
401
|
+
},
|
402
|
+
{
|
403
|
+
prev: "default",
|
404
|
+
next: Star,
|
405
|
+
blankLine: Always,
|
406
|
+
},
|
407
|
+
{
|
408
|
+
prev: "type",
|
409
|
+
next: Star,
|
410
|
+
blankLine: Always,
|
411
|
+
},
|
412
|
+
{
|
413
|
+
prev: "type",
|
414
|
+
next: "type",
|
415
|
+
blankLine: Never,
|
416
|
+
},
|
417
|
+
{
|
418
|
+
prev: "function",
|
419
|
+
next: Star,
|
420
|
+
blankLine: Always,
|
421
|
+
},
|
422
|
+
{
|
423
|
+
prev: "function-overload",
|
424
|
+
next: Star,
|
425
|
+
blankLine: Always,
|
426
|
+
},
|
427
|
+
{
|
428
|
+
prev: "function-overload",
|
429
|
+
next: "function-overload",
|
430
|
+
blankLine: Never,
|
431
|
+
},
|
432
|
+
{
|
433
|
+
prev: "function-overload",
|
434
|
+
next: "function",
|
435
|
+
blankLine: Never,
|
436
|
+
},
|
437
|
+
{
|
438
|
+
prev: ["const", "let", "var"],
|
439
|
+
next: Star,
|
440
|
+
blankLine: Always,
|
441
|
+
},
|
442
|
+
{
|
443
|
+
prev: ["const", "let", "var"],
|
444
|
+
next: ["const", "let", "var"],
|
445
|
+
blankLine: Never,
|
446
|
+
},
|
447
|
+
{
|
448
|
+
prev: "expression",
|
449
|
+
next: Star,
|
450
|
+
blankLine: Always,
|
451
|
+
},
|
452
|
+
{
|
453
|
+
prev: "expression",
|
454
|
+
next: "expression",
|
455
|
+
blankLine: Never,
|
456
|
+
},
|
457
|
+
{
|
458
|
+
prev: Star,
|
459
|
+
next: [
|
460
|
+
"throw",
|
461
|
+
"return",
|
462
|
+
"break",
|
463
|
+
"continue",
|
464
|
+
],
|
465
|
+
blankLine: Always,
|
466
|
+
},
|
467
|
+
{
|
468
|
+
prev: Star,
|
469
|
+
next: ["export", "cjs-export"],
|
470
|
+
blankLine: Always,
|
471
|
+
},
|
472
|
+
{
|
473
|
+
prev: ["export", "cjs-export"],
|
474
|
+
next: ["export", "cjs-export"],
|
475
|
+
blankLine: Never,
|
476
|
+
},
|
477
|
+
],
|
478
|
+
"@stylistic/quote-props": [
|
479
|
+
ERROR,
|
480
|
+
AsNeeded,
|
481
|
+
{
|
482
|
+
keywords: true,
|
483
|
+
unnecessary: true,
|
484
|
+
numbers: false,
|
485
|
+
},
|
486
|
+
],
|
487
|
+
"@stylistic/quotes": [
|
488
|
+
ERROR,
|
489
|
+
Double,
|
490
|
+
{
|
491
|
+
avoidEscape: true,
|
492
|
+
allowTemplateLiterals: true,
|
493
|
+
},
|
494
|
+
],
|
495
|
+
"@stylistic/rest-spread-spacing": [ERROR, Never],
|
496
|
+
"@stylistic/semi": [
|
497
|
+
ERROR,
|
498
|
+
Always,
|
499
|
+
{
|
500
|
+
omitLastInOneLineBlock: false,
|
501
|
+
omitLastInOneLineClassBody: false,
|
502
|
+
},
|
503
|
+
],
|
504
|
+
"@stylistic/semi-spacing": [
|
505
|
+
ERROR,
|
506
|
+
{
|
507
|
+
before: false,
|
508
|
+
after: true,
|
509
|
+
},
|
510
|
+
],
|
511
|
+
"@stylistic/semi-style": [ERROR, Last],
|
512
|
+
"@stylistic/space-before-blocks": [
|
513
|
+
ERROR,
|
514
|
+
{
|
515
|
+
functions: Always,
|
516
|
+
keywords: Always,
|
517
|
+
classes: Always,
|
518
|
+
},
|
519
|
+
],
|
520
|
+
"@stylistic/space-before-function-paren": [
|
521
|
+
ERROR,
|
522
|
+
{
|
523
|
+
anonymous: Always,
|
524
|
+
named: Never,
|
525
|
+
asyncArrow: Always,
|
526
|
+
},
|
527
|
+
],
|
528
|
+
"@stylistic/space-in-parens": [ERROR, Never],
|
529
|
+
"@stylistic/space-infix-ops": [
|
530
|
+
ERROR,
|
531
|
+
{
|
532
|
+
int32Hint: true,
|
533
|
+
},
|
534
|
+
],
|
535
|
+
"@stylistic/space-unary-ops": [
|
536
|
+
ERROR,
|
537
|
+
{
|
538
|
+
words: true,
|
539
|
+
nonwords: false,
|
540
|
+
overrides: {},
|
541
|
+
},
|
542
|
+
],
|
543
|
+
"@stylistic/spaced-comment": [ERROR, Always],
|
544
|
+
"@stylistic/switch-colon-spacing": [
|
545
|
+
ERROR,
|
546
|
+
{
|
547
|
+
after: true,
|
548
|
+
before: false,
|
549
|
+
},
|
550
|
+
],
|
551
|
+
"@stylistic/template-curly-spacing": [ERROR, Never],
|
552
|
+
"@stylistic/template-tag-spacing": [ERROR, Never],
|
553
|
+
"@stylistic/type-annotation-spacing": [
|
554
|
+
ERROR,
|
555
|
+
{
|
556
|
+
before: true,
|
557
|
+
after: true,
|
558
|
+
overrides: {
|
559
|
+
colon: {
|
560
|
+
before: false,
|
561
|
+
after: true,
|
562
|
+
},
|
563
|
+
},
|
564
|
+
},
|
565
|
+
],
|
566
|
+
"@stylistic/type-generic-spacing": ERROR,
|
567
|
+
"@stylistic/type-named-tuple-spacing": ERROR,
|
568
|
+
"@stylistic/wrap-iife": [
|
569
|
+
ERROR,
|
570
|
+
Inside,
|
571
|
+
{
|
572
|
+
functionPrototypeMethods: true,
|
573
|
+
},
|
574
|
+
],
|
575
|
+
"@stylistic/wrap-regex": ERROR,
|
576
|
+
"@stylistic/yield-star-spacing": [
|
577
|
+
ERROR,
|
578
|
+
{
|
579
|
+
before: false,
|
580
|
+
after: true,
|
581
|
+
},
|
582
|
+
],
|
583
|
+
},
|
584
|
+
];
|
585
|
+
//# sourceMappingURL=enable_stylistic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_stylistic.js","sourceRoot":"","sources":["../../../src/rules/js/enable_stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEzD,MACA,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EACE,KAAK,EACL,MAAM,EACN,eAAe,EACf,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,SAAS;IACT;QAEE,kCAAkC,EAAE;YAClC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,kCAAkC,EAAE;YAClC,KAAK;YACL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