We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3193306 commit 814a8bbCopy full SHA for 814a8bb
website/docs/en/config/index.md
@@ -49,6 +49,28 @@ The configuration file contains an array of configuration entries. Each entry de
49
50
## Configuration Options
51
52
+### files
53
+
54
+- **Type:** `string[]`
55
+- **Default:** `[]`
56
57
+An array of glob patterns for files and directories to include during linting. If omitted, all files are included.
58
59
+```jsonc
60
+{
61
+ "files": [
62
+ "./src/**",
63
+ "./tests/**",
64
+ ],
65
+}
66
+```
67
68
+Patterns support:
69
70
+- **Glob patterns**: `*.js`, `**/*.ts`
71
+- **Directory patterns**: `src/**`, `tests/**`
72
+- **Negation**: `!important.ts` (when used with other patterns)
73
74
### ignores
75
76
- **Type:** `string[]`
0 commit comments