mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
chore(linter): remove unused "timing" variable
This commit is contained in:
parent
ae72be1964
commit
023c1acfd0
1 changed files with 0 additions and 8 deletions
|
|
@ -24,7 +24,6 @@ pub struct LintOptions {
|
|||
pub filter: Vec<(AllowWarnDeny, String)>,
|
||||
pub config_path: Option<PathBuf>,
|
||||
pub fix: bool,
|
||||
pub timing: bool,
|
||||
pub import_plugin: bool,
|
||||
pub jsdoc_plugin: bool,
|
||||
pub jest_plugin: bool,
|
||||
|
|
@ -39,7 +38,6 @@ impl Default for LintOptions {
|
|||
filter: vec![(AllowWarnDeny::Deny, String::from("correctness"))],
|
||||
config_path: None,
|
||||
fix: false,
|
||||
timing: false,
|
||||
import_plugin: false,
|
||||
jsdoc_plugin: false,
|
||||
jest_plugin: false,
|
||||
|
|
@ -71,12 +69,6 @@ impl LintOptions {
|
|||
self
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn with_timing(mut self, yes: bool) -> Self {
|
||||
self.timing = yes;
|
||||
self
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn with_import_plugin(mut self, yes: bool) -> Self {
|
||||
self.import_plugin = yes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue