Skip to content

Commit

Permalink
chore: add prettier (#286)
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 authored May 13, 2024
1 parent 93ba7d0 commit 0335b67
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 0335b67

Please sign in to comment.