build: Add lint:fix script

This commit is contained in:
Edmund Miller 2022-11-12 23:41:17 -06:00 committed by Thomas A. Christensen II
parent 024f69ce91
commit 3538f89b6f

View file

@ -8,6 +8,7 @@
"format": "prettier --write '**/*'",
"format-check": "prettier --check '**/*'",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint --fix src/**/*.ts",
"package": "ncc build --source-map --license LICENSE",
"test": "ava",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"