-
Notifications
You must be signed in to change notification settings - Fork 235
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
feat(rule): add option in max-inline-declarations to limit animations… #569
feat(rule): add option in max-inline-declarations to limit animations… #569
Conversation
src/maxInlineDeclarationsRule.ts
Outdated
return generateFailure('template', limit); | ||
}; | ||
|
||
export const animationsLinesDefaultLimit = 7; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this default limit...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.