Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results of weekly scheduled smoke test #509

Closed
github-actions bot opened this issue Nov 30, 2021 · 36 comments · Fixed by #643
Closed

Results of weekly scheduled smoke test #509

github-actions bot opened this issue Nov 30, 2021 · 36 comments · Fixed by #643
Labels
bug Something isn't working released

Comments

@github-actions
Copy link

Detected 13 ESLint reports and/or crashes.
Scanned 8804 repositories.

Rules:

  • consistent-data-testid
Click to expand

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  274 |
  275 |       {state.group && (
> 276 |         <div className={styles.wrapper} data-testid="group-page">
  277 |           {/* <div className={styles.templogo} /> */}
  278 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  279 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
@MichaelDeBoey MichaelDeBoey added the bug Something isn't working label Nov 30, 2021
@Belco90 Belco90 mentioned this issue Nov 30, 2021
3 tasks
@Belco90
Copy link
Member

Belco90 commented Nov 30, 2021

Oh wow, really interesting issue. Basically, this is failing to get the component file name since it's named wrapped by square brackets. Not really sure what we should do here: assume there is no file name? assume the file name it's just index? Any ideas?

@github-actions
Copy link
Author

Detected 3 ESLint reports and/or crashes.
Scanned 9055 repositories.

Rules:

  • consistent-data-testid
Click to expand

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  274 |
  275 |       {state.group && (
> 276 |         <div className={styles.wrapper} data-testid="group-page">
  277 |           {/* <div className={styles.templogo} /> */}
  278 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  279 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

@github-actions
Copy link
Author

github-actions bot commented Jan 2, 2022

Detected 2 ESLint reports and/or crashes.
Scanned 7501 repositories.

Rules:

  • consistent-data-testid
Click to expand

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  274 |
  275 |       {state.group && (
> 276 |         <div className={styles.wrapper} data-testid="group-page">
  277 |           {/* <div className={styles.templogo} /> */}
  278 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  279 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

@github-actions
Copy link
Author

github-actions bot commented Jan 9, 2022

Detected 1 ESLint reports and/or crashes.
Scanned 6493 repositories.

Rules:

  • consistent-data-testid
Click to expand

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

@github-actions
Copy link
Author

Detected 3 ESLint reports and/or crashes.
Scanned 7690 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:266 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  264 |
  265 |       {state.group && (
> 266 |         <div className={styles.wrapper} data-testid="group-page">
  267 |           {/* <div className={styles.templogo} /> */}
  268 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  269 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:266
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 6497 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:266 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  264 |
  265 |       {state.group && (
> 266 |         <div className={styles.wrapper} data-testid="group-page">
  267 |           {/* <div className={styles.templogo} /> */}
  268 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  269 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:266
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1079:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 13 ESLint reports and/or crashes.
Scanned 7728 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Feb 6, 2022

Detected 16 ESLint reports and/or crashes.
Scanned 6910 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:280 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  278 |             )}
  279 |             {state.group && (
> 280 |               <div className={styles.wrapper} data-testid="group-page">
  281 |                 {/* <div className={styles.templogo} /> */}
  282 |                 {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  283 |                 <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:280
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 15 ESLint reports and/or crashes.
Scanned 7661 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:280 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  278 |             )}
  279 |             {state.group && (
> 280 |               <div className={styles.wrapper} data-testid="group-page">
  281 |                 {/* <div className={styles.templogo} /> */}
  282 |                 {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  283 |                 <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:280
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1107:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 2 ESLint reports and/or crashes.
Scanned 8063 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:303 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  301 |             )}
  302 |             {state.group && (
> 303 |               <div className={styles.wrapper} data-testid="group-page">
  304 |                 {/* <div className={styles.templogo} /> */}
  305 |                 {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  306 |                 <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:303
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:127 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  125 |
  126 |   return (
> 127 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  128 |       {isTagRemovedShowModal && (
  129 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  130 |           <AnimatedCheckmarkCross
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:127
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Mar 6, 2022

Detected 1 ESLint reports and/or crashes.
Scanned 7221 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 15 ESLint reports and/or crashes.
Scanned 9280 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:303 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  301 |             )}
  302 |             {state.group && (
> 303 |               <div className={styles.wrapper} data-testid="group-page">
  304 |                 {/* <div className={styles.templogo} /> */}
  305 |                 {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  306 |                 <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:303
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:127 Rule: "testing-library/consistent-data-testid"
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  125 |
  126 |   return (
> 127 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  128 |       {isTagRemovedShowModal && (
  129 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  130 |           <AnimatedCheckmarkCross
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:127
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 8666 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 9059 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Apr 3, 2022

Detected 720 ESLint reports and/or crashes.
Scanned 7265 repositories.

Reached maximum result count 50.
Showing 50/720

Rules:

  • testing-library/no-global-regexp-flag-in-query
  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Devorein/Qocean/server/middleware/imageUpload.js:25 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: Devorein/Qocean/server/middleware/imageUpload.js
  • Link
  23 | 		file.mv(`${process.env.FILE_UPLOAD_PATH}/${file.name}`, async (err) => {
  24 | 			if (err) return next(new Error(`Problem with file upload`));
> 25 | 			await model.findByIdAndUpdate(result._id, {
  26 | 				image: file.name
  27 | 			});
  28 | 			res.imageUpload = { success: true, data: file.name };
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Devorein/Qocean/server/middleware/imageUpload.js:25
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Devorein/Qocean/server/schemas/Question.js:95 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: Devorein/Qocean/server/schemas/Question.js
  • Link
  93 | 	]);
  94 | 	try {
> 95 | 		await this.model('Quiz').findByIdAndUpdate(quizId, {
  96 | 			average_quiz_time: obj[0].averageTimeAllocated.toFixed(2)
  97 | 		});
  98 | 	} catch (err) {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Devorein/Qocean/server/schemas/Question.js:95
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/cotype/core/client/src/common/__tests__/conflictDialog.test.tsx:47 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: cotype/core/client/src/common/__tests__/conflictDialog.test.tsx
  • Link
  45 |
  46 |   const scheduleButton = await waitFor(() =>
> 47 |     findByText(/schedule/i, { selector: "span" }).then(e => e.closest("button"))
  48 |   );
  49 |
  50 |   fireEvent.click(scheduleButton as Element);
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/cotype/core/client/src/common/__tests__/conflictDialog.test.tsx:47
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/cmacdonnacha/awesome-address-book/src/pages/contacts/ContactsPage.test.tsx:117 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: cmacdonnacha/awesome-address-book/src/pages/contacts/ContactsPage.test.tsx
  • Link
  115 |
  116 |     // Wait for text to be rendered
> 117 |     const element = await waitFor(() => screen.getByText('No contacts found', { exact: false }));
  118 |
  119 |     // Text should be displayed
  120 |     expect(element).toBeInTheDocument();
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/cmacdonnacha/awesome-address-book/src/pages/contacts/ContactsPage.test.tsx:117
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/breadcrumb/tests/breadcrumb.test.tsx:37 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: chakra-ui/chakra-ui/packages/breadcrumb/tests/breadcrumb.test.tsx
  • Link
  35 |
  36 |   // surrounding `nav` has aria-label="breadcrumb"
> 37 |   screen.getByLabelText("breadcrumb", { selector: "nav" })
  38 |
  39 |   // `isCurrentPage` link has aria-current="page"
  40 |   const currentPageLink = screen.getByText("Link 3")
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/breadcrumb/tests/breadcrumb.test.tsx:37
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/form-control/tests/form-control.test.tsx:103 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: chakra-ui/chakra-ui/packages/form-control/tests/form-control.test.tsx
  • Link
  101 |   )
  102 |
> 103 |   const indicator = screen.getByRole("presentation", { hidden: true })
  104 |
  105 |   expect(indicator).toBeVisible()
  106 |   expect(indicator).toHaveTextContent("*")
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/form-control/tests/form-control.test.tsx:103
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/select/tests/select.test.tsx:28 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: chakra-ui/chakra-ui/packages/select/tests/select.test.tsx
  • Link
  26 | test("renders an icon by default", () => {
  27 |   const { getByRole } = render(<Select />)
> 28 |   const icon = getByRole("presentation", { hidden: true })
  29 |
  30 |   expect(icon).toHaveAttribute("aria-hidden", "true")
  31 |   expect(icon).toHaveClass("chakra-select__icon")
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/select/tests/select.test.tsx:28
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/toast/test/standalone-toast.test.tsx:16 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: chakra-ui/chakra-ui/packages/toast/test/standalone-toast.test.tsx
  • Link
  14 |   })
  15 |
> 16 |   const allByTitle = await screen.findAllByRole("alert", { name: title })
  17 |   const allByDescription = await screen.findAllByText(description)
  18 |
  19 |   expect(allByTitle).toHaveLength(1)
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/toast/test/standalone-toast.test.tsx:16
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/toast/test/use-toast.test.tsx:33 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: chakra-ui/chakra-ui/packages/toast/test/use-toast.test.tsx
  • Link
  31 |   })
  32 |
> 33 |   const allByTitle = await screen.findAllByRole("alert", { name: title })
  34 |   const allByDescription = await screen.findAllByText(description)
  35 |
  36 |   expect(allByTitle).toHaveLength(1)
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/chakra-ui/chakra-ui/packages/toast/test/use-toast.test.tsx:33
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliveryController.js:175 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: IVBC/fastFeet/backend/src/app/controllers/DeliveryController.js
  • Link
  173 |     const { id } = req.params;
  174 |
> 175 |     const delivery = await Delivery.findByPk(id, { paranoid: false });
  176 |
  177 |     if (!delivery) {
  178 |       return res.status(400).json({ error: 'Delivery not found' });
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliveryController.js:175
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliveryProblemsController.js:67 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: IVBC/fastFeet/backend/src/app/controllers/DeliveryProblemsController.js
  • Link
  65 |     }
  66 |     const { description } = req.body;
> 67 |     const deliveryExist = await Delivery.findByPk(delivery_id, {
  68 |       paranoid: false,
  69 |     });
  70 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliveryProblemsController.js:67
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliverymanController.js:119 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: IVBC/fastFeet/backend/src/app/controllers/DeliverymanController.js
  • Link
  117 |     const { avatar_id } = req.body;
  118 |
> 119 |     const deliveryman = await Deliveryman.findByPk(id, {
  120 |       attributes: ['id', 'name', 'email'],
  121 |       include: [
  122 |         {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliverymanController.js:119
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliverymanFeaturesController.js:26 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: IVBC/fastFeet/backend/src/app/controllers/DeliverymanFeaturesController.js
  • Link
  24 |       });
  25 |     }
> 26 |     const deliveryman = await Deliveryman.findByPk(deliveryman_id, {
  27 |       paranoid: false,
  28 |     });
  29 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/IVBC/fastFeet/backend/src/app/controllers/DeliverymanFeaturesController.js:26
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ericgio/react-bootstrap-typeahead/src/components/TypeaheadMenu/TypeaheadMenu.test.tsx:41 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: ericgio/react-bootstrap-typeahead/src/components/TypeaheadMenu/TypeaheadMenu.test.tsx
  • Link
  39 |
  40 |     expect(
> 41 |       screen.queryByRole('option', { name: paginationText })
  42 |     ).toBeInTheDocument();
  43 |   });
  44 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ericgio/react-bootstrap-typeahead/src/components/TypeaheadMenu/TypeaheadMenu.test.tsx:41
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Exiou/Tecnics/backend/src/controllers/FavoriteController.ts:51 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: Exiou/Tecnics/backend/src/controllers/FavoriteController.ts
  • Link
  49 |         const { produto } = req.params as any
  50 |
> 51 |         const removeFavorite = await User.findByIdAndUpdate(userid, {
  52 |           $pull: {
  53 |             favoritos: {
  54 |               produto
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Exiou/Tecnics/backend/src/controllers/FavoriteController.ts:51
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/cards/add.test.tsx:17 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/cards/add.test.tsx
  • Link
  15 |   const { getByText, getByRole } = render(<AddCard onAdd={mockCallback} />)
  16 |   expect(getByText('Create New User')).toBeInTheDocument()
> 17 |   expect(getByText('Someone New', { exact: false })).toBeInTheDocument()
  18 |   expect(getByRole('button', { name: 'Add' })).toHaveTextContent('Add')
  19 |   expect(mockCallback).not.toHaveBeenCalled()
  20 | })
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/cards/add.test.tsx:17
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/cards/display.test.tsx:40 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/cards/display.test.tsx
  • Link
  38 |     expect(mockCallback).not.toHaveBeenCalled()
  39 |     expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 40 |     expect(getByText('Success!', { exact: false })).toBeInTheDocument()
  41 |   }, 700)
  42 |
  43 |   expect(container.querySelector('i')).toBeInTheDocument()
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/cards/display.test.tsx:40
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/decks/individuals.test.tsx:126 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/decks/individuals.test.tsx
  • Link
  124 |   await waitForExpect(() => {
  125 |     expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 126 |     expect(getByText('Success!', { exact: false })).toBeInTheDocument()
  127 |   }, 700)
  128 |
  129 |   expect(getByText('Jane Doe')).toBeInTheDocument()
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/decks/individuals.test.tsx:126
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/add.test.tsx:29 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/operations/add.test.tsx
  • Link
  27 |   expect(screen.queryByPlaceholderText('Email')).not.toBeInTheDocument()
  28 |   expect(screen.queryByRole('button', { name: 'Save' })).not.toBeInTheDocument()
> 29 |   expect(screen.queryByText('Success!', { exact: false })).not.toBeInTheDocument()
  30 |   expect(mockCallback).not.toHaveBeenCalled()
  31 | })
  32 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/add.test.tsx:29
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/delete.test.tsx:22 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/operations/delete.test.tsx
  • Link
  20 |   await waitFor(() => getByRole('button', { name: 'Confirm' }))
  21 |
> 22 |   userEvent.type(queryByText('dangerous!', { exact: false }), '{esc}')
  23 |   expect(queryByRole('button', { name: 'Confirm' })).not.toBeInTheDocument()
  24 |   expect(mockCallback).not.toHaveBeenCalled()
  25 | })
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/delete.test.tsx:22
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/edit.test.tsx:46 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: prince-chrismc/user-management/web-app/src/components/operations/edit.test.tsx
  • Link
  44 |     expect(mockCallback).toHaveBeenCalledWith('Jenny Doe', 'jenny@example.com')
  45 |     expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 46 |     expect(getByText('Success!', { exact: false })).toBeInTheDocument()
  47 |   }, 700)
  48 | })
  49 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/prince-chrismc/user-management/web-app/src/components/operations/edit.test.tsx:46
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-01.js:31 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: kentcdodds/react-testing-library-course/src/__tests__/app-01.js
  • Link
  29 |   expect(screen.getByLabelText(/drink/i)).toHaveTextContent(testData.drink)
  30 |
> 31 |   fireEvent.click(screen.getByText(/confirm/i, {selector: 'button'}))
  32 |
  33 |   expect(mockSubmitForm).toHaveBeenCalledWith(testData)
  34 |   expect(mockSubmitForm).toHaveBeenCalledTimes(1)
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-01.js:31
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-02.js:33 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: kentcdodds/react-testing-library-course/src/__tests__/app-02.js
  • Link
  31 |   )
  32 |
> 33 |   fireEvent.click(await screen.findByText(/confirm/i, {selector: 'button'}))
  34 |
  35 |   expect(mockSubmitForm).toHaveBeenCalledWith(testData)
  36 |   expect(mockSubmitForm).toHaveBeenCalledTimes(1)
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-02.js:33
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-03.js:30 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: kentcdodds/react-testing-library-course/src/__tests__/app-03.js
  • Link
  28 |   )
  29 |
> 30 |   userEvent.click(await screen.findByText(/confirm/i, {selector: 'button'}))
  31 |
  32 |   expect(mockSubmitForm).toHaveBeenCalledWith(testData)
  33 |   expect(mockSubmitForm).toHaveBeenCalledTimes(1)
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-testing-library-course/src/__tests__/app-03.js:30
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Docs/MD/MdSlide.test.tsx:80 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/browser/modules/Docs/MD/MdSlide.test.tsx
  • Link
  78 |     const { container } = render(<MdSlide md={md} />)
  79 |
> 80 |     expect(screen.getByRole('heading', { level: 1 }).textContent).toEqual(
  81 |       `Network Analysis of Shakespeare's plays`
  82 |     )
  83 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Docs/MD/MdSlide.test.tsx:80
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Main/Main.test.tsx:70 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/browser/modules/Main/Main.test.tsx
  • Link
  68 |
  69 |     expect(
> 70 |       queryByText(`Database '${useDb}' is unavailable.`, { exact: false })
  71 |     ).toBeTruthy()
  72 |   })
  73 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Main/Main.test.tsx:70
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/DetailsPane.test.tsx:104 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/DetailsPane.test.tsx
  • Link
  102 |
  103 |     expect(
> 104 |       screen.getByRole('button', {
  105 |         name: `Show ${DETAILS_PANE_STEP_SIZE} more`
  106 |       })
  107 |     ).toBeInTheDocument()
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/DetailsPane.test.tsx:104
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/OverviewPane.test.tsx:115 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/OverviewPane.test.tsx
  • Link
  113 |     expect(screen.getByRole('button', { name: 'Show all' })).toBeInTheDocument()
  114 |     expect(
> 115 |       screen.getByRole('button', { name: `Show ${OVERVIEW_STEP_SIZE} more` })
  116 |     ).toBeInTheDocument()
  117 |     expect(screen.queryByText('label50 (1)')).not.toBeInTheDocument()
  118 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent/OverviewPane.test.tsx:115
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultDetailsPane.test.tsx:108 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultDetailsPane.test.tsx
  • Link
  106 |
  107 |     expect(
> 108 |       screen.getByRole('button', {
  109 |         name: `Show ${DETAILS_PANE_STEP_SIZE} more`
  110 |       })
  111 |     ).toBeInTheDocument()
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultDetailsPane.test.tsx:108
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultOverviewPane.test.tsx:114 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultOverviewPane.test.tsx
  • Link
  112 |     expect(screen.getByRole('button', { name: 'Show all' })).toBeInTheDocument()
  113 |     expect(
> 114 |       screen.getByRole('button', { name: `Show ${OVERVIEW_STEP_SIZE} more` })
  115 |     ).toBeInTheDocument()
  116 |     expect(screen.queryByText('label50 (1)')).not.toBeInTheDocument()
  117 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/neo4j/neo4j-browser/src/neo4j-arc/graph-visualization/GraphVisualizer/DefaultPanelContent/DefaultOverviewPane.test.tsx:114
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/loop/SidecarWizard.spec.tsx:52 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: lightninglabs/lightning-terminal/app/src/__tests__/components/loop/SidecarWizard.spec.tsx
  • Link
  50 |     expect(getByText('Registering Sidecar Ticket')).toBeInTheDocument();
  51 |     expect(
> 52 |       await findByText('Ticket Registered Successfully', {}, { timeout: 2000 }),
  53 |     ).toBeInTheDocument();
  54 |     fireEvent.click(getByText('arrow-left.svg'));
  55 |     expect(store.registerSidecarView.showWizard).toBeFalsy();
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/loop/SidecarWizard.spec.tsx:52
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/pool/AccountSection.spec.tsx:293 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: lightninglabs/lightning-terminal/app/src/__tests__/components/pool/AccountSection.spec.tsx
  • Link
  291 |     changeInput('Destination Address', 'abc123');
  292 |     changeInput('Fee', '10');
> 293 |     fireEvent.click(getByText('Close Account', { selector: 'button' }));
  294 |
  295 |     // check confirmation values
  296 |     expect(getByText('abc123')).toBeInTheDocument();
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/pool/AccountSection.spec.tsx:293
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/pool/OrderListSection.spec.tsx:54 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: lightninglabs/lightning-terminal/app/src/__tests__/components/pool/OrderListSection.spec.tsx
  • Link
  52 |     expect(getAllByText('Ask')).toHaveLength(1);
  53 |
> 54 |     fireEvent.click(getByText('Open', { selector: 'button' }));
  55 |     expect(store.orderListView.filter).toBe('open');
  56 |   });
  57 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/pool/OrderListSection.spec.tsx:54
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/tour/TourHost.spec.tsx:108 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: lightninglabs/lightning-terminal/app/src/__tests__/components/tour/TourHost.spec.tsx
  • Link
  106 |     expect(getByText("Let's perform a Loop!")).toBeInTheDocument();
  107 |
> 108 |     fireEvent.click(getByText('Loop', { selector: 'button' }));
  109 |     expect(getByText(firstLine(l('loopActions')))).toBeInTheDocument();
  110 |
  111 |     fireEvent.click(getByText('Next'));
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/lightninglabs/lightning-terminal/app/src/__tests__/components/tour/TourHost.spec.tsx:108
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mukeshphulwani66/Instagram-clone-MERN-Stack/routes/post.js:68 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: mukeshphulwani66/Instagram-clone-MERN-Stack/routes/post.js
  • Link
  66 |
  67 | router.put('/like',requireLogin,(req,res)=>{
> 68 |     Post.findByIdAndUpdate(req.body.postId,{
  69 |         $push:{likes:req.user._id}
  70 |     },{
  71 |         new:true
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mukeshphulwani66/Instagram-clone-MERN-Stack/routes/post.js:68
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mukeshphulwani66/Instagram-clone-MERN-Stack/routes/user.js:28 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: mukeshphulwani66/Instagram-clone-MERN-Stack/routes/user.js
  • Link
  26 |
  27 | router.put('/follow',requireLogin,(req,res)=>{
> 28 |     User.findByIdAndUpdate(req.body.followId,{
  29 |         $push:{followers:req.user._id}
  30 |     },{
  31 |         new:true
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mukeshphulwani66/Instagram-clone-MERN-Stack/routes/user.js:28
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/components/maps/leaflet/InfoSlideOut/InfoContent.test.tsx:287 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/components/maps/leaflet/InfoSlideOut/InfoContent.test.tsx
  • Link
  285 |     expect(queryByText('Kwantlen Polytechnic University')).toBeNull();
  286 |     //contact SRES block is shown
> 287 |     expect(getByText('For more information', { exact: false })).toBeVisible();
  288 |     //project status is hidden
  289 |     expect(queryByText('Status: ')).toBeNull();
  290 |   });
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/components/maps/leaflet/InfoSlideOut/InfoContent.test.tsx:287
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/mapSideBar/SidebarContents/BuildingForm.test.tsx:91 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/features/mapSideBar/SidebarContents/BuildingForm.test.tsx
  • Link
  89 |       fireEvent.click(getByText(/Continue/i));
  90 |     });
> 91 |     expect(getByText('Building Valuation', { exact: true })).toBeInTheDocument();
  92 |     await waitFor(() => {
  93 |       fireEvent.click(getByText(/Continue/i));
  94 |     });
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/mapSideBar/SidebarContents/BuildingForm.test.tsx:91
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/dispose/ProjectDisposeLayout.test.tsx:171 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/features/projects/dispose/ProjectDisposeLayout.test.tsx
  • Link
  169 |     const { getByText, getByLabelText } = render(uiElement);
  170 |     const nextButton = getByText('Next');
> 171 |     const check = getByLabelText('has approval/authority', { exact: false });
  172 |     await act(async () => {
  173 |       fireEvent.click(check);
  174 |       await waitFor(() => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/dispose/ProjectDisposeLayout.test.tsx:171
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/dispose/components/ApprovalConfirmation.test.tsx:45 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/features/projects/dispose/components/ApprovalConfirmation.test.tsx
  • Link
  43 |   it('Input is disabled if form is readonly', () => {
  44 |     const { getByLabelText } = renderComponent(true);
> 45 |     expect(getByLabelText('has approval/authority', { exact: false })).toBeDisabled();
  46 |   });
  47 |
  48 |   it('My ministry/agency displays for non SRES', () => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/dispose/components/ApprovalConfirmation.test.tsx:45
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/erp/forms/ExemptionEnhancedReferralCompleteForm.test.tsx:126 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/features/projects/erp/forms/ExemptionEnhancedReferralCompleteForm.test.tsx
  • Link
  124 |
  125 |     const findButton = (name: string | RegExp) =>
> 126 |       findByRole('button', { name: typeof name === 'string' ? new RegExp(name, 'i') : name });
  127 |     const setClearanceDate = (value: Date | '') => {
  128 |       formikRef?.current?.setFieldValue('clearanceNotificationSentOn', value);
  129 |     };
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/projects/erp/forms/ExemptionEnhancedReferralCompleteForm.test.tsx:126
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/properties/components/LastUpdatedBy.test.tsx:28 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: bcgov/PIMS/frontend/src/features/properties/components/LastUpdatedBy.test.tsx
  • Link
  26 |     const { getByText } = render(getLastUpdatedBy(undefined, date, user, email));
  27 |     const formattedDate = formatApiDateTime(date);
> 28 |     expect(getByText(formattedDate, { exact: false })).toBeVisible();
  29 |   });
  30 |
  31 |   it('Displays the created date formatted to the local timezone if no update date specified', () => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/bcgov/PIMS/frontend/src/features/properties/components/LastUpdatedBy.test.tsx:28
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/amanjagdev/stockify/Routes/stocks.js:47 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: amanjagdev/stockify/Routes/stocks.js
  • Link
  45 | router.post("/create",requireLogin,(req,res) => {
  46 |    
> 47 |     User.findByIdAndUpdate(req.user._id,{
  48 |         $push : {
  49 |             stockData : req.body
  50 |         }},{
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/amanjagdev/stockify/Routes/stocks.js:47
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DatePicker.test.js:69 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: hernansartorio/react-nice-dates/test/DatePicker.test.js
  • Link
  67 |     )
  68 |
> 69 |     expect(getByText(monthName, { exact: false })).toBeInTheDocument()
  70 |   })
  71 | })
  72 |
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DatePicker.test.js:69
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DatePickerCalendar.test.js:37 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: hernansartorio/react-nice-dates/test/DatePickerCalendar.test.js
  • Link
  35 |     const { getByText } = render(<DatePickerCalendar locale={locale} date={pastDate} />)
  36 |
> 37 |     expect(getByText(monthName, { exact: false })).toBeInTheDocument()
  38 |   })
  39 |
  40 |   it('should maintain the selected date’s time when selecting a new date', () => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DatePickerCalendar.test.js:37
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DateRangePicker.test.js:80 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: hernansartorio/react-nice-dates/test/DateRangePicker.test.js
  • Link
  78 |     )
  79 |
> 80 |     expect(getByText(monthName, { exact: false })).toBeInTheDocument()
  81 |   })
  82 |
  83 |   it('should display pre-selected end date’s month on initial render', () => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DateRangePicker.test.js:80
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DateRangePickerCalendar.test.js:88 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: hernansartorio/react-nice-dates/test/DateRangePickerCalendar.test.js
  • Link
  86 |     const { getByText } = render(<DateRangePickerCalendar locale={locale} startDate={pastDate} endDate={today} />)
  87 |
> 88 |     expect(getByText(monthName, { exact: false })).toBeInTheDocument()
  89 |   })
  90 |
  91 |   it('should display pre-selected end date’s month on initial render', () => {
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/hernansartorio/react-nice-dates/test/DateRangePickerCalendar.test.js:88
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/commercetools/merchant-center-application-kit/packages/application-components/src/components/maintenance-page-layout/maintenance-page-layout.spec.tsx:73 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: commercetools/merchant-center-application-kit/packages/application-components/src/components/maintenance-page-layout/maintenance-page-layout.spec.tsx
  • Link
  71 |       renderComponent(<MaintenancePageLayout {...props} />);
  72 |       expect(
> 73 |         screen.getByRole('img', { name: props.label })
  74 |       ).toBeInTheDocument();
  75 |     });
  76 |   });
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/commercetools/merchant-center-application-kit/packages/application-components/src/components/maintenance-page-layout/maintenance-page-layout.spec.tsx:73
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/TheThingsNetwork/lorawan-stack/cypress/integration/account/authorization.spec.js:36 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: TheThingsNetwork/lorawan-stack/cypress/integration/account/authorization.spec.js
  • Link
  34 |     cy.findByText('Request for permission').should('be.visible')
  35 |     cy.findByText('Console').should('be.visible')
> 36 |     cy.findByText('All possible rights', { exact: false }).should('be.visible')
  37 |     cy.findByText('all possible current and future rights').should('be.visible')
  38 |     cy.findByText(`You are logged in as ${user.ids.user_id}.`).should('be.visible')
  39 |     cy.findByText(
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/TheThingsNetwork/lorawan-stack/cypress/integration/account/authorization.spec.js:36
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

Rule: testing-library/no-global-regexp-flag-in-query

  • Message: Cannot read property 'value' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/TheThingsNetwork/lorawan-stack/cypress/integration/account/change-password.spec.js:32 Rule: "testing-library/no-global-regexp-flag-in-query"
  • Path: TheThingsNetwork/lorawan-stack/cypress/integration/account/change-password.spec.js
  • Link
  30 |     cy.visit(`${Cypress.config('accountAppRootPath')}/profile-settings`)
  31 |
> 32 |     cy.findByText('Change password', { selector: 'h3' })
  33 |       .closest('[data-test-id="collapsible-section"]')
  34 |       .within(() => {
  35 |         cy.findByRole('button', { name: 'Expand' }).click()
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/TheThingsNetwork/lorawan-stack/cypress/integration/account/change-password.spec.js:32
Rule: "testing-library/no-global-regexp-flag-in-query"
    at Object.CallExpression (/github/workspace/dist/rules/no-global-regexp-flag-in-query.js:74:45)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)

@github-actions
Copy link
Author

Something went wrong.

Click to expand
HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
    at /index.js:2869:26
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async GithubClient.requestAndRetry (/index.js:5786:12)
    at async GithubClient.getExistingIssue (/index.js:5803:22)
    at async GithubClient.postResults (/index.js:5789:27)
    at async /index.js:5996:7

@MichaelDeBoey
Copy link
Member

Something went wrong.

Click to expand
HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
    at /index.js:2869:26
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async GithubClient.requestAndRetry (/index.js:5786:12)
    at async GithubClient.getExistingIssue (/index.js:5803:22)
    at async GithubClient.postResults (/index.js:5789:27)
    at async /index.js:5996:7

@AriPerkkio Is there something you can do anything about this?

@AriPerkkio
Copy link
Contributor

Looks like Github API's rate limit was hit when results were being posted. Since @testing-library is running two eslint-remote-tester-run-actions for two different repositories at the same time, it's possible to hit the rate limit.

There are already some safe guards for this: https://github.com/AriPerkkio/eslint-remote-tester-run-action/blob/master/src/github-client.ts#L28-L41
Increasing the retry limit and sleep timer should be enough. I'll fix these soon and update the v3 tag of the action.

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 9260 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented May 1, 2022

Detected 13 ESLint reports and/or crashes.
Scanned 8745 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented May 8, 2022

Detected 14 ESLint reports and/or crashes.
Scanned 9979 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 8434 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 7813 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6678 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Jun 5, 2022

Detected 13 ESLint reports and/or crashes.
Scanned 9322 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 13 ESLint reports and/or crashes.
Scanned 8960 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 7654 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 8816 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Jul 3, 2022

Detected 14 ESLint reports and/or crashes.
Scanned 8999 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 9799 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 7565 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 7651 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

Detected 14 ESLint reports and/or crashes.
Scanned 8986 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@github-actions
Copy link
Author

github-actions bot commented Aug 7, 2022

Detected 14 ESLint reports and/or crashes.
Scanned 8771 repositories.

Rules:

  • testing-library/consistent-data-testid
Click to expand

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
   5 | export default props => (
   6 |   <Layout>
>  7 |     <h1 data-testid="title">SPLAT!</h1>
   8 |     <h2 data-testid="splat">{props.params["*"]}</h2>
   9 |   </Layout>
  10 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/path-ranking/[...].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/client-only-splat/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6 Rule: "testing-library/consistent-data-testid"
  • Path: gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js
  • Link
  4 |   return (
  5 |     <main>
> 6 |       <h1 data-testid="title">{params.name}</h1>
  7 |       <pre>
  8 |         <code>{JSON.stringify(params, null, 2)}</code>
  9 |       </pre>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/trailing-slash/src/pages/fs-api/{Post.slug}/[...name].js:6
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

Rule: testing-library/consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212 Rule: "testing-library/consistent-data-testid"
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
Rule: "testing-library/consistent-data-testid"
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:76:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:97:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)

@sjarva
Copy link
Collaborator

sjarva commented Sep 9, 2022

Not really sure what we should do here: assume there is no file name? assume the file name it's just index? Any ideas?

I went for the "assume there is no file name" option in #643, as the [something].js is communicating that something is dynamic and can/will be replaced (by something that a static analysis won't be able to know in advance).

Belco90 pushed a commit that referenced this issue Sep 9, 2022
…ckets (#643)

fix: consistent-data-testid crashing when square brackets are in filename

fileName placeholder will be replaced with an empty string, as dynamic routes cannot be defined

Closes #509
@github-actions
Copy link
Author

github-actions bot commented Sep 9, 2022

🎉 This issue has been resolved in version 5.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
4 participants