Skip to content

Commit 0335b67

Browse files
authored
chore: add prettier (#286)
Adds prettier and the associated formatting changes. This also updates the editor config to match that of chai itself.
1 parent 93ba7d0 commit 0335b67

16 files changed

+1973
-1718
lines changed

.editorconfig

-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ insert_final_newline = true
66
trim_trailing_whitespace = true
77
charset = utf-8
88
indent_style = space
9-
indent_size = 4
10-
11-
[.eslintrc.json]
129
indent_size = 2

.prettierrc.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"bracketSpacing": false,
3+
"printWidth": 80,
4+
"semi": true,
5+
"singleQuote": true,
6+
"tabWidth": 2,
7+
"trailingComma": "none",
8+
"useTabs": false,
9+
"arrowParens": "always"
10+
}

0 commit comments

Comments
 (0)