mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
feat(lint): add biome formatter and linter, husky and lint-staged
This commit adds the Biome formatter and linter to replace Prettier, including: - Add biome.json config file - Add pre-commit hook with Husky - Configure GitHub Action to run Biome checks - Apply Biome formatting rules to codebase - Remove Prettier dependencies
This commit is contained in:
parent
b4e5fe2bea
commit
bcb1427a79
50 changed files with 904 additions and 793 deletions
3
.github/workflows/prbuildcheck.yml
vendored
3
.github/workflows/prbuildcheck.yml
vendored
|
@ -21,5 +21,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm install --no-frozen-lockfile
|
||||
|
||||
- name: Run Biome check
|
||||
run: npx biome check ./src
|
||||
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue