mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(linter): move some rules to pedantic
* prefer_dom_node_append * prefer_string_slice * no_hex_escape
This commit is contained in:
parent
b6393f052f
commit
717d472d09
3 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ declare_oxc_lint!(
|
|||
/// const foo = `\u001B${bar}`;
|
||||
/// ```
|
||||
NoHexEscape,
|
||||
correctness
|
||||
pedantic
|
||||
);
|
||||
|
||||
// \x -> \u00
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ declare_oxc_lint!(
|
|||
//
|
||||
/// ```
|
||||
PreferDomNodeAppend,
|
||||
correctness
|
||||
pedantic
|
||||
);
|
||||
|
||||
impl Rule for PreferDomNodeAppend {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ declare_oxc_lint!(
|
|||
/// ```javascript
|
||||
/// ```
|
||||
PreferStringSlice,
|
||||
correctness
|
||||
pedantic
|
||||
);
|
||||
|
||||
impl Rule for PreferStringSlice {
|
||||
|
|
|
|||
Loading…
Reference in a new issue