Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document lack of config file names #17442

Merged
merged 3 commits into from
Aug 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update configuration-files-new.md
  • Loading branch information
Zamiell authored Aug 1, 2023
commit 20ef5b72782a5137a0b4ae443c750f56b32082f5
2 changes: 1 addition & 1 deletion docs/src/use/configure/configuration-files-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Unlike other tools in the JavaScript ecosystem, ESLint does not automatically lo
If you want to force a different kind of ESLint config, then name your config file accordingly and use the `-c` or `--config` flag when running ESLint. For example, if you want to have an ESM ESLint config in a CommonJS project, name the config file `eslint.config.mjs` and then run ESLint with:

```shell
ESLINT_USE_FLAT_CONFIG=true npx eslint --config eslint.config.mjs .
ESLINT_USE_FLAT_CONFIG=true npx eslint --config eslint.config.mjs **/*.js
```

:::
Expand Down