Add .editorconfig for Consistent Formatting and Apply It #2

Merged
jtbx merged 1 commit from editorconfig into main 2024-03-30 18:59:55 +01:00
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>