@paratco/eslint-config 1.0.0 → 1.0.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paratco/eslint-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "author": "Paratco",
@@ -30,18 +30,18 @@
30
30
  "prettier": "^3.3.3"
31
31
  },
32
32
  "dependencies": {
33
- "@eslint/js": "^9.13.0",
34
- "@stylistic/eslint-plugin": "^2.9.0",
33
+ "@eslint/js": "^9.14.0",
34
+ "@stylistic/eslint-plugin": "^2.10.1",
35
35
  "@types/eslint__js": "^8.42.3",
36
- "eslint": "^9.13.0",
36
+ "eslint": "^9.14.0",
37
37
  "eslint-config-prettier": "^9.1.0",
38
38
  "eslint-import-resolver-typescript": "^3.6.3",
39
- "eslint-plugin-import-x": "^4.3.1",
40
- "eslint-plugin-react": "^7.37.1",
41
- "eslint-plugin-react-hooks": "canary",
42
- "eslint-plugin-react-refresh": "^0.4.13",
43
- "globals": "^15.11.0",
44
- "typescript-eslint": "^8.10.0"
39
+ "eslint-plugin-import-x": "^4.4.0",
40
+ "eslint-plugin-react": "^7.37.2",
41
+ "eslint-plugin-react-hooks": "5.1.0-rc-5c56b873-20241107",
42
+ "eslint-plugin-react-refresh": "^0.4.14",
43
+ "globals": "^15.12.0",
44
+ "typescript-eslint": "^8.13.0"
45
45
  },
46
46
  "packageManager": "yarn@4.5.1"
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
  };