Open DB-Alex opened 4 months ago
sort-array-includes
Would be great to have the same logic als sort-objects in array-includes.
Current behaviour:
['lg', 'md', 'xl'].includes(breakpoint)
Would be great if it could be:
['md', 'lg', ', 'xl'].includes(breakpoint)
No response
What rule do you want to change?
sort-array-includes
Describe the problem
Would be great to have the same logic als sort-objects in array-includes.
Code example
Current behaviour:
['lg', 'md', 'xl'].includes(breakpoint)
Would be great if it could be:
['md', 'lg', ', 'xl'].includes(breakpoint)
Additional comments
No response
Validations