Skip to content

Commit

Permalink
chore: add prettier
Browse files Browse the repository at this point in the history
Adds prettier and the associated formatting changes.

This also updates the editor config to match that of chai itself.
  • Loading branch information
43081j committed May 5, 2024
1 parent 7775cc3 commit 7012feb
Show file tree
Hide file tree
Showing 16 changed files with 1,973 additions and 1,718 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4

[.eslintrc.json]
indent_size = 2
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"bracketSpacing": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"arrowParens": "always"
}
Loading

0 comments on commit 7012feb

Please sign in to comment.