diff --git a/.changeset/prettier-stylelint-exports.md b/.changeset/prettier-stylelint-exports.md deleted file mode 100644 index 449be52..0000000 --- a/.changeset/prettier-stylelint-exports.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@gaia-react/lint": minor ---- - -Add Prettier and Stylelint config subpath exports. - -- `@gaia-react/lint/prettier` — Prettier engine config (singleQuote, no bracket spacing, ES5 trailing commas, experimental ternaries, Tailwind class-sorting via `prettier-plugin-tailwindcss` for `twJoin`/`twMerge`). -- `@gaia-react/lint/stylelint` — Stylelint config extending `stylelint-config-standard` + `stylelint-config-clean-order` + `stylelint-config-tailwindcss`, with `stylelint-order` plugin and GAIA-specific overrides for CSS modules. - -Consumer usage: - -```js -// prettier.config.mjs -export {default} from '@gaia-react/lint/prettier'; - -// stylelint.config.mjs -export {default} from '@gaia-react/lint/stylelint'; -``` - -`stylelint` joins `eslint`/`prettier`/`typescript` as a peer dependency (optional; only required if you import the stylelint subpath). diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8187259 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# @gaia-react/lint + +## 1.1.0 + +### Minor Changes + +- [`ebad2d3`](https://github.com/gaia-react/lint/commit/ebad2d32c55656ea7a29bf764eaf536db4ccef81) Thanks [@stevensacks](https://github.com/stevensacks)! - Add Prettier and Stylelint config subpath exports. + - `@gaia-react/lint/prettier` — Prettier engine config (singleQuote, no bracket spacing, ES5 trailing commas, experimental ternaries, Tailwind class-sorting via `prettier-plugin-tailwindcss` for `twJoin`/`twMerge`). + - `@gaia-react/lint/stylelint` — Stylelint config extending `stylelint-config-standard` + `stylelint-config-clean-order` + `stylelint-config-tailwindcss`, with `stylelint-order` plugin and GAIA-specific overrides for CSS modules. + + Consumer usage: + + ```js + // prettier.config.mjs + export {default} from '@gaia-react/lint/prettier'; + + // stylelint.config.mjs + export {default} from '@gaia-react/lint/stylelint'; + ``` + + `stylelint` joins `eslint`/`prettier`/`typescript` as a peer dependency (optional; only required if you import the stylelint subpath). diff --git a/package.json b/package.json index 629da4e..8c282a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gaia-react/lint", - "version": "1.0.0", + "version": "1.1.0", "description": "GAIA's opinionated lint configuration.", "type": "module", "main": "./dist/index.js",