@ab.progr/prettier-config 中文文档教程
Installation
自定义更漂亮的配置
NPM
npm install @ab.progr/prettier-config --save-dev
or
npm i @ab.progr/prettier-config -D
YARN
yarn add @ab.progr/prettier-config --dev
or
yarn add @ab.progr/prettier-config -D
Usage
// if using .prettierrc or .prettierrc.json, add this line
"@ab.progr/prettier-config";
// to extend the configuration to overwrite some properties from the shared configuration use .prettierrc.js
module.exports = {
...require("@ab.progr/prettier-config"),
semi: false,
};
DEMO
Installation
Customized prettier config
NPM
npm install @ab.progr/prettier-config --save-dev
or
npm i @ab.progr/prettier-config -D
YARN
yarn add @ab.progr/prettier-config --dev
or
yarn add @ab.progr/prettier-config -D
Usage
// if using .prettierrc or .prettierrc.json, add this line
"@ab.progr/prettier-config";
// to extend the configuration to overwrite some properties from the shared configuration use .prettierrc.js
module.exports = {
...require("@ab.progr/prettier-config"),
semi: false,
};
DEMO
更多
你可能也喜欢
- @01-edu/api 中文文档教程
- @36node/redux-form-antd 中文文档教程
- @3kles/3kles-websocket 中文文档教程
- @4a/share-error 中文文档教程
- @4geit/rct-data-table-component 中文文档教程
- @9softstudio/react-multiselect 中文文档教程
- @abcnews/hash-scripts-loader 中文文档教程
- @acchrome/lotide 中文文档教程
- @ace-rbk/ckeditor-build-full-options 中文文档教程
- @acouvreur/maven-semantic-release 中文文档教程