@angular-ru/prettier

14.0.13 • Public • Published

Shareable Prettier config for Angular projects

image image

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

Readme

Keywords

none

Package Sidebar

Install

npm i @angular-ru/prettier

Weekly Downloads

12

Version

14.0.13

License

MIT

Unpacked Size

3.65 kB

Total Files

3

Last publish

Collaborators

  • splincode
  • angular-ru