syntastic
syntastic copied to clipboard
Switch from JSCS to Eslint
JSCS was merged with ESLint. Look here: http://jscs.info/
Right, but eslint
already looks for config files in the current directory and upwards, and thus it doesn't have the problem that FAQ entry is supposed to address. Also .eslintrc
is supposedly deprecated too.
Anyway, the point of that FAQ entry is to show how this kind of things can be done, rather that refer exclusively to jscs
and its quirks. I suppose the jscs
checker can be removed from syntastic in a future release of syntastic (say in at least a year from now), so perhaps we should postpone finding a better example until then (provided that it still makes sense by then, that is).
Also
.eslintrc
is supposedly deprecated too.
Only in the sense that the typed .eslintrc.json
, .eslintrc.js
, .eslintrc.yml
names are now preferred to the untyped .eslintrc
name. Any JavaScript-format .eslintrc
is still supported, it just needs to be named .eslintrc.js
.
@ferdnyc Feel free to submit a patch that removes all references jscs
and provides a better example in the README.