Add .editorconfig (#469)

This commit is contained in:
Uriel
2023-01-16 11:27:08 -03:00
committed by GitHub
parent c5d666d335
commit 6c7550ee56
3 changed files with 29 additions and 4 deletions

23
.editorconfig Normal file
View File

@@ -0,0 +1,23 @@
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
# Fluent files only support spaces for indentation
[*.ftl]
indent_size = 4
indent_style = space
# Current config in eslint uses 2 spaces for indentation
[*.{.tsx,ts,jsx,js}]
indent_size = 2
indent_style = space
max_line_length = 88
# This is how everything should actually be
[*.{kt,kts,java,rs}]
indent_size = 4
indent_style = tab
max_line_length = 88