Skip to content

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

Merged
gziolo merged 1 commit into
masterfrom
update/scripts-ignore
Sep 3, 2019
Merged

Scripts: Add WordPress folder to the list of ignores in configs#17296
gziolo merged 1 commit into
masterfrom
update/scripts-ignore

Conversation

@gziolo
Copy link
Copy Markdown
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.

@gziolo gziolo force-pushed the update/scripts-ignore branch from 16e4f20 to 0f28a37 Compare September 2, 2019 08:54
@gziolo gziolo requested a review from talldan as a code owner September 2, 2019 08:54
Comment thread .stylelintignore
Comment thread packages/e2e-tests/jest.config.js
@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
Copy Markdown
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