Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1002 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 1002 Bytes

prettier-plugin-stylus

Prettier plugin for Stylus.

Demo

Features

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

  • use vitest for tests
  • @font-face
  • object/hashes
  • add plugin recommendation in prettier docs
  • playground