-
Notifications
You must be signed in to change notification settings - Fork 889
New rule request: no-padding (no empty lines as first or last child in a block) #3969
Comments
@brunolm does the https://palantir.github.io/tslint/rules/whitespace/ also, i use prettier with tslint which definitely fixes whitespace like this. |
hmm, But yeah, using prettier is an option, I even researched how to do it before a commit, so there's no way to forget it.
package.json
|
Just checking if there is a way to do this with |
the best option for all code formatting functionality, IMO, is to use prettier. tslint is de-prioritizing formatting-related rules: #3592 |
Personally, I would like a tslint rule that enforces one empty line after a class / function signature... is this possible? |
@JimLynchCodes see #4534 |
New Rule Request: no-padding
Disallow empty lines as first or last child in a block.
Examples
Source draft
Preview
The text was updated successfully, but these errors were encountered: