1.2.1 • Published 1 year ago

@indigo-multimedia/prettier-config v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Indigo Prettier Config

How to install prettier

prettier docs here

  1. Install prettier into YOUR PROJECT

    npm install --save-dev prettier
  2. Install @indigo-multimedia/prettier-config into YOUR PROJECT

    npm install --save-dev @indigo-multimedia/prettier-config

How to configure prettier in your project

  1. In root directory of your project, create a ".prettierrc" file

  2. In the ".prettierrc" file, add the following line:

    "@indigo-multimedia/prettier-config"
  3. In the root directory of your project, create a ".prettierignore" file

  4. In the ".prettierignore" file, add the following line:

    node_modules
  5. (optional) In VS Code configure prettier extension to format on save:

    • Open settings.json
    • Add the following line:
      "editor.formatOnSave": true,
      "editor.defaultFormatter": "esbenp.prettier-vscode",
1.2.1

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago