mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
parent
681c3be18d
commit
af5a373e00
5 changed files with 384 additions and 140 deletions
|
@ -1145,15 +1145,7 @@ impl Inner {
|
|||
_ => false,
|
||||
},
|
||||
"deno-lint" => matches!(&d.code, Some(_)),
|
||||
"deno" => match &d.code {
|
||||
Some(NumberOrString::String(code)) => {
|
||||
matches!(
|
||||
code.as_str(),
|
||||
"no-cache" | "no-cache-data" | "no-assert-type"
|
||||
)
|
||||
}
|
||||
_ => false,
|
||||
},
|
||||
"deno" => diagnostics::DenoDiagnostic::is_fixable(&d.code),
|
||||
_ => false,
|
||||
},
|
||||
None => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue