Skip to content

Commit 804c442

Browse files
committed
Treat all script lint warnings as errors
1 parent f8f38c3 commit 804c442

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-heavy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
# Install biome from https://biomejs.dev/guides/manual-installation/
77
# Avoid using NPM to install it until #359 is resolved
88
name: biome JS check
9-
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched --colors=off
9+
entry: biome check --write --error-on-warnings --files-ignore-unknown=true --no-errors-on-unmatched --colors=off
1010
language: system
1111
types: [javascript]
1212
files: ^atr/static/js/src/.*\.js$
@@ -21,8 +21,8 @@ repos:
2121
# These must be in the order deny, warn, allow
2222
- --deny=correctness
2323
- --deny=perf
24-
- --warn=suspicious
25-
- --warn=pedantic
24+
- --deny=suspicious
25+
- --deny=pedantic
2626
- --allow=unicorn/prefer-query-selector
2727
- repo: https://github.com/oxipng/oxipng
2828
rev: v9.1.5

0 commit comments

Comments
 (0)