mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
Add .editorconfig (#469)
This commit is contained in:
23
.editorconfig
Normal file
23
.editorconfig
Normal 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
|
||||
Reference in New Issue
Block a user