wordpress/.eslintignore
Aaron Jorbin 889d6e2efb 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@59848 602fd350-edb4-49c9-b593-d223f7449a82
2025-02-20 20:00:20 +00:00

27 lines
535 B
Plaintext

# Files and folders related to build/test tools including generated files
/build
/node_modules
/tests
/vendor
/tools
/jsdoc
/artifacts
/coverage
.cache/*
/src/wp-includes/blocks/**/*.js
/src/wp-includes/blocks/**/*.js.map
/src/wp-admin/js
/src/wp-includes/js
# Excluded files and folders based on `jsdoc.conf.json` exclusions
/src/js/_enqueues/vendor
# Themes
src/wp-content/themes
# Files and folders that get created in wp-content
/src/wp-content/plugins
/src/wp-content/mu-plugins
/src/wp-content/upgrade
/src/wp-content/uploads