chore: rename lint scripts to reflect use (#701)

This commit is contained in:
Frazer Smith
2025-10-30 11:21:04 +00:00
committed by GitHub
parent 216677fec6
commit e88c93b9f3
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ jobs:
run: npm audit signatures
- name: Run ESLint
run: npm run lint
run: npm run lint:eslint
- name: Run Prettier
run: npm run lint:prettier
+1 -1
View File
@@ -1,2 +1,2 @@
npm run lint:licenses && npm run lint:prettier && npm run lint
npm run lint
npm run build:docs && git add API.md
+4 -2
View File
@@ -52,11 +52,13 @@
"scripts": {
"build:docs": "jsdoc2md src/index.js > API.md --EOL posix",
"build": "tsc -p tsconfig.build.json",
"lint:fix": "npm run lint -- --fix",
"lint:eslint:fix": "npm run lint:eslint -- --fix",
"lint:eslint": "eslint . --cache",
"lint:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix",
"lint:licenses": "licensee --errors-only --production",
"lint:prettier:fix": "prettier . -w -u",
"lint:prettier": "prettier . -c -u",
"lint": "eslint . --cache",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:licenses",
"prepare": "husky",
"test:unit:coverage": "jest --coverage",
"test:unit": "jest",