Skip to content

Commit 9bf6cfe

Browse files
author
Nick Sullivan
committed
✨ Add .prettierignore to exclude templates from formatting
Templates often have their own formatting requirements or are generated code that shouldn't be reformatted. Excluding them prevents Prettier from altering template syntax and structure.
1 parent d6f3e49 commit 9bf6cfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
templates/

0 commit comments

Comments
 (0)