run-local-checks should ignore vendor and node_modules

Created on 22 February 2025, about 2 months ago

Problem/Motivation

The call to eslint within run-local-checks.sh appears to read all files in the /vendor and /node_modules directories. I discovered this when working on adding a 'debug' argument to the script, which will add the various --debug, -v, command line options to each call

Steps to reproduce

In gitlab_templates top folder run the following
npx eslint --no-error-on-unmatched-pattern --debug --ext=.yml .
You can see that every file in vendor and node_modules is being checked

Proposed resolution

  • Add a script option debug which will add the necessary command options
  • Add --ignore-pattern=vendor,node_modules
📌 Task
Status

Active

Component

gitlab-ci

Created by

🇬🇧United Kingdom jonathan1055

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024