When adding or upgrading a plugin, we should see changes in both package.json
and yarn.lock
.
Make sure to run make image
before running these commands.
Add a plugin:
bin/yarn add eslint-config-google
Upgrade a plugin:
bin/yarn upgrade eslint-config-google
Changes made to the engine can be tested locally.
- Install the CodeClimate CLI.
- Create the image (customizing the
IMAGE_NAME
as needed):
IMAGE_NAME=codeclimate/codeclimate-eslint-test make image
- Add the engine to your test
.codeclimate.yml
:
engines:
eslint-test:
enabled: true
- Run analyze via the CLI:
codeclimate analyze --dev