Skip to content

Han Yeong-woo's extensible shared Prettier config

License

Notifications You must be signed in to change notification settings

nix6839/prettier-config

Repository files navigation

@nix6839/prettier-config

CI NPM Version

Han Yeong-woo's extensible shared Prettier config

Usage

1. Install prettier and this package

npm i -D @nix6839/prettier-config prettier

2. Add "@nix6839/prettier-config" to your .prettierrc

What is overridden

{
	singleQuote: true, // You don't have to press Shift.
	useTabs: true, // Accessibility first
	experimentalTernaries: true, // See: https://prettier.io/blog/2023/11/13/curious-ternaries
}

For accessibility of useTabs, see the following Reddit post.