-
Notifications
You must be signed in to change notification settings - Fork 403
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
Conversation
public/ | ||
types/ |
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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!
There was a problem hiding this 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.
Details
Another minor nuisance solved!
Does this pull request introduce a breaking change?
Does this pull request introduce an observable change?
GUS work item