This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
📎 useShorthandArrayType
should handle read-only arrays
#3864
Labels
A-Linter
Area: linter
enhancement
New feature request or improvement to existing functionality
good first issue
Good for newcomers
task
A task, an action that needs to be performed
Description
Summary
For now, Rome's
useShorthandArrayType
does not handle read-only arrays.ESLint's rule array-type handles read-only arrays.
Examples
This code:
should be turned into:
The text was updated successfully, but these errors were encountered: