Scan your whole stack
From OX Research Newsroom
Are you using @slashsuite/oxlint-testing?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.2
@slashsuite/oxlint-testing was last scanned on 30 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.2 LATEST | 30 Nov 2026 | No rules fired |
| 0.3.1 | 25 Nov 2026 | No rules fired |
| 0.3.0 | 25 Nov 2026 | No rules fired |
| 0.2.0 | 24 Nov 2026 | Not shown |
| 0.0.0-stage | 24 Nov 2026 | Not shown |
Findings for v0.3.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A shared oxlint config and plugin for UI tests:
Playwright specs, Testing Library and Vitest tests, and Playwright configs. It enforces the parts of
the UI testing rules below that a linter can see, and every message names the rule it enforces by
its number and title (UI testing rule 7: Behaviour in tests, look in PixelSlash).
| # | Rule | What it means | Linted |
|---|---|---|---|
| 1 | Find elements the way a user does | By role and accessible name, never a selector string, a raw locator or a DOM walk (in a test or inside page.evaluate). A test id is the fallback for what has no accessible name (a canvas, a chart body), with a comment saying why. The one exception is the app's ready marker, html[data-hydrated]. |
yes |
| 2 | Wait on a state, never on a clock | No fixed sleeps, no networkidle, and timeouts stay at the config's defaults unless a comment names the ticket that needs more. |
yes |
| 3 | Every test owns its world | A fresh store per run, and each test creates the data it reads. | no |
| 4 | The network ends at localhost | Every third party is a local stub. | no |
| 5 | Assert what the user sees | The outcome of a step is checked on the page. One if in a test is two tests. |
yes |
| 6 | One journey per test | A test is one user goal, its stages named with test.step. |
no |
| 7 | Behaviour in tests, look in PixelSlash | No assertion on a class, a style, a computed style, layout geometry, pixels or a screenshot. The look is the visual check's. The one measurement that stays is no sideways scroll on the phone (scrollWidth - clientWidth). |
yes |
| 8 | One config shape | fullyParallel: true, retries: 0, the CI reporter, reuseExistingServer: false, trace: "retain-on-failure", Chromium only (the phone project is devices["iPhone 15"] on Chromium), and no bare, focused or ticketless skip. |
yes |
| 9 | Where it runs | The e2e suite runs in CI on every pull request. | no |
It is about tests only. Lint rules for using @slashsuite/ui-react itself are a separate package, and
a repo can extend either without the other.
Status: 0.x. License: MIT.
bun add -d -E @slashsuite/oxlint-testing oxlint@1.94.0 eslint-plugin-playwright@2.12.2 eslint-plugin-testing-library@7.16.2
The three peers are exact versions. oxlint's jsPlugins, which loads the ESLint plugins and this
package's own, is alpha and not under semver, so the versions move together, in a release of this
package.
Extend the config from the repo's .oxlintrc.json. extends takes a path, relative to the file:
{
"extends": ["./node_modules/@slashsuite/oxlint-testing/.oxlintrc.json"]
}
Every rule is scoped by a glob (below), so the config changes nothing outside test files, and the repo's own plugins, categories and rules stay as they are.
A line that is a real exception (a setTimeout inside a stub server, say) says why on the line
above:
// oxlint-disable-next-line no-restricted-globals -- the stub answers late on purpose, HC-123
setTimeout(reply, 50);
| Files | What they are | Rules |
|---|---|---|
**/*.test.{ts,tsx,js,jsx,mjs} |
DOM and unit tests (Vitest, Testing Library) | Vitest, Testing Library, ui-testing/no-node-access, ui-testing/no-style-assertions, ui-testing/testid-needs-reason, sleeps, style reads |
**/*.built.test.{ts,tsx,js,jsx,mjs} |
checks of built output (a loop over parsed dist/ pages) |
as a DOM test, less the two that flag reading HTML as data |
**/e2e/**, **/smoke/**, **/*.spec.{ts,tsx,js,mjs} |
Playwright e2e and smoke specs | Playwright, ui-testing/no-selector-actions, no-node-access, no-style-assertions, no-adhoc-screenshot, no-raised-timeout, skip-names-ticket, testid-needs-reason, sleeps, style and geometry reads |
**/playwright.config.*, **/playwright.*.config.* |
Playwright configs | ui-testing/config-shape |
A check that parses built HTML (meta tags, href, id) reads it as data, not as a user would, so
its file is named *.built.test.ts. That glob turns off vitest/no-conditional-in-test (a parse
branches) and ui-testing/no-node-access (it queries a parsed document). vitest/require-mock-type-parameters is off in every test: it flags every
vi.fn().
The ui-testing rules are this package's plugin (plugin.js). The rest are oxlint's own or come
from eslint-plugin-playwright and eslint-plugin-testing-library.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.