Open aspiers opened 1 year ago
What we do is follow the instructions to set the CI
and ESLINT_PLUGIN_DIFF_COMMIT
variables in our github workflow, then our .eslintrc.js file has the following
module.exports = { extends: [ ...(process.env.CI ? ['plugin:diff/ci'] : []),
Hi, thanks for this great project!
The README.md says:
but this sentence doesn't really make sense. Based on other docs elsewhere, I guess that we should extend the config with
plugin:diff/ci
and then ensure that the CI sets the environment variablesCI
andESLINT_PLUGIN_DIFF_COMMIT
- is that right?