Skip to content

Commit 8cdacc4

Browse files
authored
Merge pull request #85 from lgarron/lgarron/npm-run-format
Add a script for `npm run format`.
2 parents 538b108 + aa5192f commit 8cdacc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"scripts": {
1414
"clean": "rm -rf dist",
1515
"lint": "eslint . --ext .js,.ts && tsc --noEmit",
16+
"format": "eslint --fix . --ext .js,.ts",
1617
"prebuild": "npm run clean && npm run lint && mkdir dist",
1718
"build": "tsc",
1819
"pretest": "npm run build",

0 commit comments

Comments
 (0)