Skip to content

Commit

Permalink
Adding clang Linter
Browse files Browse the repository at this point in the history
Test Plan: TBD

Reviewers: jcmcdonald

Reviewed By: jcmcdonald

Tags: #goldilocks_project, #programming_dept

Differential Revision: https://phab.mousepawmedia.com/D438
  • Loading branch information
Tianlin Fu committed Aug 5, 2021
1 parent 02b58e1 commit 5be48af
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .arcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"phabricator.uri" : "https://phabricator.mousepawmedia.net",
"phabricator.uri" : "https://phab.mousepawmedia.com",
"repository.callsign" : "G",
"load" : [
".arclibs/cppcheck"
]
".arclibs/cppcheck",
".arclibs/clang-format-linter"
],
"phutil_libraries": [
".arclib"
]
}
1 change: 1 addition & 0 deletions .arclibs/clang-format-linter
Submodule clang-format-linter added at 44dfb9
7 changes: 6 additions & 1 deletion .arclint
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"linters": {
"cpp": {

"clang-format": {
"type": "clang-format",
"include": "(\\.(hpp|cpp)$)"
},
"cpp": {
"type": "cppcheck",
"include": "(\\.cpp$)"
},
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".arclibs/clang-format-linter"]
path = .arclibs/clang-format-linter
url = https://github.com/vhbit/clang-format-linter.git

0 comments on commit 5be48af

Please sign in to comment.