Make WordPress Core

Changeset 59848 for trunk/.eslintignore


Ignore:
Timestamp:
02/20/2025 08:00:20 PM (2 months ago)
Author:
jorbin
Message:

Build/Test: Fix JavaScript linting scripts

wp-prettier was out of date and no longer compatible with wp-scripts. Additionally, many generated files and plugins were not being properly ignored which could cause linting to take so long that it was basically unusable.

Props ankitkumarshah, jorbin.
See #62935.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.eslintignore

    r49978 r59848  
    1 # Files and folders related to build/test tools
     1# Files and folders related to build/test tools including generated files
    22/build
    33/node_modules
     
    55/vendor
    66/tools
     7/jsdoc
     8/artifacts
     9/coverage
     10.cache/*
     11/src/wp-includes/blocks/**/*.js
     12/src/wp-includes/blocks/**/*.js.map
     13/src/wp-admin/js
     14/src/wp-includes/js
    715
    816# Excluded files and folders based on `jsdoc.conf.json` exclusions
    917/src/js/_enqueues/vendor
    1018
    11 # Webpack built files
    12 /src/wp-includes/js/media-*
     19# Themes
     20src/wp-content/themes
    1321
    14 # Themes
    15 src/wp-content/themes/
     22# Files and folders that get created in wp-content
     23/src/wp-content/plugins
     24/src/wp-content/mu-plugins
     25/src/wp-content/upgrade
     26/src/wp-content/uploads
Note: See TracChangeset for help on using the changeset viewer.