DEV Community


Discussion on: Here are Top 5 Best Practices for JavaScript you MUST ALWAYS FOLLOW

adam_cyclones profile image
Adam Crockett

Sure, let's see, first sass-lint, that fails in CDCI, then we have es-lint with the Airbnb preset (it's a good one) we extended it and turned off a couple of js features that we don't transpile for per reasons. Lastly we have a strange stack with an equally odd templating language which is domain specific, so I adapted htmlhint with some custom rules to lint that (proud). Not all of the linting is switched on to fail CDCI yet and only JavaScript has a commit hook tool. The hook tool is quite new so I don't know the name but I will find out and get back to you.

Thread Thread
metalmikester profile image
Michel Renaud

Cool stuff, I'll look into that. Thanks! :)