[commit: ghc] master: arclint: update rules for xml files (5bbbc7d)

git at git.haskell.org git at git.haskell.org
Thu Jun 26 16:34:08 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5bbbc7d7e0ef141bff6f4c5991d154413ed86ac3/ghc

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

commit 5bbbc7d7e0ef141bff6f4c5991d154413ed86ac3
Author: Austin Seipp <austin at well-typed.com>
Date:   Thu Jun 26 11:33:29 2014 -0500

    arclint: update rules for xml files
    
    As pointed out by Edward, it's probably unreasonable to have the xml
    docs adhere to 80 columns, so we'll separate out the linters for now.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

5bbbc7d7e0ef141bff6f4c5991d154413ed86ac3
 .arclint | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.arclint b/.arclint
index caa72ab..21ca5f0 100644
--- a/.arclint
+++ b/.arclint
@@ -14,9 +14,18 @@
     },
     "text": {
       "type": "text",
+      "exclude": [ "(\\.xml$)" ],
       "severity": {
         "5": "disabled"
       }
+    },
+    "text-xml": {
+      "type": "text",
+      "include": "(\\.xml$)",
+      "severity": {
+        "5": "disabled",
+        "3": "disabled"
+      }
     }
   }
 }



More information about the ghc-commits mailing list