chore(format): make all js/ts files and variants prettier properly

This commit is contained in:
Zachary Haber 2022-06-09 11:22:21 -05:00
parent e2640f234b
commit 3eee2e1280
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.js]
[*.{js,ts,[cm]js,[cm]ts}]
quote_type = single
curly_bracket_next_line = true
indent_brace_style = Allman

5
.gitattributes vendored
View File

@ -10,6 +10,11 @@
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.cjs text eol=lf
*.mjs text eol=lf
*.ts text eol=lf
*.cts text eol=lf
*.mts text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf