springernature / eslint-config-springernature

ESLint shareable config used at Springer Nature
MIT License
3 stars 0 forks source link

Remove unicorn/prefer-at as it does not work with nodeLists #58

Closed jon-stevens closed 3 months ago

jon-stevens commented 3 months ago

.at() does not work with nodeLists. This rule could create problems. I don't think there is a way of enforcing this rule for only Arrays, so for now is it better to switch it off?