arclint: Lint cabal files
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 8 Dec 2016 21:31:49 +0000 (16:31 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 8 Dec 2016 23:44:55 +0000 (18:44 -0500)
Test Plan: Try linting a cabal file with trailing whitespace

Reviewers: austin

Subscribers: thomie, alanz

Differential Revision: https://phabricator.haskell.org/D2799

.arclint

index 70767e9..7eaced6 100644 (file)
--- a/.arclint
+++ b/.arclint
         "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"