-
Notifications
You must be signed in to change notification settings - Fork 888
Add option for object-literal-sort-keys to not ignore blank lines #4756
Comments
After see the rule documentation seems the correct behavior:
|
Right, according to the docs it seems to be expected behaviour. Now I wonder if there is a way to opt out this. Otherwise, this rule cannot be used in cases when all properties are separated with blank lines for better readability. |
Seems like a reasonable idea - accepting PRs to add an option to not ignore blank lines. Do keep #4534 in mind: custom rules including forks of built-in rules such as |
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
No lint errors
Expected behavior
"Properties are not sorted" error.
The text was updated successfully, but these errors were encountered: