[no-magic-numbers] False positive with array/tuple type index access #4780
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
I expect the array index access to be ignored.
Actual Result
Additional Info
An alternative would be to add an additional option for this if you don’t think it should be covered under “ignoreArrayIndexes”.
Versions
@typescript-eslint/eslint-plugin
5.17.0
@typescript-eslint/parser
5.17.0
TypeScript
4.6.3
ESLint
8.12.0
node
17.8.0
The text was updated successfully, but these errors were encountered: