mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
26ed02b
commit 889d6e2
Showing
3 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
# Files and folders related to build/test tools | ||
# 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 | ||
|
||
# Webpack built files | ||
/src/wp-includes/js/media-* | ||
|
||
# Themes | ||
src/wp-content/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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters