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
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
What happens if a patch with lint errors gets committed the old way without being submitted through arc?
Will that cause errors in the next patch submitted with arc?
Comment Actions
It might cause errors/warnings in the next commit, yes. It depends on the kind of linter I think. Afaik. not all run on unchanged files, clang-format will run though, so the next commiter might want to fix the repo with a commit first.
I will use arcanist from now on anyway (unless I get resistance from you guys).