Skip to content

Commit

Permalink
refactor configs (#234)
Browse files Browse the repository at this point in the history
* test: update test coverage config

* chore: ignore unmatched file glob errors while running precommit
  • Loading branch information
samhwang authored Apr 13, 2024
1 parent efeb209 commit da2f785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.{ts,js}": ["biome check", "biome format --write"]
"*.{ts,js}": ["biome check --no-errors-on-unmatched", "biome format --write --no-errors-on-unmatched"]
}
4 changes: 2 additions & 2 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default defineConfig({
enabled: true,
provider: 'v8',
clean: true,
include: ['src/commands/**/*.ts', 'src/utils/**/*.ts'],
exclude: ['src/utils/random.*'],
include: ['src/**/*.ts'],
exclude: ['src/utils/random.*', 'src/config.ts', 'src/deploy-command.ts', 'src/clients/**.ts', 'src/commands/**/index.ts', 'src/commands/**/utils.ts'],
},
clearMocks: true,
setupFiles: ['./vitest.setup.ts'],
Expand Down

0 comments on commit da2f785

Please sign in to comment.