Skip to content

Commit

Permalink
Implement NPM format:pretty script/task for Prettier
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arcticicestudio committed Jun 22, 2019
1 parent d8eefc0 commit 87bfb7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
"arcticicestudio"
],
"scripts": {
"lint": "npm-run-all lint:*",
"lint:md": "remark --no-stdout . \".github/**/*.md\""
"format:pretty": "prettier --write \"./**/*.{js,json,md,yml}\"",
"format": "npm-run-all format:pretty",
"lint:md": "remark --no-stdout . \".github/**/*.md\"",
"lint": "npm-run-all lint:*"
},
"devDependencies": {
"npm-run-all": "4.1.5",
Expand Down

0 comments on commit 87bfb7d

Please sign in to comment.