2014-08-18 08:40:13 +08:00
|
|
|
{
|
|
|
|
"linters": {
|
|
|
|
"format": {
|
|
|
|
"include": "(include/polly/.+\\.h$|lib/.+\\.cpp$)",
|
|
|
|
"exclude": "(lib/JSON/.*)",
|
2015-08-12 17:01:16 +08:00
|
|
|
"type": "script-and-regex",
|
|
|
|
"script-and-regex.script": "sh -c './utils/check_format.sh \"$0\" 2> /dev/null || true'",
|
|
|
|
"script-and-regex.regex": "/^(OK:(?P<ignore>.+)|Error:) (?P<message>.+)$/m"
|
2014-08-18 08:40:13 +08:00
|
|
|
},
|
|
|
|
"chmod": {
|
|
|
|
"type": "chmod"
|
|
|
|
},
|
|
|
|
"filename": {
|
|
|
|
"exclude": "(www/experiments/.+|.*\\.jscop.*)",
|
|
|
|
"type": "filename"
|
|
|
|
},
|
|
|
|
"merge-conflict": {
|
|
|
|
"type": "merge-conflict"
|
|
|
|
},
|
|
|
|
"spelling": {
|
|
|
|
"exclude": "(configure|autoconf/.*)",
|
|
|
|
"type": "spelling"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|