mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-23 05:50:47 +01:00
Merge pull request #713 from cschug/feat_editorconfig
feat: add EditorConfig configuration
This commit is contained in:
commit
e31f732769
65
.editorconfig
Normal file
65
.editorconfig
Normal file
@ -0,0 +1,65 @@
|
||||
# https://editorconfig.org/
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[/docker-compose/nginx/**/*.conf]
|
||||
indent_size = 2
|
||||
|
||||
[/docker-compose/wazuh/**/*.conf]
|
||||
indent_size = 2
|
||||
|
||||
[*.css]
|
||||
indent_size = 2
|
||||
|
||||
[{*.go,go.mod}]
|
||||
indent_style = tab
|
||||
indent_size = unset
|
||||
|
||||
[*.hcl]
|
||||
indent_size = unset
|
||||
|
||||
[*{.min,.min.*,-min}.js]
|
||||
charset = unset
|
||||
indent_size = unset
|
||||
indent_style = unset
|
||||
insert_final_newline = unset
|
||||
max_line_length = off
|
||||
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
indent_size = unset
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.nix]
|
||||
indent_size = 2
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
||||
[*.tf]
|
||||
indent_size = unset
|
||||
|
||||
[/packer/**/http/user-data]
|
||||
indent_size = 2
|
||||
|
||||
[{*.{yaml,yml},.yamllint}]
|
||||
indent_size = 2
|
||||
|
||||
[*.xml]
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = unset
|
||||
|
||||
[Vagrantfile]
|
||||
indent_size = 2
|
Loading…
Reference in New Issue
Block a user