Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» devxp: add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ljnsn committed Jan 30, 2024
1 parent 29d3212 commit cc252aa
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
root = true

[*]
tab_width = 4
end_of_line = lf
max_line_length = 88
ij_visual_guides = 88,120
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,py,html}]
charset = utf-8

[*.{js,jsx,ts,tsx}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.{json,yml,yaml}]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab

[.flake8]
indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4
ij_python_from_import_parentheses_force_if_multiline = true

0 comments on commit cc252aa

Please sign in to comment.