Skip to content

Conversation

@jakebailey
Copy link
Member

@jakebailey jakebailey commented Jul 24, 2023

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.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jul 24, 2023
"@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
Member Author

Choose a reason for hiding this comment

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

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.

@jakebailey
Copy link
Member Author

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

@jakebailey jakebailey merged commit d63af29 into microsoft:main Jul 24, 2023
@jakebailey 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
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