Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 2d8e443

Browse files
committed
Pass --no-fix to Standard linter. Resolves #447
1 parent cb03f63 commit 2d8e443

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

server/src/linters/Standard.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ export default class Standard extends RuboCop {
1313
}
1414
}
1515

16+
get args(): string[] {
17+
const args = super.args;
18+
args.push('--no-fix');
19+
return args;
20+
}
21+
1622
// This method is overridden to deal with the "notice" that is
1723
// currently output
1824
protected processResults(data): Diagnostic[] {

0 commit comments

Comments
 (0)