nofib submodule: Fix a problem with fasta-c.c
[ghc.git] / .arclint
index caa72ab..95355e2 100644 (file)
--- a/.arclint
+++ b/.arclint
       "type": "generated"
     },
     "merge-conflict": {
-      "type": "merge-conflict"
+      "type": "merge-conflict",
+      "exclude": "(\\.rst$)"
     },
     "nolint": {
       "type": "nolint"
     },
-    "text": {
+    "haskell": {
       "type": "text",
+      "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$)",
+      "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"
+      }
+    },
+    "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": "python3 .arc-linters/check-binaries.py"
+    },
+    "check-makefiles": {
+      "type": "external-json",
+      "include": ["(Makefile$)"],
+      "external-json.script": "python3 .arc-linters/check-makefiles.py"
+    },
+    "bad-assert-clang-cpp": {
+      "type": "external-json",
+      "include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],
+      "external-json.script": "python3 .arc-linters/check-cpp.py"
     }
-  }
+  },
+
+  "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)"
+    ]
 }