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: Mention TypeScript's compiler check #12903

Merged
merged 2 commits into from Feb 28, 2020
Merged

Docs: Mention TypeScript's compiler check #12903

merged 2 commits into from Feb 28, 2020

Conversation

bennycode
Copy link
Contributor

Prerequisites checklist

  • I have read the contributing guidelines.
  • The team has reached consensus on the changes proposed in this pull request. If not, I understand that the evaluation process will begin with this pull request and won't be merged until the team has reached consensus.

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)

I mentioned that TypeScript has the "no-dupe-class-members" rule built in. TypeScript will throw error TS2393 (Duplicate function implementation) if there are problems with the naming. Turning on ESLint's "no-dupe-class-members" rule can lead to false positives because it won't allow function overloading. The "typescript-eslint" project also has that rule turned off.

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

Especially the negative impact on using the "no-dupe-class-members" rule with TypeScript should be a reason to highlight that it is safe to turn off the rule when using TypeScript.

@jsf-clabot
Copy link

jsf-clabot commented Feb 11, 2020

CLA assistant check
All committers have signed the CLA.

@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Feb 11, 2020
@nzakas nzakas merged commit b8e20d3 into eslint:master Feb 28, 2020
@bennycode bennycode deleted the patch-1 branch February 28, 2020 06:14
montmanu pushed a commit to montmanu/eslint that referenced this pull request Mar 4, 2020
* Docs: Mention TypeScript's compiler check

* Update no-dupe-class-members.md
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Aug 28, 2020
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Aug 28, 2020
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

3 participants