mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 22:00:14 +00:00
![Johannes Doerfert](/assets/img/avatar_default.png)
Arcanist (arc) will now always run linters before uploading any new commit to Phabricator. All errors/warnings (or their absence) will be shown in the web interface together with a explanation by the commiter (arcanist will ask the commiter if the build was not clean). The linters include: - clang-format - spelling check - permissions check (aka. chmod) - filename check - merge conflict marker check Note, that their scope is sometimes limited (see .arclint for details). This commit also fixes all errors and warnings these linters reported, namely: - spelling mistakes and typos - executable permissions for various text files Differential Revision: http://reviews.llvm.org/D4916 llvm-svn: 215871
24 lines
474 B
Plaintext
24 lines
474 B
Plaintext
{
|
|
"linters": {
|
|
"format": {
|
|
"include": "(include/polly/.+\\.h$|lib/.+\\.cpp$)",
|
|
"exclude": "(lib/JSON/.*)",
|
|
"type": "script-and-regex"
|
|
},
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"filename": {
|
|
"exclude": "(www/experiments/.+|.*\\.jscop.*)",
|
|
"type": "filename"
|
|
},
|
|
"merge-conflict": {
|
|
"type": "merge-conflict"
|
|
},
|
|
"spelling": {
|
|
"exclude": "(configure|autoconf/.*)",
|
|
"type": "spelling"
|
|
}
|
|
}
|
|
}
|