Skip to content

Commit 1e03491

Browse files
committed
Normalize indentation of HTML and CSS files
Previously, these files used a mix of spaces and tabs and had varying indentation amounts. Now, add an .editorconfig to the root of the project with the same values as Django. This normalizes the files to spaces. CSS files use 4 spaces and HTML files use 2.
1 parent c415869 commit 1e03491

28 files changed

+998
-982
lines changed

.editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
end_of_line = lf
11+
charset = utf-8
12+
13+
[*.html]
14+
indent_size = 2
15+
16+
[Makefile]
17+
indent_style = tab
18+
19+
[*.bat]
20+
indent_style = tab
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#djDebug {
2-
display: none !important;
2+
display: none !important;
33
}

0 commit comments

Comments
 (0)