File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 "type-check" : " tsc --noEmit"
3535 },
3636 "simple-git-hooks" : {
37- "pre-commit" : " bun check"
37+ "pre-commit" : " bun check && git add -u "
3838 },
3939 "devDependencies" : {
4040 "@biomejs/biome" : " ^2.4.2" ,
Original file line number Diff line number Diff line change 1- import { loadConfig } from '../config'
21import type { ValidationConfig } from '../config'
2+ import { loadConfig } from '../config'
33import { getPreset } from '../presets'
44import { loadUserAIConfig } from './ai/config'
55
@@ -77,10 +77,7 @@ export async function getProjectSchema(): Promise<ProjectSchema> {
7777 const validation = config . validation || defaultValidation
7878
7979 // Merge scopes from preset + config allowedScopes
80- const scopes = [
81- ...( preset . scopes || [ ] ) ,
82- ...( validation . allowedScopes || [ ] ) ,
83- ]
80+ const scopes = [ ...( preset . scopes || [ ] ) , ...( validation . allowedScopes || [ ] ) ]
8481 const uniqueScopes = [ ...new Set ( scopes ) ]
8582
8683 return {
You can’t perform that action at this time.
0 commit comments