Skip to content

Commit

Permalink
docs: update with TypeScript info (#17423)
Browse files Browse the repository at this point in the history
* docs: update with TypeScript info

* fix: grammar

* fix: ts numbers

* Update constructor-super.md

* Update no-dupe-class-members.md
  • Loading branch information
Zamiell committed Jul 28, 2023
1 parent 091f44e commit 4d474e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/src/rules/constructor-super.md
Expand Up @@ -69,3 +69,5 @@ class A extends B {
## When Not To Use It

If you don't want to be notified about invalid/missing `super()` callings in constructors, you can safely disable this rule.

It is safe to disable this rule when using TypeScript because TypeScript's compiler enforces this check (`ts(2335) & ts(2377)`).
2 changes: 1 addition & 1 deletion docs/src/rules/no-dupe-class-members.md
Expand Up @@ -102,4 +102,4 @@ 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.
It is safe to disable this rule when using TypeScript because TypeScript's compiler enforces this check (`ts(2300) & ts(2393)`).

0 comments on commit 4d474e3

Please sign in to comment.