It was not possible to change message severeties for Cppcheck linter using custom parameters (like using .arclint config file).
Two functions were missing and have been implemented: getDefaultMessageSeverity and getLintCodeFromLinterConfigurationKey.
Also the function parseLinterOutput has been updated in order to get the correct severity for each message.
Details
Details
- Reviewers
joshuaspence epriestley - Group Reviewers
Blessed Reviewers
Get a cpp file with 'performace' issue reported by Cppcheck linter.
Running 'arc lint' should report no errors since 'performance' is a SEVERITY_ADVICE message.
Change the .arclint config to set 'performance' message as 'error' and run 'arc lint' again.
Now it should report a lint error on that file.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 2546 Build 2550: [Placeholder Plan] Wait for 30 Seconds