syntastic icon indicating copy to clipboard operation
syntastic copied to clipboard

Switch from JSCS to Eslint

Open azat-io opened this issue 7 years ago • 3 comments

JSCS was merged with ESLint. Look here: http://jscs.info/

azat-io avatar Mar 04 '17 08:03 azat-io

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).

lcd047 avatar Mar 05 '17 09:03 lcd047

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 avatar Nov 03 '19 11:11 ferdnyc

@ferdnyc Feel free to submit a patch that removes all references jscs and provides a better example in the README.

lcd047 avatar Nov 03 '19 15:11 lcd047