Skip to content

robinvandernoord/su6-plugin-svelte-check

Repository files navigation

su6-plugin-svelte-check

Plugin for su6 that adds svelte-check functionality.

Installation

pip install su6-plugin-svelte-check
# or
pip install su6[svelte-check]

Usage

# optionally, if svelte-check isn't installed yet:
su6 install-svelte-check

su6 svelte-check

pyproject.toml

(all keys are optional, and also usable as flags to svelte-check (e.g. --strict or --target ./path/to/files))

[tool.su6.prettier]
target = "./path/to/svelte/files"
node_modules = "./path/to/node_modules"

strict = true | false
tsconfig = "./path/to/tsconfig.json"

License

su6-plugin-svelte-check is distributed under the terms of the MIT license.