@10stars/config 11.0.6 → 11.0.8
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/.eslintrc.js +5 -0
- package/package.json +6 -3
package/.eslintrc.js
CHANGED
|
@@ -166,6 +166,11 @@ module.exports = {
|
|
|
166
166
|
* - @typescript-eslint/no-type-alias
|
|
167
167
|
* - @typescript-eslint/strict-boolean-expressions // doesn't work well
|
|
168
168
|
*/
|
|
169
|
+
// changed recommended rules
|
|
170
|
+
"@typescript-eslint/restrict-template-expressions": [
|
|
171
|
+
"error", // https://typescript-eslint.io/rules/restrict-template-expressions/
|
|
172
|
+
{ allowNumber: true }, // we allow numbers in template strings
|
|
173
|
+
],
|
|
169
174
|
// disabled recommended rules
|
|
170
175
|
"@typescript-eslint/prefer-nullish-coalescing": type.ignore, // doesn't make sense sometimes and actually could introduce a bug
|
|
171
176
|
"@typescript-eslint/consistent-indexed-object-style": type.ignore,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@10stars/config",
|
|
7
|
-
"version": "11.0.
|
|
7
|
+
"version": "11.0.8",
|
|
8
8
|
"author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"bin": {
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
"lint": "eslint .",
|
|
24
24
|
"lint-rule-timings": "cross-env TIMING=1 npm run lint"
|
|
25
25
|
},
|
|
26
|
+
"comments-dependencies": {
|
|
27
|
+
"typescript": "waiting for the fix in https://github.com/microsoft/TypeScript/issues/57792 "
|
|
28
|
+
},
|
|
26
29
|
"dependencies": {
|
|
27
30
|
"@10stars/eslint-plugin-react-hooks": "^4.3.4",
|
|
28
31
|
"@commitlint/cli": "^19.0.0",
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
34
37
|
"@typescript-eslint/parser": "^7.0.0",
|
|
35
38
|
"builtin-modules": "^3.3.0",
|
|
36
|
-
"esbuild": "~0.20.
|
|
39
|
+
"esbuild": "~0.20.2",
|
|
37
40
|
"tsx": "^4.0.0",
|
|
38
41
|
"eslint": "^8.0.0",
|
|
39
42
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -46,6 +49,6 @@
|
|
|
46
49
|
"husky": "^9.0.0",
|
|
47
50
|
"prettier": "^3.0.0",
|
|
48
51
|
"type-fest": "^4.0.0",
|
|
49
|
-
"typescript": "
|
|
52
|
+
"typescript": "5.3.3"
|
|
50
53
|
}
|
|
51
54
|
}
|