@paratco/eslint-config 1.0.1 → 1.0.3
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/package.json +12 -12
- package/src/lints/typescript/index.js +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paratco/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Paratco",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"typescript-eslint": "^8.9.0"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"prettier": "^3.
|
|
30
|
+
"prettier": "^3.4.2"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@eslint/js": "^9.
|
|
34
|
-
"@stylistic/eslint-plugin": "^2.
|
|
33
|
+
"@eslint/js": "^9.16.0",
|
|
34
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
|
35
35
|
"@types/eslint__js": "^8.42.3",
|
|
36
|
-
"eslint": "^9.
|
|
36
|
+
"eslint": "^9.16.0",
|
|
37
37
|
"eslint-config-prettier": "^9.1.0",
|
|
38
|
-
"eslint-import-resolver-typescript": "^3.
|
|
39
|
-
"eslint-plugin-import-x": "^4.
|
|
38
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
39
|
+
"eslint-plugin-import-x": "^4.5.0",
|
|
40
40
|
"eslint-plugin-react": "^7.37.2",
|
|
41
|
-
"eslint-plugin-react-hooks": "5.1.0-rc-
|
|
42
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
43
|
-
"globals": "^15.
|
|
44
|
-
"typescript-eslint": "^8.
|
|
41
|
+
"eslint-plugin-react-hooks": "5.1.0-rc-1b1283ad-20241203",
|
|
42
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
43
|
+
"globals": "^15.13.0",
|
|
44
|
+
"typescript-eslint": "^8.17.0"
|
|
45
45
|
},
|
|
46
|
-
"packageManager": "yarn@4.5.
|
|
46
|
+
"packageManager": "yarn@4.5.3"
|
|
47
47
|
}
|
|
@@ -276,5 +276,10 @@ export default {
|
|
|
276
276
|
varsIgnorePattern: "^_",
|
|
277
277
|
ignoreRestSiblings: true
|
|
278
278
|
}
|
|
279
|
-
]
|
|
279
|
+
],
|
|
280
|
+
|
|
281
|
+
// Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects
|
|
282
|
+
// https://typescript-eslint.io/rules/prefer-optional-chain
|
|
283
|
+
// Note: This rule is in the recommended rules. But we remove it.
|
|
284
|
+
"@typescript-eslint/prefer-optional-chain": ["off"],
|
|
280
285
|
};
|