@yiliang114/prettier-config
v3.0.4
Published
yiliang114's personal config of base prettier config.
Downloads
135
Readme
@yiliang114/prettier-config
Personal prettier configuration.
Usage
JSON:
// .prettierrc.json
"@yiliang114/prettier-config"
.prettierrc:
"@yiliang114/prettier-config"
JS:
// prettier.config.js or .prettierrc.js
module.exports = require('@yiliang114/prettier-config');
Reference it in your package.json
:
{
"name": "@yiliang114/prettier-config",
"version": "0.0.2",
"prettier": "@yiliang114/prettier-config"
}
Tips
After modifying the prettier configuration, if it does not take effect, restart editors such as vscode.