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

fix(glean): adding glean linter to pre commit hook [MOSOWEB-41] #77

Merged
merged 3 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading