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

Ensure all gitignored sku-generated files are also ignored by prettier and eslint #957

Merged
merged 3 commits into from
May 6, 2024

Conversation

askoufis
Copy link
Contributor

@askoufis askoufis commented May 6, 2024

We were creating the lintIgnorePatterns array before modifying it later on. The effect of the change should be self-explanatory based on the changed files.

Note

It turns out that we were never actually linting/formatting these files anyway. This was because we are explicit about which file extensions we lint/format, but these files don't have any file extensions, so they were effectively being ignored.

I also converted a lot of the configure tests to use snapshots rather than asserting on each array item. These were effectively manual snapshots, which were a bit tedious to update when the time came to do so.

@askoufis askoufis requested a review from a team as a code owner May 6, 2024 02:01
Copy link

changeset-bot bot commented May 6, 2024

🦋 Changeset detected

Latest commit: 2aa4670

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sku Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@askoufis askoufis enabled auto-merge (squash) May 6, 2024 04:01
@askoufis askoufis merged commit a13c06c into master May 6, 2024
4 checks passed
@askoufis askoufis deleted the eslint-prettier-ignore-sku-generated-files branch May 6, 2024 04:07
@seek-oss-ci seek-oss-ci mentioned this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants