-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugintriageWaiting for team members to take a lookWaiting for team members to take a look
Description
Recommended rules should represent best practices. At a minimum, using async without await is not a bad practice, and in most usages it represents a best practice helping to safeguard the invocation and API surface. The alternative is both more brittle and more verbose, prone to accidentally leaking synchronously thrown errors.
What's more, linting against using recommended language features - especially in a way that changes behavior - is just odd.
NullVoxPopuli, johanrd and tcjrJoshuaKGoldberg, kristof-mattei, bradzacher, tylersayshi and njfamirmNullVoxPopuliNullVoxPopuli
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugintriageWaiting for team members to take a lookWaiting for team members to take a look