Replies: 1 comment 5 replies
-
Thanks for that doc fix PR, @twelve17. Is the idea that you'd set At least with the way I'm thinking about it now I'm having trouble seeing much utility from a Let me know your thoughts or if I've misunderstood. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thanks to all the contributors to this project. :)
I did not realize, when I first ran these rules on my project, that the rules only ensure the presence of at least a single line-- meaning, you could have multiple empty lines before each of the token types, and it would be ok. In the case of where I am employed, there is a preference to not have padding around
before
blocks. I realized that these rules would not detect/fix such situations.I saw that there is a general eslint
no-multiple-empty-lines
rule. I wondered if this plugin could support limiting the max lines around each token type, by way of amax
attribute on each rule, defaulting to the current behavior if omitted?Beta Was this translation helpful? Give feedback.
All reactions