Skip to content

Commit

Permalink
fix(package): fixes recursive issues with lint:check
Browse files Browse the repository at this point in the history
  • Loading branch information
KenEucker committed Jan 22, 2024
1 parent 6907355 commit 31b5807
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run linters
run: npm run lint:check
run: npm run lint:release
- name: Build
run: npm run build
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run lint check
run: npm run lint:check
- name: Run Linters
run: npm run lint:release
- name: Build
run: npm run build --if-present
- name: Run tests
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
"prepare": "husky install",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier . --check ",
"lint": "prettier . --write && eslint . --fix",
"lint:check": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
"lint:fix": "prettier . --write && eslint . --fix",
"lint:check": "eslint .",
"lint:release": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
"lint:staged": "npx --no-install lint-staged",
"commit": "cz"
},
Expand Down

0 comments on commit 31b5807

Please sign in to comment.