eslint-plugin-ramda icon indicating copy to clipboard operation
eslint-plugin-ramda copied to clipboard

[ramda/prefer-ramda-boolean] Wrong report in jest.mock implementation

Open anion155 opened this issue 3 years ago • 0 comments

The only way to access ramda in jest.mock is jest.mock('module', () => jest.requireActual('ramda').T). So it's not as convenient to use ramda in mocks. Maybe plugin can detect inline mocks and disable rule in them?

anion155 avatar Nov 17 '21 17:11 anion155