2021-12-06 10:26:58 +03:00
|
|
|
# Editor configuration, see https://editorconfig.org
|
|
|
|
|
root = true
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
# All files
|
2021-12-06 10:26:58 +03:00
|
|
|
[*]
|
|
|
|
|
charset = utf-8
|
2025-12-04 21:07:18 +03:30
|
|
|
end_of_line = lf
|
2021-12-06 10:26:58 +03:00
|
|
|
insert_final_newline = true
|
|
|
|
|
trim_trailing_whitespace = true
|
2025-12-04 21:07:18 +03:30
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 2
|
2021-12-06 10:26:58 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
# TypeScript, JavaScript
|
|
|
|
|
[*.{ts,js}]
|
|
|
|
|
indent_size = 2
|
|
|
|
|
max_line_length = 100
|
2021-12-06 10:26:58 +03:00
|
|
|
quote_type = single
|
2025-12-04 21:07:18 +03:30
|
|
|
ij_typescript_use_double_quotes = false
|
|
|
|
|
|
|
|
|
|
# HTML
|
|
|
|
|
[*.html]
|
|
|
|
|
indent_size = 2
|
|
|
|
|
max_line_length = 120
|
2021-12-06 10:26:58 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
# CSS, SCSS, LESS
|
|
|
|
|
[*.{css,scss,less}]
|
|
|
|
|
indent_size = 2
|
|
|
|
|
max_line_length = 120
|
|
|
|
|
|
|
|
|
|
# JSON
|
|
|
|
|
[*.json]
|
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
|
|
# Markdown
|
2021-12-06 10:26:58 +03:00
|
|
|
[*.md]
|
|
|
|
|
max_line_length = off
|
|
|
|
|
trim_trailing_whitespace = false
|
2025-12-04 21:07:18 +03:30
|
|
|
|
|
|
|
|
# Package files
|
|
|
|
|
[{package.json,*.lock}]
|
|
|
|
|
indent_size = 2
|