- No semicolons
- Use single quotes
Add to package.json:
{
"prettier": "@cristianl/prettier-config"
}
If you must override this config for a project, do not add that line to package.json. Instead, create a prettier.config.js file:
module.exports = {
...require('@cristianl/prettier-config'),
// custom properties below
}