@captive/prettier-config v2.0.12
Captive Prettier configuration (@captive/prettier-config)
Prettier shared configuration
Installation
npm install --save-dev @captive/prettier-config
Usage
In the .prettierrc.json
for your project
"@captive/prettier-config"
Or in the .prettierrc.js
, to be able to override rules
module.exports = {
...require('@captive/prettier-config'),
// Override rules
};
Rules
{
"default": {
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": [
"*.css",
"*.scss"
],
"options": {
"trailingComma": "none"
}
}
]
}
}
Requirements
Prettier: 2.x || 3.x
License
MIT © Julien Polo julien.polo@gmail.com
About Captive
@captive/prettier-config is maintained and funded by Captive. The names and logos for captive are trademarks of captive-studio.
We love open source software! See our other projects or hire us to design, develop, and grow your product.
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago