Skip to content

Commit 2537ad4

Browse files
committed
refactor(oxlint): remove redundant comments (#27827)
Remove three comments that restate the adjacent operations in the oxlint CLI and test helper.
1 parent 5d877b8 commit 2537ad4

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎apps/oxlint/src/lint.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ impl CliRunner {
517517

518518
let cwd = options.cwd().to_path_buf();
519519

520-
// Create the LintRunner
521520
// TODO: Add a warning message if `tsgolint` cannot be found, but type-aware rules are enabled
522521
let lint_runner = match LintRunner::builder(options, linter)
523522
.with_type_aware(type_aware)

‎apps/oxlint/src/main.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use oxlint::{
66
};
77

88
fn main() -> CliRunResult {
9-
// Parse command line arguments from std::env::args()
109
let command = lint_command().run();
1110

1211
// Both LSP and CLI use `tracing` for logging

‎apps/oxlint/src/tester.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ impl Tester {
8484
let modified_after = fs::metadata(&path).unwrap().modified().unwrap();
8585
assert_eq!(modified_before, modified_after);
8686

87-
// Write the file back.
8887
fs::write(&path, before).unwrap();
8988
}
9089

0 commit comments

Comments
 (0)