Hypernym's internal config for Prettier.
Repository | Package | Releases | Discussions
npm i -D @hypernym/prettier-config
Add a format
command for manual formatting (optionally):
// package.json
{
"scripts": {
"format": "prettier --write .",
}
}
// package.json
{
"prettier": "@hypernym/prettier-config"
}
// prettier.config.js
export { default } from '@hypernym/prettier-config'
// prettier.config.js
import base from '@hypernym/prettier-config'
const config = {
...base,
singleQuote: false,
// ...
}
export default config
Feel free to ask questions or share new ideas.
Use the official discussions to get involved.
Developed in 🇭🇷 Croatia.
Released under the MIT license.
© Hypernym Studio