Skip to content

Commit

Permalink
Use EditorConfig to define basic indent rules
Browse files Browse the repository at this point in the history
- Create a file named .editorconfig in the root of your project
  - https://editorconfig.org/
  • Loading branch information
kitsuyui committed Dec 27, 2024
1 parent 4aa565f commit ae341a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[packages/**/*.{ts,json,js,css,tsx,jsx}]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

0 comments on commit ae341a6

Please sign in to comment.