$ npm install @angular-ru/prettier-config -D
Add to your package.json
:
{
"name": "my-app-project",
"version": "9000.0.1",
"prettier": "@angular-ru/prettier-config"
}
or .prettierrc.js
:
module.exports = {
...require('@angular-ru/prettier-config'),
semi: false
};
We recommend using these settings.
# Editor configuration, see http://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