eslint / eslint

Find and fix problems in your JavaScript code.
https://eslint.org
MIT License
24.39k stars 4.4k forks source link

Docs: double negative in configuration file resolution #18418

Closed MikeMcC399 closed 1 week ago

MikeMcC399 commented 1 week ago

Docs page(s)

What documentation issue do you want to solve?

Both pages contain the sentence:

If none of the files are not found, it checks the parent directory for each file.

This is a double negative and it does not make sense the way it is written.

What do you think is the correct solution?

Remove the word "not", so the sentence becomes:

If none of the files are found, it checks the parent directory for each file.

Participation

Additional comments

No response

fasttime commented 1 week ago

Thanks for spotting this @MikeMcC399! I don't think we can fix the wording in the v8 docs at this time, because that would require doing a new v8.x release, which isn't planned. But feel free to submit a pull request to fix the v9 docs. The file to edit is docs/src/use/configure/configuration-files.md.

MikeMcC399 commented 1 week ago

@fasttime

Thanks for confirming!