Skip to content

Commit

Permalink
Docs: Mention TypeScript's compiler check (eslint#12903)
Browse files Browse the repository at this point in the history
* Docs: Mention TypeScript's compiler check

* Update no-dupe-class-members.md
  • Loading branch information
bennycode authored and montmanu committed Mar 4, 2020
1 parent c897277 commit 57671ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/no-dupe-class-members.md
Expand Up @@ -70,3 +70,5 @@ class Foo {
This rule should not be used in ES3/5 environments.

In ES2015 (ES6) or later, if you don't want to be notified about duplicate names in class members, you can safely disable this rule.

It's also safe to disable this rule when using TypeScript because TypeScript's compiler already checks for duplicate function implementations.

0 comments on commit 57671ec

Please sign in to comment.