Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The testbot does not run ESLint on all files when any of the config files in core/.eslint* are changed. Therefore the testbot passes, when there are files that break on the rule change and the testbot should fail.
Proposed resolution
Change the core/scripts/dev/commit-code-check.sh so that ESLint checks all files when core/.eslint* is changed.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3238936
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
nod_Comment #5
nod_Comment #6
alexpottThis looks good to me. It accomplishes the task at hand. We can open a follow-up to discuss running this if yarn.lock has changed running everything.
Comment #7
nod_opened #3239590: Run all code checks when third party dependencies are updated
Comment #10
larowlanThanks folks
Comment #11
nod_Need to open a follow up for doing the same with style lint config file