FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Triage and fix some eslint rules by jakebailey · Pull Request #55136 · microsoft/TypeScript · GitHub

Triage and fix some eslint rules - #55136

Merged
Jake Bailey (jakebailey) merged 3 commits into
microsoft:mainfrom
jakebailey:eslint-many-rules
Jul 24, 2023
Merged

Triage and fix some eslint rules#55136
Jake Bailey (jakebailey) merged 3 commits into
microsoft:mainfrom
jakebailey:eslint-many-rules

Conversation

Jake Bailey (jakebailey) commented Jul 24, 2023
edited
Loading

Copy link
Copy Markdown
Member

Follow-up to #54693.

This PR triages the rules that should "obviously" be disabled or fixed.

This caught a case where I had not noticed a stray debugger line in a PR.

Comment thread .eslintrc.json
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-interface": "off",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This one deserves an explanation; while it's definitely bad to have empty interfaces, we seem to have quite a few cases which are "valid" in that they do things like rebinding another interface with new type variables (many in types), providing an interface that is augmented elsewhere (SourceFile), and so on.

Copy link
Copy Markdown
Member Author

After #55137, I've also added no-extra-boolean-cast, which similarly is too strict to work.

Jake Bailey (jakebailey) merged commit d63af29 into microsoft:main Jul 24, 2023
Jake Bailey (jakebailey) deleted the eslint-many-rules branch July 24, 2023 20:53
Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL