summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-03-28 14:51:24 +0200
committerBen Gamari <ben@smart-cactus.org>2016-03-29 12:37:57 +0200
commita658ad9f5b9849296ac25225174dac6a700a235e (patch)
treecac71581f6b6632ca1a1d52a9f3fdc37c5a38032
parent91b96e1ccce6a642d710ce40211e1795d01abf04 (diff)
downloadhaskell-a658ad9f5b9849296ac25225174dac6a700a235e.tar.gz
Reenable external-json linters
This is to be merged once a fix for the Harbormaster build script has been applied. This reverts commit a14296c2660521db8ba965065687e45cee4e3401. These were previously disabled due to Harbormaster validation failures. Also, apply CPP check to .c and .h files in addition to Haskell sources. Test Plan: Let Harbormaster validate Reviewers: austin Reviewed By: austin Subscribers: hvr, thomie Differential Revision: https://phabricator.haskell.org/D1580
-rw-r--r--.arcconfig6
-rw-r--r--.arclint9
2 files changed, 14 insertions, 1 deletions
diff --git a/.arcconfig b/.arcconfig
index b9c39321ed..c886789d35 100644
--- a/.arcconfig
+++ b/.arcconfig
@@ -1,5 +1,9 @@
{
"project.name" : "ghc",
"repository.callsign" : "GHC",
- "phabricator.uri" : "https://phabricator.haskell.org"
+ "phabricator.uri" : "https://phabricator.haskell.org",
+
+ "load": [
+ ".arc-linters/arcanist-external-json-linter"
+ ]
}
diff --git a/.arclint b/.arclint
index 8f83776f80..69644ea494 100644
--- a/.arclint
+++ b/.arclint
@@ -52,6 +52,15 @@
"severity": {
"2": "disabled"
}
+ },
+ "check-binaries": {
+ "type": "external-json",
+ "external-json.script": "python .arc-linters/check-binaries.py"
+ },
+ "bad-assert-clang-cpp": {
+ "type": "external-json",
+ "include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],
+ "external-json.script": "python .arc-linters/check-cpp.py"
}
},