Skip to content

Commit

Permalink
Merge pull request #25 from a8cteam51/fix/js-lint-hangs
Browse files Browse the repository at this point in the history
Only lint JS files in the src directory
  • Loading branch information
nate-allen authored Aug 12, 2024
2 parents 6a5f7bd + f30763f commit 3d60717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"lint:readme-md": "wp-scripts lint-md-docs README.md",
"lint:scripts": "npm-run-all --sequential lint:scripts:**",
"lint:scripts:theme": "wp-scripts lint-js themes/$npm_package_name --no-error-on-unmatched-pattern",
"lint:scripts:mu-plugins": "wp-scripts lint-js mu-plugins --no-error-on-unmatched-pattern",
"lint:scripts:mu-plugins": "wp-scripts lint-js 'mu-plugins/**/src/**/*.js' --no-error-on-unmatched-pattern",
"lint:styles": "npm-run-all --sequential lint:styles:**",
"lint:styles:theme": "wp-scripts lint-style themes/$npm_package_name/**/*.{css,sass,scss} !themes/$npm_package_name/style*.css --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables",
"lint:styles:mu-plugins": "wp-scripts lint-style mu-plugins/**/*.{css,sass,scss} --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables",
Expand Down

0 comments on commit 3d60717

Please sign in to comment.