Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts: Add WordPress folder to the list of ignores in configs #17296

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Sep 2, 2019

Description

Follow-up for #17004 where wp-scripts env install adds wordpress folder with the local instance of WordPress.

This PR adds this new wordpress folder to all recommended configs in @wordpress/scripts to ensure that this folder is ignored and doesn't trigger any false alarms. This is quite similar to what happens in Gutenberg with the config overrides:

wordpress

wordpress

Testing

Basically all the following should work as before:

npm run lint-css
npm run lint-js
npm run lint-pkg-json
npm run test-e2e
npm run test-unit

I did some testing by adding files with failures to the wordpress folder.

.stylelintignore Show resolved Hide resolved
@gziolo gziolo added [Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended labels Sep 2, 2019
@gziolo gziolo requested a review from pento September 2, 2019 08:57
@gziolo gziolo self-assigned this Sep 2, 2019
Copy link
Member

@pento pento left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@gziolo gziolo merged commit 6e85a0b into master Sep 3, 2019
@gziolo gziolo deleted the update/scripts-ignore branch September 3, 2019 05:33
@gziolo gziolo added this to the Gutenberg 6.5 milestone Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants