Skip to content

docs(eslint-plugin): brace-style as a replacement for one-line #1202

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
merged 1 commit into from
Nov 13, 2019
Merged

Conversation

sveyret
Copy link
Contributor

@sveyret sveyret commented Nov 13, 2019

It seems that the eslint core brace-style could replace the one-line tslint rule. See eslint/eslint#12559 (comment)
(maybe letting prettier do the work is also a good solution)

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @sveyret!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@bradzacher bradzacher changed the title one-line: rule replacement docs(eslint-plugin): note brace-style as a replacement for one-line Nov 13, 2019
If used, Prettier can handle this formatting. Otherwise, it seems that the `eslint` core brace-style could replace the one-line `tslint` rule.
See eslint/eslint#12559 (comment)
@bradzacher bradzacher added the documentation Documentation ("docs") that needs adding/updating label Nov 13, 2019
Copy link
Member

@bradzacher bradzacher left a comment

Choose a reason for hiding this comment

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

lgtm

@bradzacher bradzacher changed the title docs(eslint-plugin): note brace-style as a replacement for one-line docs(eslint-plugin): brace-style as a replacement for one-line Nov 13, 2019
@bradzacher bradzacher merged commit ca41dcf into typescript-eslint:master Nov 13, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Documentation ("docs") that needs adding/updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants