mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
feat(linter): demote prefer_array_flat_map to style (#1108)
This commit is contained in:
parent
d4c05ff7b3
commit
8b11592a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ declare_oxc_lint!(
|
|||
/// const bar = [1,2,3].flatMap(i => [i]); // ✓ pass
|
||||
/// ```
|
||||
PreferArrayFlatMap,
|
||||
correctness
|
||||
style
|
||||
);
|
||||
|
||||
impl Rule for PreferArrayFlatMap {
|
||||
|
|
|
|||
Loading…
Reference in a new issue