diff options
author | silverwind <me@silverwind.io> | 2023-05-13 17:51:22 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2023-05-13 17:51:22 +0200 |
commit | c9d3f67264e322e89d37ce963a31e73e24bfe59f (patch) | |
tree | f0646815da2ba29cc4b5c1a099d1d9b2c2f6f262 /.editorconfig | |
parent | Fix README.md typo on daemon (#183) (diff) | |
download | forgejo-runner-c9d3f67264e322e89d37ce963a31e73e24bfe59f.tar.xz forgejo-runner-c9d3f67264e322e89d37ce963a31e73e24bfe59f.zip |
Add .editorconfig and .gitattributes (#186)
Add some files that belong in every repo.
- `.editorconfig` is based on `gitea` repo.
- `.gitattributes` is useful for Windows users.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/186
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..deec24a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +tab_width = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{go}] +indent_style = tab + +[Makefile] +indent_style = tab |