I’m looking for JavaScript code linter/style checker with one particular feature - possibility to extend the default set of rules. I want to have an opportunity to declare new rule and describe it using any kind of mini-API that particular tool provides.
Check JSCS. It's more advanced linter than JSHint or JSLint (especially you have more presets). There are also additional rules.
Moreover, there is a ESLint which is similar to JSCS but probably it's easier to write own rules (there is a developer guide on webpage). It requires Node.js/io.js and running on Windows/Mac/Linux.
-
thanks, ESlint turns out to be an awesome piece of software which is indeed extendable in a very nicely fashion. – shabunc Jan 14 '16 at 0:08