Hi,
is there any way I can run eslint only the files that appear in my PR? At present this is my job and it runs lint on all the files. However I want to run eslint only on the changed files.
lint:
executor:
name: node/default
steps:
- checkout
- node/install:
node-version: "14.19.1"
- run: node --version
- node/install-packages:
pkg-manager: npm
- run:
command: npm run lint
name: Run linter
no_output_timeout: 30m
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
resource_class: large