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

Add prettier config for html files only #5665

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

vincentfretin
Copy link
Contributor

Description:

For those using vscode with prettier addon to format the html files, add a prettier config so the js embed in the html file match the repo style with single quote and no trailing comma.
The config only applies to html files in the examples directory.

If you want to reformat all files

npm install -D prettier
npx prettier --write 'examples/**/index.html'

but that does lots of changes.

@dmarcos
Copy link
Member

dmarcos commented Feb 14, 2025

Thanks

@dmarcos dmarcos merged commit 8cc1868 into aframevr:master Feb 14, 2025
3 checks passed
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