Skip to content

Commit

Permalink
Add .editorconfig and .prettierrc to fix formatting discrepancies in …
Browse files Browse the repository at this point in the history
…VSCode (#2566)
  • Loading branch information
CollinBeczak authored Feb 19, 2025
1 parent f3be3d5 commit bd6980d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*.{js,jsx}]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 100
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "all"
}

0 comments on commit bd6980d

Please sign in to comment.