Adjust editorconfig

This commit is contained in:
Peter Rossa
2023-09-26 10:05:33 +02:00
parent 7be7e1918e
commit d9a34b0ddb

View File

@@ -1,16 +1,54 @@
# Editor configuration, see https://editorconfig.org
root = true
# EditorConfig is awesome: https://EditorConfig.org
[*]
# Top-most EditorConfig file
root = true
charset = utf-8
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Use spaces instead of tabs for indentation
[*.html]
indent_style = space
indent_size = 2
[*.scss]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.ts]
indent_style = space
indent_size = 2
quote_type = single
[*.md]
max_line_length = off
trim_trailing_whitespace = false
# Trim trailing whitespace
[*.{html,scss,ts}]
trim_trailing_whitespace = true
# Ensure a single blank line at the end of the file
[*.{html,scss,ts}]
insert_final_newline = true
# Set character encoding to UTF-8
[*.{html,scss,ts}]
charset = utf-8
# Angular-specific settings
[*.html]
wrap_attributes = force-aligned
indent_size = 4
# Limit the maximum line length to 80 characters (adjust as needed)
[*.{html,scss,ts}]
max_line_length = 140
# Ignore some folders and files
[.git]
[.vscode]
[dist]
[node_modules]
[e2e]
*.js