Scan your whole stack
From OX Research Newsroom
Are you using prettier-plugin-stillwind?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.13.0
prettier-plugin-stillwind was last scanned on 29 Nov 2026 at version 0.13.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.13.0 LATEST | 29 Nov 2026 | No rules fired |
| 0.12.0 | 23 Nov 2026 | No rules fired |
| 0.11.0 | 19 Nov 2026 | No rules fired |
| 0.10.1 | 13 Nov 2026 | Not shown |
| 0.10.0 | 13 Nov 2026 | Not shown |
Findings for v0.13.0. 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.13.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Stillwind compiles Tailwind CSS v4 utilities into component props and static CSS. It uses theme rules and compiler checks to keep styling code in order, even when AI agents write much of it.
prettier-plugin-stillwind is Stillwind's Prettier plugin. It sorts recognized
Stillwind inputs before Prettier formats a document.
Install the plugin alongside Prettier 3.7 or newer within the 3.x series:
npm install -D prettier prettier-plugin-stillwind
// prettier.config.mjs
export default {
plugins: ["prettier-plugin-stillwind"],
};
JavaScript, JSX, TypeScript, TSX, and CSS use Prettier's existing parsers and printers. CSS sorting
uses sort.applyUtilities (true by default), sort.applyStatements, and sort.variantBlocks
(both false by default). Vue uses its built-in parser. Svelte and Astro require their language
plugins to be installed and loaded
before the Stillwind plugin:
export default {
plugins: ["prettier-plugin-svelte", "prettier-plugin-astro", "prettier-plugin-stillwind"],
};
The plugin uses the nearest stillwind.config.* above the file, including its project
scopes, theme CSS, and sort options. Sorting runs independently of the
prefer-sorted-utilities lint severity. Lint suppression comments control lint
diagnostics and fixes; explicit formatting still sorts.
Create a Stillwind project configuration
before formatting. stillwindConfig can select an explicit configuration path relative to the working directory.
API callers must supply filepath; the plugin analyzes the supplied text, including unsaved
buffers. Files without a discovered configuration or outside its project scopes keep ordinary
Prettier formatting. Invalid explicit configuration and incomplete or conflicting analysis fail
the formatting request. The default entry runs in Node.js.
prettier-ignore protects the following syntax node from sorting. Range formatting protects
source outside the supplied range. CSS statement and variant movement also preserves the relative
order of competing property writes. Sorting preserves token spellings and source length, and
the adapter keeps cursors attached to uniquely identifiable tokens within reordered literals.
Duplicate or ambiguous tokens retain their relative cursor offset within the replacement.
The plugin only sorts. Canonical utility replacements are available through stillwind lint --fix.
Prettier owns saving files. The plugin reloads project configuration for each formatting request.
See Formatters and Sorting for sorting options, and Lint for canonical replacements and other checks.
Browsers cannot start the Node analysis process. prettier-plugin-stillwind/browser exports
createStillwindPlugin(resolve), and the host supplies the sorting service through resolve:
import { createStillwindPlugin } from "prettier-plugin-stillwind/browser";
import { format } from "prettier/standalone";
const stillwind = createStillwindPlugin((filepath) =>
isProjectFile(filepath) ? (input) => sortWithLanguageServer(filepath, input) : undefined,
);
await format(source, {
filepath,
plugins: [estree, typescript, stillwind],
});
resolve receives the filepath and the Prettier options. It returns undefined to keep ordinary
formatting, or a function that sorts input.source. That function must leave
input.protectedRanges untouched and return the sorted code with its edits in the original
text. The browser entry wraps Prettier's built-in parsers only, so Svelte and Astro files keep
ordinary formatting.
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.