@comet/eslint-config 8.3.0-canary-20250915141611 → 8.3.0-canary-20250916072044

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,10 +1,14 @@
1
1
  # @comet/eslint-config
2
2
 
3
- ## 8.3.0-canary-20250915141611
3
+ ## 8.3.0-canary-20250916072044
4
+
5
+ ### Minor Changes
6
+
7
+ - dd4e4a8: Introduce a new future/react.js configuration and enable the ESLint rule react/jsx-no-literals.
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - @comet/eslint-plugin@8.3.0-canary-20250915141611
11
+ - @comet/eslint-plugin@8.3.0-canary-20250916072044
8
12
 
9
13
  ## 8.2.0
10
14
 
@@ -0,0 +1,20 @@
1
+ import reactConfig from "../react.js";
2
+
3
+ /** @type {import('eslint')} */
4
+ const config = [
5
+ ...reactConfig,
6
+ {
7
+ files: ["**/*.ts", "**/*.tsx"],
8
+ ignores: ["**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx"],
9
+ rules: {
10
+ "react/jsx-no-literals": [
11
+ "error",
12
+ {
13
+ allowedStrings: ["…", "€", "$", "?", "–", "—"],
14
+ },
15
+ ],
16
+ },
17
+ },
18
+ ];
19
+
20
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/eslint-config",
3
- "version": "8.3.0-canary-20250915141611",
3
+ "version": "8.3.0-canary-20250916072044",
4
4
  "description": "A set of ESLint configurations for Comet projects",
5
5
  "repository": {
6
6
  "directory": "packages/eslint-config",
@@ -13,6 +13,9 @@
13
13
  "./core.js": {
14
14
  "import": "./core.js"
15
15
  },
16
+ "./future/react.js": {
17
+ "import": "./future/react.js"
18
+ },
16
19
  "./nestjs.js": {
17
20
  "import": "./nestjs.js"
18
21
  },
@@ -42,7 +45,7 @@
42
45
  "globals": "^15.15.0",
43
46
  "npm-run-all2": "^5.0.2",
44
47
  "typescript-eslint": "^8.24.1",
45
- "@comet/eslint-plugin": "8.3.0-canary-20250915141611"
48
+ "@comet/eslint-plugin": "8.3.0-canary-20250916072044"
46
49
  },
47
50
  "devDependencies": {
48
51
  "eslint": "^9.30.1",