Skip to content

Commit

Permalink
Merge pull request #5680 from dottharun/fix/lint-staged-eslint
Browse files Browse the repository at this point in the history
fix: lint-staged, eslint
  • Loading branch information
leecalcote committed Jul 20, 2024
2 parents 43aadb4 + c6e3e6d commit 310b6f0
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-preview-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
npm install
npm run noIndex
- name: Run Eslint
run: npm run checklint

- name: Zip Site
run: bash ./script.sh

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run checklint
npx lint-staged
Loading

0 comments on commit 310b6f0

Please sign in to comment.