feat(rule): add option in max-inline-declarations to limit animations…#569
feat(rule): add option in max-inline-declarations to limit animations…#569mgechev merged 2 commits intomgechev:masterfrom rafaelss95:feat-max-inline-declarations
Conversation
src/maxInlineDeclarationsRule.ts
Outdated
| return generateFailure('template', limit); | ||
| }; | ||
|
|
||
| export const animationsLinesDefaultLimit = 7; |
There was a problem hiding this comment.
Not sure about this default limit...
There was a problem hiding this comment.
It seems to me too little. Animation is quickly verbose. 15 lines, it is more common for a simple animation.
|
This PR is confused because you are probably used
|
|
Yes, since I've installed |
|
@rafaelss95 I guess the big diff. Let's merge your PR which introduces prettier and after that merge this one. |
|
@rafaelss95 would you give examples what the role of |
|
@rafaelss95 I can see some value in the rule. I'm not yet sure we should introduce it though. |
|
@mgechev Sorry for the delayed response. To read animations parameter, I've followed what you did for |
|
Let's see if we'll collect enough votes for this feature before merging. |
|
bump @mgechev |
… lines
Closes #568.