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

chore(prettier): format fixture input files #4972

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

wjhsf
Copy link
Collaborator

@wjhsf wjhsf commented Nov 27, 2024

Details

Another minor nuisance solved!

Does this pull request introduce a breaking change?

  • ๐Ÿ˜ฎโ€๐Ÿ’จ No, it does not introduce a breaking change.
  • ๐Ÿ’” Yes, it does introduce a breaking change.

Does this pull request introduce an observable change?

  • ๐Ÿคž No, it does not introduce an observable change.
  • ๐Ÿ”ฌ Yes, it does include an observable change.

GUS work item

@wjhsf wjhsf requested a review from a team as a code owner November 27, 2024 17:56
Comment on lines -6 to -7
public/
types/
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We don't have any directories called public or types that we want to ignore, so we don't need this in the config.

packages/@lwc/style-compiler/src/__tests__/fixtures/**/actual.css
packages/@lwc/babel-plugin-component/src/__tests__/fixtures/**/actual.js

# TODO: Why do these have JS in them?
Copy link
Contributor

Choose a reason for hiding this comment

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

These have JS in them because we are testing how Node/module resolution works for .js files with a particular directory structure / name.

@@ -11,11 +11,11 @@ To enable importing [templates](https://lwc.dev/guide/html_templates) or [styles

```ts
// ./types/global.d.ts
import '@lwc/types'
import '@lwc/types';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TIL prettier can handle code blocks in markdown!

Copy link
Contributor

@nolanlawson nolanlawson left a comment

Choose a reason for hiding this comment

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

There is of course a chance that you've formatted some files where we had an intentional error. But I think your blocklist in .prettierignore looks right to me, and I checked all the non-whitespace changes and they look to be unimportant.

Let's do this! Looks good.

@wjhsf wjhsf merged commit 19d2b7f into master Nov 27, 2024
11 checks passed
@wjhsf wjhsf deleted the wjh/prettier-fixtures branch November 27, 2024 19:23
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.

2 participants