@zgeoff/oxlint-config 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgeoff/oxlint-config",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Shareable oxlint config: strict categories, house-style rules, and a custom JS plugin",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -2,7 +2,9 @@ import { readdirSync, statSync } from 'node:fs';
2
2
  import { basename, dirname, join, relative, sep } from 'node:path';
3
3
  import resolveRepoRoot from './resolve-repo-root.js';
4
4
 
5
- const testFilePattern = /^(?<base>.+)\.test\.tsx?$/u;
5
+ // a browser suite (`<name>.browser.test.ts`) tests the same module as
6
+ // `<name>.test.ts`, and the suffix lets a runner put it in its own lane
7
+ const testFilePattern = /^(?<base>.+?)(?:\.browser)?\.test\.tsx?$/u;
6
8
 
7
9
  // suites that run the whole program have no single module to sit beside
8
10
  const exemptRootDirs = new Set(['e2e', 'evals']);