A place for simple ESLint Rule examples. Feel free to copy, paste & share.
- Disables use of Jest's
expect(..).toBeDefined()matcher in favour ofexpectToBeDefined(..)which is able to offer intellisense. - Provides an auto fix which should work in all situations.
- See the code in
./eslint-local-rules.