Skip to content

Commit

Permalink
Added clang Linter
Browse files Browse the repository at this point in the history
Test Plan: Added linter

Reviewers: jcmcdonald

Reviewed By: jcmcdonald

Tags: #bss_team, #pawlib_project, #programming_dept

Maniphest Tasks: T1319

Differential Revision: https://phab.mousepawmedia.com/D428
  • Loading branch information
Tianlin Fu committed Aug 5, 2021
1 parent 4cd45d6 commit e6e62be
Show file tree
Hide file tree
Showing 5 changed files with 21 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" : "P",
"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
4 changes: 4 additions & 0 deletions .arclint
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"linters": {
"clang-format": {
"type": "clang-format",
"include": "(\\.(hpp|cpp)$)"
},
"cpp": {
"type": "cppcheck",
"include": "(\\.cpp$)"
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ Pawlib.workspace
pawlib.project
.DS_Store
*.kdev4
.vscode/ipch
.vscode/ipch
opus/Makefile
opus/config.log
opus/config.status
opus/doc/Makefile
opus/libtool
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 e6e62be

Please sign in to comment.