Add .editorconfig for consistent formatting and apply it

This commit is contained in:
June 2024-03-29 15:04:30 +01:00
parent cbb964a970
commit 24aa9c456b
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
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 { p.bigger {
font-size: 1.2rem; font-size: 1.2rem;
} }

View file

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