[commit: ghc] master: arclint: Lint cabal files (5063edb)
git at git.haskell.org
git at git.haskell.org
Thu Dec 8 23:45:27 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5063edbc342467d451519c7cee38d0a2cc8b3f4d/ghc
>---------------------------------------------------------------
commit 5063edbc342467d451519c7cee38d0a2cc8b3f4d
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Dec 8 16:31:49 2016 -0500
arclint: Lint cabal files
Test Plan: Try linting a cabal file with trailing whitespace
Reviewers: austin
Subscribers: thomie, alanz
Differential Revision: https://phabricator.haskell.org/D2799
>---------------------------------------------------------------
5063edbc342467d451519c7cee38d0a2cc8b3f4d
.arclint | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.arclint b/.arclint
index 70767e9..7eaced6 100644
--- a/.arclint
+++ b/.arclint
@@ -53,6 +53,22 @@
"2": "disabled"
}
},
+ "cabal": {
+ "type": "text",
+ "include": ["(\\.cabal(\\.in)?$)"],
+ "severity": {
+ "5": "disabled",
+ "2": "warning"
+ }
+ },
+ "other-text": {
+ "type": "text",
+ "include": ["(.travis.yml?)", "(.md$)", "(.txt$)"],
+ "severity": {
+ "5": "disabled",
+ "2": "warning"
+ }
+ },
"check-binaries": {
"type": "external-json",
"external-json.script": "python .arc-linters/check-binaries.py"
More information about the ghc-commits
mailing list