• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "linters": {
3    "clang-format": {
4      "type": "script-and-regex",
5      "script-and-regex.script": "bash utils/arcanist/clang-format.sh",
6      "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",
7      "include": [
8        "(\\.(cc|cpp|h)$)"
9      ],
10      "exclude": [
11        "(^clang/test/)"
12      ]
13    }
14  }
15}
16