Skip to content

Commit

Permalink
Add an .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
fsgreco committed Jan 4, 2025
1 parent c3e28e8 commit 5df05fa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

[*.py]
indent_size = 4

[*.{js,ts,jsx,tsx,yml,html,css,json}]
indent_size = 2

[*.{py,yml,json}]
indent_style = space

[*.{js,ts,jsx,tsx,css,html,md}]
indent_style = tab
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"useTabs": true,
"tabWidth": 2,
"semi": false,
"printWidth": 95,
"printWidth": 115,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
Expand Down

0 comments on commit 5df05fa

Please sign in to comment.