@comet/eslint-config 9.0.0-canary-20251013121422 → 9.0.0-canary-20251124092450

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,6 +1,6 @@
1
1
  # @comet/eslint-config
2
2
 
3
- ## 9.0.0-canary-20251013121422
3
+ ## 9.0.0-canary-20251124092450
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -8,9 +8,71 @@
8
8
 
9
9
  Follow the official [migration guide](https://nextjs.org/docs/app/guides/upgrading/version-15) to upgrade.
10
10
 
11
+ ### Minor Changes
12
+
13
+ - f8bf3f5: Detect React version in `@comet/eslint-config/react.js` and `@comet/eslint-config/nextjs.js`
14
+
15
+ Removes the `React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration.` warning.
16
+
17
+ ### Patch Changes
18
+
19
+ - @comet/eslint-plugin@9.0.0-canary-20251124092450
20
+
21
+ ## 8.7.1
22
+
23
+ ### Patch Changes
24
+
25
+ - @comet/eslint-plugin@8.7.1
26
+
27
+ ## 8.7.0
28
+
29
+ ### Patch Changes
30
+
31
+ - @comet/eslint-plugin@8.7.0
32
+
33
+ ## 8.6.0
34
+
35
+ ### Patch Changes
36
+
37
+ - @comet/eslint-plugin@8.6.0
38
+
39
+ ## 8.5.2
40
+
41
+ ### Patch Changes
42
+
43
+ - @comet/eslint-plugin@8.5.2
44
+
45
+ ## 8.5.1
46
+
47
+ ### Patch Changes
48
+
49
+ - dcb9712: Disable `@next/next/no-img-element` rule
50
+ - @comet/eslint-plugin@8.5.1
51
+
52
+ ## 8.5.0
53
+
54
+ ### Patch Changes
55
+
56
+ - @comet/eslint-plugin@8.5.0
57
+
58
+ ## 8.4.2
59
+
60
+ ### Patch Changes
61
+
62
+ - @comet/eslint-plugin@8.4.2
63
+
64
+ ## 8.4.1
65
+
66
+ ### Patch Changes
67
+
68
+ - @comet/eslint-plugin@8.4.1
69
+
70
+ ## 8.4.0
71
+
11
72
  ### Patch Changes
12
73
 
13
- - @comet/eslint-plugin@9.0.0-canary-20251013121422
74
+ - 576731f: Allow `%` as a string literal in `future/react.js`
75
+ - @comet/eslint-plugin@8.4.0
14
76
 
15
77
  ## 8.3.0
16
78
 
package/future/react.js CHANGED
@@ -10,7 +10,7 @@ const config = [
10
10
  "react/jsx-no-literals": [
11
11
  "error",
12
12
  {
13
- allowedStrings: ["…", "€", "$", "?", "–", "—", "/", "(", ")"],
13
+ allowedStrings: ["…", "€", "$", "?", "–", "—", "/", "(", ")", "%"],
14
14
  },
15
15
  ],
16
16
  },
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",
@@ -64,6 +69,7 @@ const config = [
64
69
  "react/self-closing-comp": "error",
65
70
  "react/jsx-no-useless-fragment": ["error", { allowExpressions: true }],
66
71
  "react/react-in-jsx-scope": "off",
72
+ "@next/next/no-img-element": "off",
67
73
  },
68
74
  },
69
75
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/eslint-config",
3
- "version": "9.0.0-canary-20251013121422",
3
+ "version": "9.0.0-canary-20251124092450",
4
4
  "description": "A set of ESLint configurations for Comet projects",
5
5
  "repository": {
6
6
  "directory": "packages/eslint-config",
@@ -45,12 +45,12 @@
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": "9.0.0-canary-20251013121422"
48
+ "@comet/eslint-plugin": "9.0.0-canary-20251124092450"
49
49
  },
50
50
  "devDependencies": {
51
51
  "eslint": "^9.30.1",
52
52
  "prettier": "^3.6.2",
53
- "typescript": "5.8.3"
53
+ "typescript": "5.9.3"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "eslint": ">=9",
@@ -71,6 +71,6 @@
71
71
  "scripts": {
72
72
  "lint": "run-p lint:prettier lint:eslint",
73
73
  "lint:eslint": "eslint --max-warnings 0 *.json ",
74
- "lint:prettier": "npx prettier --check './**/*.{js,json,md,yml,yaml}'"
74
+ "lint:prettier": "pnpm exec prettier --check './**/*.{js,json,md,yml,yaml}'"
75
75
  }
76
76
  }
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",