-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
chore: enable some ts-eslint rules #17592
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
Conversation
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/60221 |
|
commit: |
nicolo-ribaudo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have slightly preferred the last commit to be in a separate PR.
The ban-types rule has been removed in ts-eslint v8.
This rule has been deprecated in favor of the perfectionist/sort-intersection-types and perfectionist/sort-union-types rules. Since we have installed perfectionist, removing this rule becomes no-op.
cf211ee to
68056df
Compare
OK, the last two commits are moved to #17606 |
In this PR we enabled a few previously disabled ts-eslint rules.
array-typeconsistent-generic-constructorsconsistent-indexed-object-styleno-base-to-stringno-unsafe-declaration-mergingThe
no-base-to-stringrule detects a potential bug in the babel-standalone error message handling. This bug is also fixed in this PR.The following rules have been deprecated and replaced by third-party ts-eslint plugins. Before we install other plugins, they can be safely removed from our config:
ban-typessort-type-constituents