Skip to content

Commit 179629c

Browse files
raifdmuellerclaude
andcommitted
fix: Pass config file to AsciiDoc linter in pre-commit hook
The .asciidoc-linter.yml disables WS001 (false positives for [discrete] attributes), but the pre-commit hook was not passing --config, causing all WS001 warnings to still appear. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d4a0129 commit 179629c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
language: system
1414
files: \.adoc$
1515
pass_filenames: true
16-
args: [--format, console]
16+
args: [--format, console, --config, .asciidoc-linter.yml]
1717
stages: [commit]
1818

1919
# Trailing whitespace

0 commit comments

Comments
 (0)