Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Consider the following configuration:
This is correct, and uses ESLint 4.
This is incorrect, but no warnings are given by
codeclimate analyze -e eslintwhen this configuration is used. If I use the incorrect configuration, I see:From a superficial view, it appears that eslint-4 is used but in fact it's not. To debug, I had to construct a
docker runcommand from the output above, then look at the Dockerfile entrypoint.sh file, then see that eslint was on version 3.Using the correct config, the only visible difference is that
codeclimate/codeclimate-eslint:eslint-4is now used as the image; now that I know to look for this, it's obvious, but before it wasn't.Anyway, in short, it would be helpful to warn users about invalid config options to save time on debugging. Thanks for considering!