Skip to content

Commit

Permalink
docs: clarify files property (#16709)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan committed Dec 26, 2022
1 parent 3b29eb1 commit a14ccf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/user-guide/configuring/configuration-files-new.md
Expand Up @@ -35,7 +35,7 @@ In this example, the configuration array contains just one configuration object.

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:

* `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.
* `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.
* `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`.
* `languageOptions` - An object containing settings related to how JavaScript is configured for linting.
* `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"`)
Expand Down

0 comments on commit a14ccf9

Please sign in to comment.