mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
parent
47e69a8c94
commit
b894d3b33e
2 changed files with 4 additions and 4 deletions
|
|
@ -427,7 +427,7 @@ mod test {
|
|||
];
|
||||
let result = test(args);
|
||||
assert_eq!(result.number_of_files, 1);
|
||||
assert_eq!(result.number_of_warnings, 2);
|
||||
assert_eq!(result.number_of_warnings, 3);
|
||||
assert_eq!(result.number_of_errors, 0);
|
||||
}
|
||||
|
||||
|
|
@ -441,7 +441,7 @@ mod test {
|
|||
];
|
||||
let result = test(args);
|
||||
assert_eq!(result.number_of_files, 1);
|
||||
assert_eq!(result.number_of_warnings, 1);
|
||||
assert_eq!(result.number_of_warnings, 2);
|
||||
assert_eq!(result.number_of_errors, 0);
|
||||
}
|
||||
|
||||
|
|
@ -477,7 +477,7 @@ mod test {
|
|||
let args = &["fixtures/svelte/debugger.svelte"];
|
||||
let result = test(args);
|
||||
assert_eq!(result.number_of_files, 1);
|
||||
assert_eq!(result.number_of_warnings, 1);
|
||||
assert_eq!(result.number_of_warnings, 2);
|
||||
assert_eq!(result.number_of_errors, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ declare_oxc_lint!(
|
|||
/// var global_var = 42;
|
||||
/// ```
|
||||
NoUnusedVars,
|
||||
nursery,
|
||||
correctness,
|
||||
dangerous_suggestion
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue