eslint-plugin-primer-react 7.0.1-rc.d09d528 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  - [#331](https://github.com/primer/eslint-plugin-primer-react/pull/331) [`82a7d03`](https://github.com/primer/eslint-plugin-primer-react/commit/82a7d037b92c02126c6bf0daba060b233ef94262) Thanks [@francinelucca](https://github.com/francinelucca)! - Update message for no-deprecated-experimental-components rule
8
8
 
9
+ - [#333](https://github.com/primer/eslint-plugin-primer-react/pull/333) [`c709c98`](https://github.com/primer/eslint-plugin-primer-react/commit/c709c98a84dc1ce978575136292063f3821b47cc) Thanks [@francinelucca](https://github.com/francinelucca)! - Update message for no-deprecated-experimental-components rule
10
+
9
11
  - [#331](https://github.com/primer/eslint-plugin-primer-react/pull/331) [`82a7d03`](https://github.com/primer/eslint-plugin-primer-react/commit/82a7d037b92c02126c6bf0daba060b233ef94262) Thanks [@francinelucca](https://github.com/francinelucca)! - Removes primer-react/enforce-css-module-identifier-casing, primer-react/enforce-css-module-default-import from recommended set of rules.
10
12
 
11
13
  ## 7.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-primer-react",
3
- "version": "7.0.1-rc.d09d528",
3
+ "version": "7.0.1",
4
4
  "description": "ESLint rules for Primer React",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -30,14 +30,14 @@ ruleTester.run('no-deprecated-experimental-components', rule, {
30
30
  {
31
31
  code: `import {SelectPanel} from '@primer/react/experimental'`,
32
32
  errors: [
33
- 'The experimental SelectPanel is deprecated. Please import from the stable entrypoint (@primer/react) if available, or check https://primer.style/product/components/ for alternative components.',
33
+ 'The experimental SelectPanel is deprecated. Please import from the stable entrypoint (@primer/react) if available. Check https://primer.style/product/getting-started/react/migration-guides/ for migration guidance or https://primer.style/product/components/ for alternative components.',
34
34
  ],
35
35
  },
36
36
  // Multiple experimental import
37
37
  {
38
38
  code: `import {SelectPanel, DataTable, ActionBar} from '@primer/react/experimental'`,
39
39
  errors: [
40
- 'The experimental SelectPanel is deprecated. Please import from the stable entrypoint (@primer/react) if available, or check https://primer.style/product/components/ for alternative components.',
40
+ 'The experimental SelectPanel is deprecated. Please import from the stable entrypoint (@primer/react) if available. Check https://primer.style/product/getting-started/react/migration-guides/ for migration guidance or https://primer.style/product/components/ for alternative components.',
41
41
  ],
42
42
  },
43
43
  ],
@@ -55,7 +55,7 @@ module.exports = {
55
55
  // eslint-disable-next-line i18n-text/no-en
56
56
  const message = `The experimental ${components.join(', ')} ${
57
57
  components.length > 1 ? 'are' : 'is'
58
- } deprecated. Please import from the stable entrypoint (@primer/react) if available, or check https://primer.style/product/components/ for alternative components.`
58
+ } deprecated. Please import from the stable entrypoint (@primer/react) if available. Check https://primer.style/product/getting-started/react/migration-guides/ for migration guidance or https://primer.style/product/components/ for alternative components.`
59
59
 
60
60
  context.report({
61
61
  node,