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: typo in flat config setup instructions #184

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patrykszwed
Copy link

@patrykszwed patrykszwed commented Nov 27, 2024

What Changed

Updated flat config setup instructions. The instruction itself seems to work fine but that comment might be misleading - it references .eslintignore while one's editing a flat config file.

Checklist

Check the ones applicable to your change:

  • Ran pnpm run update-all
  • Tests are updated
  • Documentation is updated

Change Type

Indicate the type of change your pull request is:

  • maintenance
  • documentation
  • patch
  • minor
  • major

@patrykszwed patrykszwed marked this pull request as ready for review November 27, 2024 20:10
README.md Outdated
Comment on lines 65 to 68
export default [
// ...
{
// Inside your .eslintignore file
// Inside your flat config file
Copy link
Member

@yannbf yannbf Jan 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original comment is actually correct, it's meant to match the content specified in the .eslintignore file, as stated in a few sentences above

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see. Personally, I found that a little bit confusing as the comment refers to the .eslintignore file which is no longer supported in ESLint 9. I've just pushed one more commit with changes that may make it more clear that if one uses a flat configuration file, it's enough to only put it there. Feel free to close the PR if you disagree though

btw, thanks for maintaining this package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants