Skip to content

Commit a14ccf9

Browse files
authored
docs: clarify files property (#16709)
1 parent 3b29eb1 commit a14ccf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/user-guide/configuring/configuration-files-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In this example, the configuration array contains just one configuration object.
3535

3636
Each configuration object contains all of the information ESLint needs to execute on a set of files. Each configuration object is made up of these properties:
3737

38-
* `files` - An array of glob patterns indicating the files that the configuration object should apply to. If not specified, the configuration object applies to all files.
38+
* `files` - An array of glob patterns indicating the files that the configuration object should apply to. If not specified, the configuration object applies to all files matched by any other configuration object.
3939
* `ignores` - An array of glob patterns indicating the files that the configuration object should not apply to. If not specified, the configuration object applies to all files matched by `files`.
4040
* `languageOptions` - An object containing settings related to how JavaScript is configured for linting.
4141
* `ecmaVersion` - The version of ECMAScript to support. May be any year (i.e., `2022`) or version (i.e., `5`). Set to `"latest"` for the most recent supported version. (default: `"latest"`)

0 commit comments

Comments
 (0)