-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
docs: better global ignores instruction
#19297
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: better global ignores instruction
#19297
Conversation
|
Hi @tresorama!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
|
|
✅ Deploy Preview for docs-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Hi @tresorama!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
1 similar comment
|
Hi @tresorama!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
|
Hi @tresorama!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
global ignores instructionglobal ignores instruction
|
Hi @tresorama, thanks for the PR, can you also sign the CLA? |
Overview
Fixes #18304
This PR aims to solve the confusion of the
global ignoresbehavior of eslint.When someone install eslint, one of the first step he does is to ignore some dirs/files.
Myself, on first try, I wasn't able to do it.
global ignoresis tricky, and docs should do a better job.IMPORTANT - For reviewers
I used some assumption on some eslint behaviors that i'm not sure they are real. I need that a person who knows eslint internal review my text. You can find this in comments
Edit 2025-01-07: addressed all
Out of the scope of this PR but useful
I think that we should merge all section of documentation that explain "ignoring files and directory" to a same page.
Now user need to read both Configuration Files and Ignore page.
Having a single page instead of multiple ones would simplify "links" from other pages of the docs, and avoid duplicating docs updates.
Edit 2025-01-07: we don't do it in this PR, we will maybe do it in a future PR
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
What changes did you make? (Give an overview)
global ignoresfeatures if he wants to ignore files/dir and control the definition in a single placeIs there anything you'd like reviewers to focus on?