Skip to content

Commit

Permalink
chore: add lint:prettier npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvasilchuk committed Sep 21, 2020
1 parent 4e3eb8c commit 191c48e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"fmt": "npm run fmt:prettier && npm run fmt:package-json",
"fmt:package-json": "sort-package-json",
"fmt:prettier": "prettier --write './**/*.{js,ts,css,md}'",
"lint": "npm run lint:editorconfig && npm run lint:package-json",
"lint": "npm run lint:editorconfig && npm run lint:package-json && npm run lint:prettier",
"lint:editorconfig": "editorconfig-checker",
"lint:package-json": "sort-package-json --check",
"lint:prettier": "prettier --check './**/*.{js,ts,css,md}'",
"test": "jest"
},
"devDependencies": {
Expand Down

0 comments on commit 191c48e

Please sign in to comment.