@citrus-linting/prettier-config
v0.6.0
Published
Prettier config used by CitRUS.
Downloads
4
Maintainers
Readme
@citrus-linting/prettier-config
Prettier config used by CitRUS.
Usage
JavaScript
Install dependencies:
npm add -D prettier @citrus-linting/prettier-config
Add extends
field to your Prettier config:
module.exports = {
...require("@citrus-linting/prettier-config")
// your options
}
Svelte
Install dependencies:
npm add -D prettier prettier-plugin-svelte @citrus-linting/prettier-config
Add extends
field to your Prettier config:
module.exports = {
...require("@citrus-linting/prettier-config"),
...require("@citrus-linting/prettier-config/svelte")
// your options
}