mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
fix(linter): change no-control-regex to severity warning
This commit is contained in:
parent
fe54b1fbc9
commit
e4020d6fb2
2 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ use crate::{context::LintContext, rule::Rule, AstNode};
|
|||
#[derive(Debug, Error, Diagnostic)]
|
||||
#[error("eslint(no-control-regex): Unexpected control character(s)")]
|
||||
#[diagnostic(
|
||||
severity(error),
|
||||
severity(warning),
|
||||
help("Unexpected control character(s) in regular expression: \"{0}\"")
|
||||
)]
|
||||
struct NoControlRegexDiagnostic(Atom, #[label] pub Span);
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue