mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 16:42:24 +01:00
build: add .editorconfig
This commit is contained in:
parent
e2e27670fd
commit
7ac44e41d2
1 changed files with 29 additions and 0 deletions
29
.editorconfig
Normal file
29
.editorconfig
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = crlf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
max_line_length = 120
|
||||
tab_width = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.ats, *.ts}]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
[{*.cjs, *.js}]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
[{*.gradle.kts, *.kts, *.kt}]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
[{*.yml, *.yaml}]
|
||||
indent_size = 2
|
||||
|
||||
[{.eslintrc, bowerrc, .prettierrc, .releaserc, jest.config, .stylelintrc, .babelrc, *.jsb3, *.jsb2, *.json}]
|
||||
indent_size = 2
|
||||
Loading…
Reference in a new issue