-
Notifications
You must be signed in to change notification settings - Fork 2
rule proposal: promise plugin #79
Comments
Interesting! I don't have (yet?) an opinion about each rule/case, but in general I have the feeling that some of them would be useful immediately. If more people find this promising I think we should test each rule and report here the current amount of "errors" we have in QIA/AlinIQ |
👍 ok for me, wanna list the ones you would include? |
As most of the time those rules are already shared, but not enforced, so my personal list would be Simple and efficient
Never saw in our code, anyway enforce it could be helpful
Not really useful (should we check param names for all lambdas we have)?
I ofter personally omit the
"In an ES5 environment, ..." we (buildo) are never in an "ES5 environment" nowadays
|
no but this one is a very special one ( a "revealing constructor" one https://blog.domenic.me/the-revealing-constructor-pattern/ , lol btw :P ) so I'm in favor of keeping the |
What @ascariandrea proposes is all 👍 for me, with the exception of |
(keeping |
Do we agree in adding this with default settings? |
Full force ahead! ✌️ But please make sure to fix projects before merging |
Essentially this: https://github.com/xjamundx/eslint-plugin-promise
Thoughts? @buildo/frontend
The text was updated successfully, but these errors were encountered: