Skip to content

Commit

Permalink
Add prettier config for html files only (#5665)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin authored Feb 14, 2025
1 parent 6ff05ad commit 8cc1868
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# prettier is enabled only for html files in the examples folder
*.cjs
*.js
*.json
*.md
*.yml
build
dist
docs
gh-pages
scripts
src
tests
vendor
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none"
}

0 comments on commit 8cc1868

Please sign in to comment.