chore: drop c and h from the comment rule scope
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user