Skip to content

Commit dbf93fa

Browse files
committed
chore: configs
1 parent f107f4f commit dbf93fa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
7+
exclude: '\.svg$'
78
- id: check-yaml
89
- id: check-added-large-files
910
args: ["--maxkb=500"]
@@ -22,6 +23,7 @@ repos:
2223
entry: npx eslint --ext ts -c .eslintrc.cjs
2324
language: system
2425
types: [ts]
26+
exclude: '^test/'
2527

2628
- id: typecheck
2729
name: typecheck

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
1313
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
1414
// "noUnusedParameters": true, /* Report errors on unused parameters. */
15-
}
15+
},
16+
"exclude": ["test", "out", "node_modules"]
1617
}

0 commit comments

Comments
 (0)