summaryrefslogtreecommitdiff
blob: 27d838eb153f2a932ca704c78fc9592b1672b590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "linters": {
    "clang-format": {
      "type": "script-and-regex",
      "script-and-regex.script": "bash utils/arcanist/clang-format.sh",
      "script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<message>[^\n]+)\n(====|(?P<line>\\d),(?P<char>\\d)\n(?P<original>.*)>>>>\n(?P<replacement>.*)<<<<\n)$/s",
      "include": [
        "(\\.(cc|cpp|h)$)"
      ],
      "exclude": [
        "(^clang/test/)"
      ]
    }
  }
}