summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-12-17 17:38:05 +0000
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-12-21 21:13:58 +0100
commit8c14c6bd0bd0b47fa1eb16993439404139a7086c (patch)
tree104cfef1a83e269d1c75e4faf5d55fb1212f5f8a /.gitattributes
parent215bd0e72b48b2fb2b8e62a53765a60064d7b4b0 (diff)
downloadcmake-8c14c6bd0bd0b47fa1eb16993439404139a7086c.tar.gz
Add .editorconfig file
A .editorconfig file allows many editors (e.g. Visual Studio Code) to autoconfigure themselves based on its contents. This avoids some formatting issues in PRs because editors will do the right thing by default with a .editorconfig file available in the repo.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 3da2d60f54..fac38dfd74 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,6 @@
.git* export-ignore
.hooks* export-ignore
+.editorconfig export-ignore
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent format.clang-format-6.0