Add .editorconfig for consistent formatting and apply it

This commit is contained in:
June 2024-03-29 15:04:30 +01:00 committed by jtbx
parent f33e1c4287
commit fc92def43a
3 changed files with 21 additions and 2 deletions

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
charset = utf-8
[*.html]
indent_size = 2
trim_trailing_whitespace = true
[*.css]
indent_size = 2
trim_trailing_whitespace = true
[*.md]
indent_size = 2
trim_trailing_whitespace = false

View file

@ -25,4 +25,4 @@ img {
p.bigger {
font-size: 1.2rem;
}
}

View file

@ -37,4 +37,4 @@
</p>
</footer>
</body>
</html>
</html>