https://github.com/rodneylab/sveltekit-lint-css
SvelteKit CSS stylelint: how you can lint vanilla CSS within your Svelte source files using stylelint accessibility and best practice rules.
https://github.com/rodneylab/sveltekit-lint-css
css stylelint sveltekit vanilla-css
Last synced: over 1 year ago
JSON representation
SvelteKit CSS stylelint: how you can lint vanilla CSS within your Svelte source files using stylelint accessibility and best practice rules.
- Host: GitHub
- URL: https://github.com/rodneylab/sveltekit-lint-css
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2021-11-15T14:31:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T06:57:26.000Z (over 2 years ago)
- Last Synced: 2025-01-08T13:52:40.768Z (over 1 year ago)
- Topics: css, stylelint, sveltekit, vanilla-css
- Language: Svelte
- Homepage:
- Size: 469 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

SvelteKit CSS stylelint
# sveltekit-css-stylelint
[](https://stackblitz.com/github/rodneylab/sveltekit-css-stylelint)
Demo code for linting CSS in SvelteKit using stylelint. The code accompanies the video on SvelteKit CSS stylelint. If you have any questions, please drop a comment at the bottom of that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/sveltekit-css-stylelint.git
cd sveltekit-css-stylelint
pnpm install # or npm install
pnpm run dev
```
## Building
```bash
pnpm run build
```
> You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).