@aboqasem/prettierrc 中文文档教程
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,
};
更多
你可能也喜欢
- 2p-dsl-solve 中文文档教程
- 360-webrtc 中文文档教程
- @0x/monorepo-scripts 中文文档教程
- @10play/phoenix 中文文档教程
- @128keaton/leaflet.markercluster 中文文档教程
- @1stquad/react-bootstrap-datetimepicker 中文文档教程
- @20i/distributed-lock 中文文档教程
- @20minutes/eslint-plugin-graphql 中文文档教程
- @2bitgmbh/planning-component 中文文档教程
- @2stefant.org/alldays 中文文档教程