Skip to content

Commit

Permalink
CI: replace custom biome hook (#958)
Browse files Browse the repository at this point in the history
Co-authored-by: Stig Ofstad <[email protected]>
  • Loading branch information
henrikbossart and soofstad authored Dec 22, 2023
1 parent 47f38c6 commit 19fd414
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
10 changes: 4 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ repos:
- id: conventional-pre-commit
stages: [ commit-msg ]

- repo: local
- repo: https://github.com/biomejs/pre-commit
rev: "v0.1.0"
hooks:
- id: biome_check
name: Run biome
language: system
pass_filenames: false
entry: yarn run biome check --apply .
- id: biome-check
additional_dependencies: [ "@biomejs/[email protected]" ]
9 changes: 1 addition & 8 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@
},
"files": {
"ignore": [
"packages/dm-core/src/services/api/configs/**",
"*.config.js",
"*.config.base.js",
"*.test.tsx",
"/packages/plugins/simpos-ui/src/*",
"/packages/plugins/simos-ui/src/*",
"/packages/plugins/marmo-ui/src/*",
"/packages/home/src/plugins.js",
"/packages/plugins/form/src/test-utils.tsx",
"/packages/dm-core/src/services/api/configs/gen",
"dist",
"node_modules",
"build"
Expand All @@ -37,8 +32,6 @@
},
"linter": {
"ignore": [
"packages/dm-core/src/services/api/configs",
"/packages/dm-core/src/services/api/configs/gen",
"build",
"coverage",
"node_modules",
Expand Down

0 comments on commit 19fd414

Please sign in to comment.