UNPKG

411 BJavaScriptView Raw
1const presentRulesOnly = require("./tools/presentRulesOnly");
2
3module.exports = {
4 overrides: [
5 {
6 files: [
7 "*.{test,spec}.{js,ts,jsx,tsx}",
8 "**/__tests__/**/*.{js,ts,jsx,tsx}",
9 ],
10 rules: presentRulesOnly({
11 "@typescript-eslint/unbound-method": "off",
12 "jest/unbound-method": "error",
13 "jest/no-untyped-mock-factory": "error",
14 }),
15 },
16 ],
17};