A modern and accessibility forward Prettier config that aligns with the community.
yarn add --dev prettier-config-moon
Extend the config from your root prettier.config.js
or .prettierrc.js
.
module.exports = 'prettier-config-moon';
- Uses tabs over spaces for accessibility compliance.
- Displays arrow parenthesis and trailing commas.
- Includes semi colons and avoids ASI.
- Prefers single quoted strongs and spaces for indentation.