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: update with TypeScript info #17423

Merged
merged 5 commits into from Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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)`)](https://github.com/Microsoft/TypeScript/blob/main/src/compiler/diagnosticMessages.json).
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)`)](https://github.com/Microsoft/TypeScript/blob/main/src/compiler/diagnosticMessages.json).