Testsuite: check actual_prof_file only when needed
[ghc.git] / .arclint
index db6299d..8f83776 100644 (file)
--- a/.arclint
+++ b/.arclint
@@ -7,13 +7,89 @@
       "type": "generated"
     },
     "merge-conflict": {
-      "type": "merge-conflict"
+      "type": "merge-conflict",
+      "exclude": "(\\.rst$)"
     },
     "nolint": {
       "type": "nolint"
     },
-    "text": {
-      "type": "text"
+    "haskell": {
+      "type": "text",
+      "include": ["(\\.(l?hs(-boot)?|x|y\\.pp)(\\.in)?$)"],
+      "severity": {
+        "5": "disabled",
+        "2": "warning"
+      }
+    },
+    "c": {
+      "type": "text",
+      "include": ["(\\.(c|h)(\\.in)?$)"],
+      "severity": {
+        "2": "warning"
+      }
+    },
+    "text-xml": {
+      "type": "text",
+      "include": "(\\.xml$)",
+      "severity": {
+        "5": "disabled",
+        "3": "disabled",
+        "2": "warning"
+      }
+    },
+    "shell": {
+      "type": "text",
+      "include": [ "(\\.sh$)" ],
+      "text.max-line-length": 200,
+      "severity": {
+        "2": "warning"
+      }
+    },
+    "makefiles": {
+      "type": "text",
+      "include": [ "(Makefile$)", "(\\.mk$)" ],
+      "text.max-line-length": 400,
+      "severity": {
+        "2": "disabled"
+      }
     }
-  }
+  },
+
+  "exclude":
+    [ "(^libffi-tarballs)",
+      "(^libraries/binary)",
+      "(^libraries/bytestring)",
+      "(^libraries/Cabal)",
+      "(^libraries/containers)",
+      "(^libraries/haskeline)",
+      "(^libraries/pretty)",
+      "(^libraries/terminfo)",
+      "(^libraries/transformers)",
+      "(^libraries/xhtml)",
+      "(^libraries/Win32)",
+      "(^libraries/primitive)",
+      "(^libraries/vector)",
+      "(^libraries/time)",
+      "(^libraries/random)",
+      "(^libraries/array)",
+      "(^libraries/deepseq)",
+      "(^libraries/directory)",
+      "(^libraries/filepath)",
+      "(^libraries/haskell98)",
+      "(^libraries/haskell2010)",
+      "(^libraries/hoopl)",
+      "(^libraries/hpc)",
+      "(^libraries/old-locale)",
+      "(^libraries/old-time)",
+      "(^libraries/process)",
+      "(^libraries/unix)",
+      "(^libraries/parallel)",
+      "(^libraries/stm)",
+      "(^libraries/dph)",
+      "(^utils/haddock)",
+      "(^nofib)",
+      "(^utils/hsc2hs)",
+      "(^libffi-tarballs)",
+      "(^ghc-tarballs)"
+    ]
 }