Skip to content

Conversation

arcticicestudio
Copy link
Owner

@arcticicestudio arcticicestudio commented Jun 22, 2019

Resolves #37

Installed the main `prettier` (1) NPM package.

References:
  (1) npmjs.com/package/prettier

Epic: GH-33
Depends on GH-47 GH-49
GH-37
This is one of the main features of Prettier: It already provides the
best and recommended style configurations of-out-the-box.
The only option that has been changed is the print width (1). It is set
to `80` by default which not up-to-date for modern screens (might only
be relevant when working in terminals only like e.g. with Vim). It is
now set to `120` used by all of Arctic Ice Studio's style guides.
The `prettier.config.js` configuration file is placed in the project
root as well as the `.prettierignore` file that defines ignore pattern.

References:
  (1) prettier.io/docs/en/options.html#print-width

Epic: GH-33
Depends on GH-47 GH-49
GH-37
To allow to format all sources the `format:pretty` NPM script/task has
been added as well as the `format` script/task to run all tasks of the
formatting workflow.

Epic: GH-33
Depends on GH-47 GH-49
Resolves GH-37
@arcticicestudio arcticicestudio merged commit be3e59a into epic/gh-33-the-way-to-go Jun 22, 2019
@arcticicestudio arcticicestudio deleted the feature/gh-37-prettier branch June 22, 2019 19:17
@arcticicestudio arcticicestudio removed their assignment Jun 22, 2019
@arcticicestudio arcticicestudio mentioned this pull request Jun 22, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants