Closed ryan953 closed 6 years ago
I tested the new config options (eslint.config
and eslint.env
) with some bunk data to see that things were constructed correctly. The output showed the bin, mandatory fields, and optional ones merged together:
Some linters failed:
- CommandException: Command failed with error #1!
COMMAND
'./webapp/node_modules/.bin/eslint' '--format=json' '--no-color' '--config whatever' '--env node' '/home/ryanalbrecht/code/pinboard/webapp/app/common/react/buildElement.js'
Adds a linter to check for errors in JavaScript and JSX files.
The binary to use is set as a configuration option, so it can be project specific. The default is to try and use
eslint
that's on your $PATH.