text: // https://github.com/kentcdodds/eslint-config-kentcdodds/blob/master/jest.js
  module.exports = {
    plugins: ['jest', 'jest-dom', 'testing-library'],
    rules: {
      // jest
      'jest/consistent-test-it': 'off',
      'jest/expect-expect': 'off',
      'jest/lowercase-name': 'off',
      'jest/max-nested-describe': 'error',
      'jest/no-alias-methods': 'off',
      'jest/no-commented-out-tests': 'warn',
      'jest/no-conditional-expect': 'error',
      'jest/no-deprecated-functions': 'error',
      'jest/no-disabled-tests': 'warn',
      'jest/no-done-callback': 'error',
      'jest/no-duplicate-hooks': 'off',
      'jest/no-export': 'error',
      'jest/no-focused-tests': 'error',
      'jest/no-hooks': 'off',
      'jest/no-identical-title': 'error',
      'jest/no-if': 'error',
      'jest/no-interpolation-in-snapshots': 'error',
      'jest/no-jasmine-globals': 'off',
      'jest/no-jest-import': 'error',
      'jest/no-large-snapshots': ['warn', { maxSize: 300 }],
      'jest/no-mocks-import': 'error',
      'jest/no-restricted-matchers': 'off',
      'jest/no-standalone-expect': 'off',
      'jest/no-test-prefixes': 'error',
      'jest/no-test-return-statement': 'off',
      'jest/no-truthy-falsy': 'off',
      'jest/no-try-expect': 'error',
      'jest/prefer-called-with': 'error',
      'jest/prefer-expect-assertions': 'off',
      'jest/prefer-hooks-on-top': 'error',
      'jest/prefer-inline-snapshots': 'off',
      'jest/prefer-spy-on': 'off',
      'jest/prefer-strict-equal': 'off',
      'jest/prefer-to-be-null': 'off',
      'jest/prefer-to-be-undefined': 'off',
      'jest/prefer-to-contain': 'warn',
      'jest/prefer-to-have-length': 'warn',
      'jest/prefer-todo': 'warn',
      'jest/require-to-throw-message': 'off',
      'jest/require-top-level-describe': 'off',
      'jest/unbound-method': 'off',
      'jest/valid-describe': 'error',
      'jest/valid-expect': 'error',
      'jest/valid-expect-in-promise': 'error',
      'jest/valid-title': 'warn',
      // jest-dom
      'jest-dom/prefer-checked': 'error',
      'jest-dom/prefer-in-document': 'error',
      'jest-dom/prefer-empty': 'error',
      'jest-dom/prefer-enabled-disabled': 'error',
      'jest-dom/prefer-focus': 'error',
      'jest-dom/prefer-required': 'error',
      'jest-dom/prefer-to-have-attribute': 'error',
      'jest-dom/prefer-to-have-style': 'error',
      'jest-dom/prefer-to-have-text-content': 'error',
      'jest-dom/prefer-to-have-value': 'error',
      'jest-dom/prefer-to-have-class': 'error',
      // testing-library
      'testing-library/await-async-query': 'error',
      'testing-library/await-async-utils': 'error',
      'testing-library/await-fire-event': 'off',
      'testing-library/consistent-data-testid': 'off',
      'testing-library/no-await-sync-events': 'error',
      'testing-library/no-await-sync-query': 'error',
      'testing-library/no-container': 'error',
      'testing-library/no-debug': 'error',
      'testing-library/no-dom-import': ['error', 'react'],
      'testing-library/no-manual-cleanup': 'error',
      'testing-library/no-node-access': 'error',
      'testing-library/no-promise-in-fire-event': 'error',
      'testing-library/no-render-in-setup': 'error',
      'testing-library/no-unnecessary-act': 'error',
      'testing-library/no-wait-for-empty-callback': 'error',
      'testing-library/no-wait-for-multiple-assertions': 'error',
      'testing-library/no-wait-for-side-effects': 'error',
      'testing-library/no-wait-for-snapshot': 'error',
      'testing-library/prefer-explicit-assert': 'warn',
      'testing-library/prefer-find-by': 'error',
      'testing-library/prefer-presence-queries': 'error',
      'testing-library/prefer-query-by-disappearance': 'error',
      'testing-library/prefer-screen-queries': 'error',
      'testing-library/prefer-user-event': 'error',
      'testing-library/prefer-wait-for': 'error',
      'testing-library/render-result-naming-convention': 'error',
    },
    env: {
      jest: true,
    },
  };
  