mirror of
https://github.com/Fdawgs/node-poppler.git
synced 2026-07-02 08:27:45 +08:00
chore: rename lint scripts to reflect use (#701)
This commit is contained in:
@@ -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
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user