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

Prettier html #54

Merged
merged 4 commits into from
Nov 16, 2023
Merged

Prettier html #54

merged 4 commits into from
Nov 16, 2023

Conversation

sfdctaka
Copy link
Collaborator

No description provided.

@sfdctaka sfdctaka requested a review from a team as a code owner November 15, 2023 00:12
@sfdctaka
Copy link
Collaborator Author

If approved I will merge this after @dbreese 's code generation PR is merged.

package.json Outdated
"prettier:write": "prettier --write \"src/**/*.{ts, js}\"",
"prettier:verify": "prettier --list-different \"src/**/*.{ts, js}\"",
"prettier:write": "prettier --write \"src/**/*.{ts, js}\" \"resources/instructions/**/*.html\"",
"prettier:verify": "prettier --list-different \"{src, resources/instructions}/**/*.{ts, js}\" \"resources/instructions/**/*.html\"",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: shouldn't the --list-different and --write arguments look basically the same? Specifically, should we pick one or the other of \"src/**/*.{ts, js}\" and \"{src, resources/instructions}/**/*.{ts, js}\", for consistency?

(And I'd lobby for the former, just because it's easier to read.)

@sfdctaka sfdctaka merged commit b7589f8 into salesforce:main Nov 16, 2023
9 checks passed
@sfdctaka sfdctaka deleted the htmlPrettier branch November 16, 2023 01:19
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