server/src/linters/clang.ts
Function buildCommandLine
has 84 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
protected buildCommandLine(fileName: string, tmpFileName: string): string[] {
let includePathParams = this.getIncludePathParams();
let languageParam = this.getLanguageParam();
let iquoteParams: string[];
Avoid too many return
statements within this function. Open
Open
return {
parseError: 'Line could not be parsed: ' + line,
fileName: '',
line: 0,
column: 0,