chore: drop c and h from the comment rule scope

This commit is contained in:
naps62
2026-08-01 14:12:43 +00:00
parent 652b5abceb
commit aacbdc2c43
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
paths:
- "**/*.{ts,tsx,js,jsx,mjs,cjs,py,rs,go,sol,sh,bash,zsh,c,h,kt,rb,lua,zig,nix,ex,yaml,yml,toml}"
- "**/*.{ts,tsx,js,jsx,mjs,cjs,py,rs,go,sol,sh,bash,zsh,kt,rb,lua,zig,nix,ex,yaml,yml,toml}"
---
## Code comments
+1 -1
View File
@@ -20,7 +20,7 @@ MAX_COMMENT_RUN = 3 # contract budget; past this you are teaching, not warning
# the rule and never lints.
CODE_EXT = {
".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".py", ".rs", ".go", ".sol",
".sh", ".bash", ".zsh", ".c", ".h", ".kt", ".rb", ".lua", ".zig", ".nix",
".sh", ".bash", ".zsh", ".kt", ".rb", ".lua", ".zig", ".nix",
".ex", ".yaml", ".yml", ".toml",
}