chore(.editorconfig): add file to enforce consistent coding styles (#712)

This commit is contained in:
Frazer Smith
2025-11-13 09:11:27 +00:00
committed by GitHub
parent 232c86b8e6
commit d1387511d7
2 changed files with 16 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
root = true
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
# Prettier will use these settings
end_of_line = lf
indent_style = tab
indent_size = 4
max_line_length = 80
[*.{css,html,scss}]
max_line_length = 120
+1 -5
View File
@@ -1,16 +1,12 @@
{
"arrowParens": "always",
"endOfLine": "lf",
"semi": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": true,
"overrides": [
{
"files": ["*.css", "*.html", "*.scss"],
"options": {
"bracketSameLine": true,
"printWidth": 120
"bracketSameLine": true
}
}
]