[commit: ghc] master: arclint: Don't complain about tabs unless it's inside the diff. (2b59c7a)

git at git.haskell.org git at git.haskell.org
Thu Oct 2 22:25:33 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2b59c7ac3f23dd229ddff20d991528ac742dfd24/ghc

>---------------------------------------------------------------

commit 2b59c7ac3f23dd229ddff20d991528ac742dfd24
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Thu Oct 2 15:01:47 2014 -0700

    arclint: Don't complain about tabs unless it's inside the diff.
    
    Summary: Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: none
    
    Reviewers: austin
    
    Subscribers: simonmar, ezyang, carter, thomie
    
    Differential Revision: https://phabricator.haskell.org/D303


>---------------------------------------------------------------

2b59c7ac3f23dd229ddff20d991528ac742dfd24
 .arclint | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/.arclint b/.arclint
index f798015..1310973 100644
--- a/.arclint
+++ b/.arclint
@@ -16,25 +16,33 @@
       "type": "text",
       "include": ["(\\.(l?hs(-boot)?|x|y\\.pp)(\\.in)?$)"],
       "severity": {
-        "5": "disabled"
+        "5": "disabled",
+        "2": "warning"
       }
     },
     "c": {
       "type": "text",
-      "include": ["(\\.(c|h)(\\.in)?$)"]
+      "include": ["(\\.(c|h)(\\.in)?$)"],
+      "severity": {
+        "2": "warning"
+      }
     },
     "text-xml": {
       "type": "text",
       "include": "(\\.xml$)",
       "severity": {
         "5": "disabled",
-        "3": "disabled"
+        "3": "disabled",
+        "2": "warning"
       }
     },
     "shell": {
       "type": "text",
       "include": [ "(\\.sh$)" ],
-      "text.max-line-length": 200
+      "text.max-line-length": 200,
+      "severity": {
+        "2": "warning"
+      }
     },
     "makefiles": {
       "type": "text",



More information about the ghc-commits mailing list