-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
chore: remove .eslintrc.js
#18011
chore: remove .eslintrc.js
#18011
Conversation
✅ Deploy Preview for docs-eslint canceled.
|
Can you update the description of this PR with an explanation of what changes you made? It's not clear from the title what the intent of this PR is. |
The ESLint repository currently contains two ESLint configurations: |
Coverting to a draft, as I think it's better to refactor the test to not relying on the |
I think it's fine to leave |
02146c2
to
9eb3b14
Compare
It seems like we're at the point where we should be pushing VS Code to enable flat config by default? Potentially by using |
@nzakas there is a discussion: microsoft/vscode-eslint#1644 |
it seems the ci is happy when removing |
A test might still be passing but not actually testing what it was intended to if the assertions aren't precise enough. Now, that might not be the case for those particular tests, but it would be good to check each at some point. |
well, will remove the commit. |
13daf5e
to
9eb3b14
Compare
.eslintrc.js
in eslint repo
.eslintrc.js
in eslint repo.eslintrc.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting!
.gitignore
Outdated
@@ -19,7 +19,7 @@ jsdoc/ | |||
.cache | |||
/packages/**/node_modules | |||
/tools/internal-rules/node_modules | |||
/.vscode | |||
# /.vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Question] Is there any reason to keep this around? Since .vscode/settings.json
is now intentional:
# /.vscode |
.vscode/settings.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to add .vscode (as the flat config not enabled by default in vscode-eslint)?
Linking for reference: microsoft/vscode-eslint#1644
Looks like, yes for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd still rather wait so we don't have to do this.
#18075
Hi everyone, it looks like we lost track of this pull request. Please review and see what the next steps are. This pull request will auto-close in 7 days without an update. |
Not stale. Waiting for #18075 to resolve. #18011 (comment) for reference. |
83d6ebe
to
9ec719e
Compare
note: it's not to remove eslintrc support.
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x] Other, please explain:
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?
.eslintignore
was not removed, as it was used in a test:eslint/tests/lib/cli-engine/file-enumerator.js
Lines 459 to 467 in 38b9b06