@comet/eslint-config 9.0.0-canary-20250915134805 → 9.0.0-canary-20251001104910
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 +12 -2
- package/future/react.js +20 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
# @comet/eslint-config
|
|
2
2
|
|
|
3
|
-
## 9.0.0-canary-
|
|
3
|
+
## 9.0.0-canary-20251001104910
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- @comet/eslint-plugin@9.0.0-canary-
|
|
7
|
+
- @comet/eslint-plugin@9.0.0-canary-20251001104910
|
|
8
|
+
|
|
9
|
+
## 8.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- dd4e4a8: Introduce a new future/react.js configuration and enable the ESLint rule react/jsx-no-literals.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- @comet/eslint-plugin@8.3.0
|
|
8
18
|
|
|
9
19
|
## 8.2.0
|
|
10
20
|
|
package/future/react.js
ADDED
|
@@ -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": "9.0.0-canary-
|
|
3
|
+
"version": "9.0.0-canary-20251001104910",
|
|
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
|
},
|
|
@@ -40,9 +43,9 @@
|
|
|
40
43
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
41
44
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
42
45
|
"globals": "^15.15.0",
|
|
43
|
-
"npm-run-all2": "^
|
|
46
|
+
"npm-run-all2": "^8.0.0",
|
|
44
47
|
"typescript-eslint": "^8.24.1",
|
|
45
|
-
"@comet/eslint-plugin": "9.0.0-canary-
|
|
48
|
+
"@comet/eslint-plugin": "9.0.0-canary-20251001104910"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
51
|
"eslint": "^9.30.1",
|