|
| 1 | +module.exports = { |
| 2 | + extends: "@gadgetinc/eslint-config", |
| 3 | + parserOptions: { |
| 4 | + tsconfigRootDir: __dirname, |
| 5 | + project: ["./tsconfig.test.json"], |
| 6 | + }, |
| 7 | + ignorePatterns: [".eslintrc.cjs", "spec/fixtures/**/*"], |
| 8 | + rules: { |
| 9 | + "lodash/import-scope": "off", |
| 10 | + // Disable all Jest-related ESLint rules |
| 11 | + "jest/no-alias-methods": "off", |
| 12 | + "jest/no-commented-out-tests": "off", |
| 13 | + "jest/no-conditional-expect": "off", |
| 14 | + "jest/no-deprecated-functions": "off", |
| 15 | + "jest/no-disabled-tests": "off", |
| 16 | + "jest/no-done-callback": "off", |
| 17 | + "jest/no-duplicate-hooks": "off", |
| 18 | + "jest/no-export": "off", |
| 19 | + "jest/no-focused-tests": "off", |
| 20 | + "jest/no-hooks": "off", |
| 21 | + "jest/no-identical-title": "off", |
| 22 | + "jest/no-if": "off", |
| 23 | + "jest/no-interpolation-in-snapshots": "off", |
| 24 | + "jest/no-jasmine-globals": "off", |
| 25 | + "jest/no-jest-import": "off", |
| 26 | + "jest/no-large-snapshots": "off", |
| 27 | + "jest/no-mocks-import": "off", |
| 28 | + "jest/no-restricted-matchers": "off", |
| 29 | + "jest/no-standalone-expect": "off", |
| 30 | + "jest/no-test-prefixes": "off", |
| 31 | + "jest/no-test-return-statement": "off", |
| 32 | + "jest/prefer-called-with": "off", |
| 33 | + "jest/prefer-expect-assertions": "off", |
| 34 | + "jest/prefer-hooks-on-top": "off", |
| 35 | + "jest/prefer-spy-on": "off", |
| 36 | + "jest/prefer-strict-equal": "off", |
| 37 | + "jest/prefer-to-be": "off", |
| 38 | + "jest/prefer-to-contain": "off", |
| 39 | + "jest/prefer-to-have-length": "off", |
| 40 | + "jest/prefer-todo": "off", |
| 41 | + "jest/require-to-throw-message": "off", |
| 42 | + "jest/require-top-level-describe": "off", |
| 43 | + "jest/valid-describe-callback": "off", |
| 44 | + "jest/valid-expect": "off", |
| 45 | + "jest/valid-expect-in-promise": "off", |
| 46 | + "jest/valid-title": "off" |
| 47 | + }, |
| 48 | +}; |
0 commit comments