chore(linter): move some rules to pedantic

* prefer_dom_node_append
* prefer_string_slice
* no_hex_escape
This commit is contained in:
Boshen 2023-11-22 11:33:19 +08:00
parent b6393f052f
commit 717d472d09
No known key found for this signature in database
GPG key ID: 234DA6A7079C6801
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ declare_oxc_lint!(
/// const foo = `\u001B${bar}`;
/// ```
NoHexEscape,
correctness
pedantic
);
// \x -> \u00

View file

@ -37,7 +37,7 @@ declare_oxc_lint!(
//
/// ```
PreferDomNodeAppend,
correctness
pedantic
);
impl Rule for PreferDomNodeAppend {

View file

@ -29,7 +29,7 @@ declare_oxc_lint!(
/// ```javascript
/// ```
PreferStringSlice,
correctness
pedantic
);
impl Rule for PreferStringSlice {