My Personal Prettier Configurations
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"trailingComma": "all",
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"quoteProps": "as-needed",
"endOfLine": "lf"
}
Install
npm i -D @aboqasem/prettierrc
Use
// .prettierrc
"@aboqasem/prettierrc"
Override
/** @type {import('prettier').ParserOptions} */
module.exports = {
...require('@aboqasem/prettierrc'),
printWidth: 100,
};
My Personal Prettier Configurations
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"trailingComma": "all",
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"quoteProps": "as-needed",
"endOfLine": "lf"
}
Install
npm i -D @aboqasem/prettierrc
Use
// .prettierrc
"@aboqasem/prettierrc"
Override
/** @type {import('prettier').ParserOptions} */
module.exports = {
...require('@aboqasem/prettierrc'),
printWidth: 100,
};