@comet/eslint-config 8.7.1 → 8.8.0-canary-20251120113920

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
@@ -1,5 +1,17 @@
1
1
  # @comet/eslint-config
2
2
 
3
+ ## 8.8.0-canary-20251120113920
4
+
5
+ ### Minor Changes
6
+
7
+ - f8bf3f5: Detect React version in `@comet/eslint-config/react.js` and `@comet/eslint-config/nextjs.js`
8
+
9
+ Removes the `React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration.` warning.
10
+
11
+ ### Patch Changes
12
+
13
+ - @comet/eslint-plugin@8.8.0-canary-20251120113920
14
+
3
15
  ## 8.7.1
4
16
 
5
17
  ### Patch Changes
package/nextjs.js CHANGED
@@ -57,6 +57,11 @@ const config = [
57
57
  plugins: {
58
58
  react: react,
59
59
  },
60
+ settings: {
61
+ react: {
62
+ version: "detect",
63
+ },
64
+ },
60
65
  rules: {
61
66
  "react/display-name": "off",
62
67
  "react/jsx-curly-brace-presence": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/eslint-config",
3
- "version": "8.7.1",
3
+ "version": "8.8.0-canary-20251120113920",
4
4
  "description": "A set of ESLint configurations for Comet projects",
5
5
  "repository": {
6
6
  "directory": "packages/eslint-config",
@@ -45,7 +45,7 @@
45
45
  "globals": "^15.15.0",
46
46
  "npm-run-all2": "^8.0.0",
47
47
  "typescript-eslint": "^8.24.1",
48
- "@comet/eslint-plugin": "8.7.1"
48
+ "@comet/eslint-plugin": "8.8.0-canary-20251120113920"
49
49
  },
50
50
  "devDependencies": {
51
51
  "eslint": "^9.30.1",
package/react.js CHANGED
@@ -55,6 +55,11 @@ const config = [
55
55
  plugins: {
56
56
  react: react,
57
57
  },
58
+ settings: {
59
+ react: {
60
+ version: "detect",
61
+ },
62
+ },
58
63
  rules: {
59
64
  "react/self-closing-comp": "error",
60
65
  "react/display-name": "off",