Hi Maxime,
The bureaucratic requirements are met.
The testing looks good as well, so Iām going to process your PR. Just a few notes:
- Love this (ecocode-javascript:EC9):
And BTW, Iāve already provided feedback internally about the table cell vertical alignment.
Optional
-
It looks like all your rules have been classed as Consistency/Conventional in the new Clean Code taxonomy. Iām (now) assuming thatās the default. Just a note that in future releases you may want to take a look at this.
-
One thing Iām not seeing is
// Noncompliant
comments in your noncompliant code samples. They help users separate the wheat from the chaff -
ecocode-javascript:EC24 - Iām surprised this rule recommends a
limit
and not awhere
clause. I would think limiting CPU at the server / DB would be in scope here -
I see that a few rules provide Further Reading, which is awesome. And thereās a way to mark that up to have it shown on a āMore Infoā tab, E.G.. Iām not aware of the details, but if you want to create a thread, we can get it tracked down.
-
ecocode-javascript:EC12 - āThere are more than two style assignations for āelementā. Use a class instead.ā That doesnāt mean what you think it does.
assignation
noun
plural noun: assignations
an appointment to meet someone in secret, typically one made by lovers.You want āassignmentsā
Ann