diff options
author | Tobias Markmann <tm@ayena.de> | 2017-06-19 09:59:20 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-06-21 15:56:20 (GMT) |
commit | 027111dcd9f5812342066d3bd3e1dbb1f46b3c95 (patch) | |
tree | 99fcd35d79dc64cb07b2aec0c5c4113b75fcdd7e /.coafile | |
parent | 83fb5ae3da2e5e690a3eafae99f6cd0cb59a2496 (diff) | |
download | swift-027111dcd9f5812342066d3bd3e1dbb1f46b3c95.zip swift-027111dcd9f5812342066d3bd3e1dbb1f46b3c95.tar.bz2 |
Add Coala config for whitespace checking
Coala ( https://coala.io/ ), is a meta linting tool, that
comes with own checks and integration for external tools for
a lot languages.
This adds a configuration that enforces no trailing whitespace
and no lines with only whitespaces.
Test-Information:
Ran coala and fixes the issues it raised.
Change-Id: I30b201135bbe8888d9d1bcadb28f9ced9b5db28f
Diffstat (limited to '.coafile')
-rw-r--r-- | .coafile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.coafile b/.coafile new file mode 100644 index 0000000..0b13ec4 --- /dev/null +++ b/.coafile @@ -0,0 +1,8 @@ +[CppFiles] + files = Swiften/**/*.(cpp|h),Swift/**/*.(cpp|h),SwifTools/**/*.(cpp|h),Sluift/**/*.(cpp|h) + ignore = Swift/QtUI/Swift.app/**/*,Swiften/Config/swiften-config.h,Sluift/iTunes.h + + bears = SpaceConsistencyBear + use_spaces = yes + allow_trailing_whitespace = no + enforce_newline_at_EOF = yes |