dfinity / eslint-config-oisy-wallet

Shared ESLint configurations from the Oisy Wallet team
Apache License 2.0
2 stars 0 forks source link

feat: add option to ignore find in nullish rule #34

Open AntonioVentilii opened 1 week ago

AntonioVentilii commented 1 week ago

Motivation

As suggested by @peterpeterparker in https://github.com/dfinity/eslint-config-oisy-wallet/pull/32#pullrequestreview-2426144817 , we add an option to the use-nullish-check rule, to ignore the cases for find function such as arr.find(something) === undefined