UNPKG

eslint-plugin-jest

Version:
16 lines (12 loc) 386 B
'use strict'; // https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins const preprocess = source => [source]; const postprocess = messages => messages[0].filter( // snapshot files should only be linted with snapshot specific rules message => message.ruleId === 'jest/no-large-snapshots', ); module.exports = { preprocess, postprocess, };