Regularize whitespace; add editorconfig

- Change the few files that use leading tabs into leading spaces.
  This way they match the other files in the repo.
- Add an EditorConfig file so that supported editors will automatically
  use spaces instead of tabs.
- (Extra) Add some common editor backup-file extensions to .gitignore.
This commit is contained in:
Chris White 2020-03-21 08:58:43 -04:00
parent 1b6f7d1717
commit f112ab0826
8 changed files with 167 additions and 155 deletions

7
.editorconfig Normal file
View file

@ -0,0 +1,7 @@
# see https://editorconfig.org for the format of this file
root = true
[*]
end_of_line = LF
indent_style = space
indent_size = 4

5
.gitignore vendored
View file

@ -3,3 +3,8 @@ http/images
http/*.html http/*.html
http/favicon.ico http/favicon.ico
http/robots.txt http/robots.txt
# Editor and other backup files
*.swp
*~
~*