feat(linter): demote prefer_array_flat_map to style (#1108)

This commit is contained in:
Boshen 2023-10-30 17:04:51 +08:00 committed by GitHub
parent d4c05ff7b3
commit 8b11592a1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ declare_oxc_lint!(
/// const bar = [1,2,3].flatMap(i => [i]); // ✓ pass
/// ```
PreferArrayFlatMap,
correctness
style
);
impl Rule for PreferArrayFlatMap {