-
-
Notifications
You must be signed in to change notification settings - Fork 949
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
Try turn on eslint @typescript-eslint/padding-line-between-statements
#1686
Comments
@ST-DDT please note that this message appears for everyone visiting the page and I know why they are saying this I know that prettier doesn't have any kind of option to fulfill our needs but also know that I'm tired of writing review comments for this over and over again |
As I said, I'm not against this rule. I just dont know what this rule does exactly.
I personally prefer PRs for "do something tiny" over issue + PRs. Also in context of #1683 |
But this is basically the first paragraph in the examples
I'm okay with that you personally prefer this and cant do anything against your preference, In addition to that, I don't have always the time to instantly tackle something and therefore instead of making my own note block full with anykind of potential things I can do, I like to help myself with issues so I can better remember what I wanted to do all kind of things |
@Shinigami92 The "What about formatting?" linked page from @ST-DDT 's screenshot recommends configuring adding blank lines using a formatter instead of a linter. I see that this project uses the Prettier formatter; can you attempt following the recommendation and use the formatter to drive this formatting? |
@EarthyOrange I'm sorry but prettier does not have such an option Edit: you can even read that on prettier website: https://prettier.io/docs/en/rationale.html#empty-lines |
@Shinigami92 No, you are right; Prettier has stopped dealing with blank lines. You will have to use the linter to add blank lines. |
Is this still active or do we consider this done as #1691 has been merged? I see the other TODO's but would consider them obsolete. |
Please see #1703 (comment) for more details |
Thats exactly why I consider these remaining doings obsolte. I'm with the comment made in typescript-eslint/typescript-eslint#6291 (comment). |
Looks like I'm turning back to writing "pls add a blank line here" in reviews 🤷 |
To ensure consistent readability across multiple contributors and prevent writing reviews like "pls add a blank line here" we want to try to turn on and configure https://typescript-eslint.io/rules/padding-line-between-statements/
TODO
The text was updated successfully, but these errors were encountered: