prettier-plugin-stylus
v0.1.0
Published
Prettier plugin for Stylus
Downloads
4,054
Readme
prettier-plugin-stylus
Features
- Pythonic style formatting
- Compatible with Vue.js Single-File Components
Usage
npm i prettier-plugin-stylus
Then add it to your prettierrc file, e.g.:
{
"plugins": ["prettier-plugin-stylus"],
"trailingComma": "all"
}
Or you can specify it in command line:
npx prettier --plugin=prettier-plugin-stylus some.styl
Contributing
Make sure you use the right version of pnpm
as specified in package.json
. It is also recommended to use corepack
to automatically switch to the correct version of pnpm
.
TODO
- [x] use vitest for tests
- [ ] @font-face
- [ ] object/hashes
- [ ] add plugin recommendation in prettier docs
- [ ] playground