Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #77 from MozillaSocial/fix/glean-pre-commit-hook
Browse files Browse the repository at this point in the history
fix(glean): adding glean linter to pre commit hook [MOSOWEB-41]
  • Loading branch information
anthony-liddle authored Nov 6, 2023
2 parents c253b15 + 706ca8b commit db2fbf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: 🧪 Test project
run: pnpm test tests/unit

- name: 🔎 Glean Lint
run: pnpm lint:glean

- name: 📝 Lint
run: pnpm lint
# Mozilla.Social changes have errors with this check, disabling for now.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
"pre-commit": "pnpm lint-staged && pnpm lint:glean"
},
"lint-staged": {
"*": "eslint --fix"
Expand Down

0 comments on commit db2fbf6

Please sign in to comment.