A remark-lint rule that checks MDX JSX attribute ordering, ensuring attributes are sorted alphabetically. Current stable version is 1.0.1. Part of the remark-lint ecosystem, it is ESM-only, requires Node.js 16+, and is written in TypeScript with bundled types. Unlike generic lint rules, it specifically targets MDX JSX syntax, handling spreads (must come first) and shorthand attributes. Released under the unified collective.
npm install remark-lint-mdx-jsx-attribute-sortNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Set up a unified processor with remark-lint and the MDX JSX attribute sort rule, then lint an MDX file.
Use import syntax or dynamic import().
Upgrade Node.js to >=16.
Place all spread attributes before key-value attributes.
Replace require() with import or use dynamic import().
Reorder attributes alphabetically; spreads must come before key-value attributes.
No dependency data recorded yet.