{"size": 739, "ext": "js", "max_stars_repo_path": "packages/eslint-config-bases/src/bases/playwright.js", "max_stars_repo_name": "soluble-io/cache", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/eslint-config-bases/src/bases/playwright.js", "max_issues_repo_name": "soluble-io/cache", "max_issues_repo_issues_event_min_datetime": "2020-10-30T00:29:29.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-23T12:41:01.000Z", "max_forks_repo_path": "packages/eslint-config-bases/src/bases/playwright.js", "max_forks_repo_name": "soluble-io/tci", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 20, "max_forks_count": null, "avg_line_length": 29.56, "max_line_length": 102, "alphanum_fraction": 0.650879567}
/**
 * Opinionated config base for projects using playwright.
 * @see https://github.com/belgattitude/nextjs-monorepo-example/tree/main/packages/eslint-config-bases
 */

const playwrightPatterns = {
  files: ['**/e2e/**/*.test.{js,ts}'],
};

module.exports = {
  overrides: [
    {
      // To ensure best performance enable only on e2e test files
      files: playwrightPatterns.files,
      // @see https://github.com/playwright-community/eslint-plugin-playwright
      extends: ['plugin:playwright/recommended'],
      rules: {
        '@typescript-eslint/no-non-null-assertion': 'off',
        '@typescript-eslint/no-object-literal-type-assertion': 'off',
        '@typescript-eslint/no-empty-function': 'off',
      },
    },
  ],
};
