Trying to point out what I actually don't like about eslint-config-airbnb-base which is mandatory in the customer's agency.

At least they have coding standards at all.

But some of AirBnB's rules seem arbitrary to me, and even inconsequential, like space-in-parens ("There should be no space after this parenthesis.") vs. arrow-spacing ("Missing space before =>"), and what benefit exactly would I get for the less explicit, less readable, object-shorthand ("Expected property shorthand.") like writing { foo } instead of { foo: foo }.

I used to think it was just my taste, but I am usually quite happy about default eslint (and stylelint) recommendations, unless this airbnb ruleset comes in.

Add Comment