Dwarf: Ensure block length is encoded correctly
[ghc.git] / .arclint
index bb16f08..5642c63 100644 (file)
--- a/.arclint
+++ b/.arclint
     "nolint": {
       "type": "nolint"
     },
-    "text": {
+    "haskell": {
       "type": "text",
-      "exclude": [ "(\\.xml)", "(Makefile)", "(\\.mk)" ],
+      "include": ["(\\.(l?hs(-boot)?|x|y\\.pp)(\\.in)?$)"],
       "severity": {
-        "5": "disabled"
+        "5": "disabled",
+        "2": "warning"
+      }
+    },
+    "c": {
+      "type": "text",
+      "include": ["(\\.(c|h)(\\.in)?$)"],
+      "severity": {
+        "2": "warning"
       }
     },
     "text-xml": {
       "type": "text",
-      "include": "(\\.xml)",
+      "include": "(\\.xml$)",
       "severity": {
         "5": "disabled",
-        "3": "disabled"
+        "3": "disabled",
+        "2": "warning"
+      }
+    },
+    "shell": {
+      "type": "text",
+      "include": [ "(\\.sh$)" ],
+      "text.max-line-length": 200,
+      "severity": {
+        "2": "warning"
       }
     },
     "makefiles": {
       "type": "text",
-      "include": [ "(Makefile)", "(\\.mk)" ],
+      "include": [ "(Makefile$)", "(\\.mk$)" ],
+      "text.max-line-length": 400,
       "severity": {
         "2": "disabled"
       }