File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ LinterConfig objects are validated against a [LinterConfigSchema](https://github
6161
6262``` ts
6363export type LinterConfig = {
64- files? : string [] // array of glob to search for source files
65- ignores? : [] // array of glob to ignore for source files
64+ files? : string [] // array of globs to search for source files
65+ ignores? : [] // array of globs to ignore for source files
6666
6767 ruleFiles? : [] // array of globs to find project-specific rule md files
6868 ruleDefinitions? : RuleDefinition [] // custom rules (extensible to non-md formats)
@@ -76,6 +76,13 @@ export type LinterConfig = {
7676 // customize LLM model and provider options
7777 // most important are: model, weakModel, apiKey, and apiBaseUrl
7878 llmOptions? : LLMOptions
79+
80+ // optional, file/folder/glob-specific rule overrides
81+ overrides? : Array <{
82+ include? : string [] // array of glob files to apply this override to
83+ exclude? : string [] // array of glob files to exclude from this override
84+ rules? : Record <string , ' error' | ' warn' | ' off' >
85+ }>
7986}
8087` ` `
8188
You can’t perform that action at this time.
0 commit comments