2019-10-19 18:50:44 +02:00
|
|
|
# This file is for unifying the coding style for different editors and IDEs
|
|
|
|
# editorconfig.org
|
2020-05-13 18:40:03 +02:00
|
|
|
# https://github.com/editorconfig/specification/blob/master/index.rst
|
2019-10-19 18:50:44 +02:00
|
|
|
|
|
|
|
root = true
|
|
|
|
|
2020-05-13 18:40:03 +02:00
|
|
|
[*]
|
2019-10-19 18:50:44 +02:00
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
2020-05-13 18:40:03 +02:00
|
|
|
indent_style = space
|
2020-06-01 15:13:21 +02:00
|
|
|
indent_size = 4
|
2019-10-19 18:50:44 +02:00
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
2020-05-13 18:40:03 +02:00
|
|
|
max_line_length = 120
|
|
|
|
|
2022-11-26 14:50:15 +01:00
|
|
|
[{.babelrc,package.json,.eslintrc.json}]
|
2020-06-01 15:13:21 +02:00
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[docker/**.conf]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.{htm,html,twig}]
|
|
|
|
indent_size = 4
|
2020-06-24 13:01:24 +02:00
|
|
|
max_line_length = unset
|
2020-06-01 15:13:21 +02:00
|
|
|
|
|
|
|
[*.{js,css,less,sass,scss}]
|
|
|
|
indent_size = 2
|
|
|
|
|
2021-05-22 16:52:37 +02:00
|
|
|
[*.js]
|
|
|
|
quote_type = single
|
|
|
|
|
2020-06-01 15:13:21 +02:00
|
|
|
[{LICENSE,db/*.sql}]
|
|
|
|
indent_size = unset
|
|
|
|
|
2020-05-13 18:40:03 +02:00
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
2020-06-01 15:13:21 +02:00
|
|
|
indent_size = 2
|
2020-06-24 13:01:24 +02:00
|
|
|
max_line_length = unset
|
2020-05-13 18:40:03 +02:00
|
|
|
|
|
|
|
[*.php]
|
2019-10-19 18:50:44 +02:00
|
|
|
indent_size = 4
|
|
|
|
|
2020-06-01 15:13:21 +02:00
|
|
|
[*.sh]
|
2020-05-13 18:40:03 +02:00
|
|
|
indent_size = 2
|
|
|
|
|
2020-06-24 13:01:24 +02:00
|
|
|
[{db/*.sql,includes/**}]
|
|
|
|
max_line_length = unset
|
|
|
|
|
2020-05-13 18:40:03 +02:00
|
|
|
[*.{yml,yaml}]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.mo]
|
|
|
|
charset = unset
|
|
|
|
end_of_line = unset
|
|
|
|
indent_style = unset
|
|
|
|
indent_size = unset
|
|
|
|
insert_final_newline = unset
|
|
|
|
trim_trailing_whitespace = unset
|