Add the arclint file in kwayland
Summary: - xml linter to make sure that we don't add broken protocols - merge-conflict so that we don't commit merge-conflict markers - spell check for documentation - cppcheck to check the code Test Plan: broke some files manually, and then ran arc lint Reviewers: #frameworks, mart Reviewed By: mart Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D13533
This commit is contained in:
parent
c6a864f03e
commit
1710d3e02c
1 changed files with 20 additions and 0 deletions
20
src/wayland/.arclint
Normal file
20
src/wayland/.arclint
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"exclude": "(^test/)",
|
||||
"linters": {
|
||||
"spelling": {
|
||||
"type": "spelling"
|
||||
},
|
||||
"merge-conflict": {
|
||||
"type": "merge-conflict"
|
||||
},
|
||||
"xml": {
|
||||
"type": "xml",
|
||||
"include": "(\\.xml$)"
|
||||
},
|
||||
"cppcheck": {
|
||||
"type": "cppcheck",
|
||||
"include": "(\\.(cpp|h|cxx|hpp)$)",
|
||||
"flags": ["--language=c++", "--std=c++11"]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue