Hacker News new | ask | show | jobs
by jakub_g 2232 days ago
That's interesting, given that the original idea behind eslint was to create a tool to fix the warts of jshint which was apparently not enough flexible!

https://eslint.org/docs/about/

> The primary reason ESLint was created was to allow developers to create their own linting rules. ESLint is designed to have all rules completely pluggable.

> Every rule... Can be turned off or on (nothing can be deemed "too important to turn off")

> Rules are "agenda free" - ESLint does not promote any particular coding style

Is it the eslint that's opinionated, of the rules config that you were using? Or the maintainers of the rules in the github repo? (or is this sarcasm :)

1 comments

Sorry this was me mixing up JSLint and ESLint
Ah, gotcha. JSHint was indeed created to fix JSLint's even greater non-flexibility, long time ago.