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

Chore: Update deprecated information #14961

Merged
merged 1 commit into from Aug 24, 2021

Conversation

wafuwafu13
Copy link
Contributor

@wafuwafu13 wafuwafu13 commented Aug 22, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[X] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Update deprecated information.
Ref: https://eslint.org/docs/rules/#deprecated

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the triage An ESLint team member will look at this issue soon label Aug 22, 2021
@bmish
Copy link
Sponsor Member

bmish commented Aug 22, 2021

Looks reasonable. We should add tests that deprecated rules:

  • Have a This rule was deprecated... notice at the top of their rule doc
  • Have @deprecated in their rule doc comment

I believe Makefile.js is the place where we currently have checks like that.

@wafuwafu13
Copy link
Contributor Author

wafuwafu13 commented Aug 23, 2021

here 👀

target.checkRuleFiles = function() {

Can I add tests in next PR?

nzakas
nzakas approved these changes Aug 24, 2021
Copy link
Member

@nzakas nzakas left a comment

LGTM. Thanks.

@nzakas nzakas changed the title Docs: Update deprecated information Chore: Update deprecated information Aug 24, 2021
@nzakas
Copy link
Member

nzakas commented Aug 24, 2021

@wafuwafu13 yes, you can do that in a separate PR

Copy link
Member

@aladdin-add aladdin-add left a comment

LGTM, thanks!

@aladdin-add aladdin-add merged commit 44f7de5 into eslint:master Aug 24, 2021
13 checks passed
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Feb 21, 2022
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion triage An ESLint team member will look at this issue soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants