@angular-ru/prettier
v14.0.13
Published
Shared Prettier config for Angular projects
Downloads
108
Readme
Shareable Prettier config for Angular projects
Quick start
$ npm install @angular-ru/prettier -D
Add to your package.json
:
{
"name": "my-app-project",
"version": "9000.0.1",
"prettier": "@angular-ru/prettier"
}
or .prettierrc.js
:
module.exports = {
...require('@angular-ru/prettier'),
// override
semi: false
};
.editorconfig
We recommend using these settings.
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_size = 4
end_of_line = lf
indent_style = space
max_line_length = 120
insert_final_newline = true
trim_trailing_whitespace = true