From ddd5385de8e0fe3039655cd16e390404aba82d25 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 20 Sep 2021 20:49:02 +0000 Subject: [PATCH] Version Packages --- .changeset/curly-carrots-tickle.md | 5 ----- .changeset/weak-tips-brush.md | 17 ----------------- CHANGELOG.md | 21 ++++++++++++++++++++- package.json | 2 +- 4 files changed, 21 insertions(+), 24 deletions(-) delete mode 100644 .changeset/curly-carrots-tickle.md delete mode 100644 .changeset/weak-tips-brush.md diff --git a/.changeset/curly-carrots-tickle.md b/.changeset/curly-carrots-tickle.md deleted file mode 100644 index da7cedf9..00000000 --- a/.changeset/curly-carrots-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-primer-react": patch ---- - -Add `skipImportCheck` option. By default, the `no-deprecated-colors` rule will only check for deprecated colors used in functions and components that are imported from `@primer/components`. You can disable this behavior by setting `skipImportCheck` to `true`. This is useful for linting custom components that pass color-related props down to Primer React components. diff --git a/.changeset/weak-tips-brush.md b/.changeset/weak-tips-brush.md deleted file mode 100644 index 8f37206b..00000000 --- a/.changeset/weak-tips-brush.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"eslint-plugin-primer-react": patch ---- - -The `no-deprecated-colors` rule can now find deprecated colors in the following cases: - -* Nested `sx` properties: - - ```jsx - - ``` - -* Functions in `sx` prop: - - ```jsx - `0 1px 2px ${theme.colors.text.primary}`}}> - ``` diff --git a/CHANGELOG.md b/CHANGELOG.md index e1f668bc..3a5390d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,27 @@ # eslint-plugin-primer-react -## 0.4.1 +## 0.4.2 + ### Patch Changes +- [#7](https://github.com/primer/eslint-plugin-primer-react/pull/7) [`d9dfb8d`](https://github.com/primer/eslint-plugin-primer-react/commit/d9dfb8de6d6dc42efe606517db7a0dd90d5c5578) Thanks [@colebemis](https://github.com/colebemis)! - Add `skipImportCheck` option. By default, the `no-deprecated-colors` rule will only check for deprecated colors used in functions and components that are imported from `@primer/components`. You can disable this behavior by setting `skipImportCheck` to `true`. This is useful for linting custom components that pass color-related props down to Primer React components. + +* [#6](https://github.com/primer/eslint-plugin-primer-react/pull/6) [`dd14594`](https://github.com/primer/eslint-plugin-primer-react/commit/dd14594b05e4d800baa76771f5b911d77352a983) Thanks [@colebemis](https://github.com/colebemis)! - The `no-deprecated-colors` rule can now find deprecated colors in the following cases: + + - Nested `sx` properties: + + ```jsx + + ``` + - Functions in `sx` prop: + + ```jsx + `0 1px 2px ${theme.colors.text.primary}`}}> + ``` + +## 0.4.1 + +### Patch Changes - [#3](https://github.com/primer/eslint-plugin-primer-react/pull/3) [`8e9144f`](https://github.com/primer/eslint-plugin-primer-react/commit/8e9144fd7a9ff1bb99878dca61621351026ddc82) Thanks [@colebemis](https://github.com/colebemis)! - Add type metadata to no-deprecated-colors rule diff --git a/package.json b/package.json index 841e5dee..38d6523a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-primer-react", - "version": "0.4.1", + "version": "0.4.2", "description": "ESLint rules for Primer React", "main": "src/index.js", "scripts": {