Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
  • Loading branch information
nobodywasishere and Sija authored Dec 2, 2024
1 parent f1158b9 commit 7b9cbd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ameba.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Ameba {
args.push('-');

// Disabling these as they're common when typing
args.push('--except', 'Lint/Formatting,Layout/TrailingBlankLines,Layout/TrailingWhitespace,Naming/Filename');
args.push('--except', 'Lint/Formatting,Layout/TrailingBlankLines,Layout/TrailingWhitespace');
}

const configFile = path.join(dir, this.config.configFileName);
Expand Down Expand Up @@ -169,8 +169,6 @@ export class Ameba {
diagnosticUri = document.uri;
} else if (path.isAbsolute(source.path)) {
diagnosticUri = Uri.parse(source.path)
} else if (document.isUntitled) {
diagnosticUri = document.uri;
} else {
diagnosticUri = Uri.parse(path.join(dir, source.path));
}
Expand Down

0 comments on commit 7b9cbd0

Please sign in to comment.