55 lines
948 B
INI
55 lines
948 B
INI
# 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
|
|
|
|
[*.ts]
|
|
indent_style = space
|
|
indent_size = 2
|
|
quote_type = single
|
|
|
|
# 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
|
|
|