Skip to content

Enable @typescript-eslint/space-before-function-paren, @typescript-eslint/no-unused-expressions #36569

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

Merged

Conversation

a-tarasyuk
Copy link
Contributor

@a-tarasyuk a-tarasyuk commented Feb 1, 2020

  • Use @typescript-eslint/no-unused-expressions extension (handles optional call expressions and directives) instead of no-unused-expressions
  • Enable @typescript-eslint/space-before-function-paren to forbid using space after named functions and allow using space after async and anonymous functions.

@a-tarasyuk a-tarasyuk force-pushed the eslint-space-before-function-paren branch from cd5f3a6 to d3e7fcd Compare February 1, 2020 11:05
@a-tarasyuk a-tarasyuk marked this pull request as ready for review February 3, 2020 18:23
@sandersn sandersn added the Housekeeping Housekeeping PRs label Feb 3, 2020
@sandersn sandersn merged commit 8c31700 into microsoft:master Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping Housekeeping PRs
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants