@viclafouch/eslint-config-viclafouch 4.17.1-beta.9 → 4.18.0

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": "@viclafouch/eslint-config-viclafouch",
3
- "version": "4.17.1-beta.9",
3
+ "version": "4.18.0",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -31,25 +31,25 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/core": "^7.26.0",
34
- "@babel/eslint-parser": "^7.25.9",
35
- "@next/eslint-plugin-next": "^15.1.0",
34
+ "@babel/eslint-parser": "^7.26.5",
35
+ "@next/eslint-plugin-next": "^15.1.5",
36
36
  "@total-typescript/ts-reset": "^0.6.1",
37
37
  "app-root-path": "^3.1.0",
38
38
  "babel-loader": "^9.2.1",
39
- "eslint-config-prettier": "^9.1.0",
39
+ "eslint-config-prettier": "^10.0.1",
40
40
  "eslint-plugin-import": "^2.31.0",
41
41
  "eslint-plugin-jsx-a11y": "^6.10.2",
42
- "eslint-plugin-prettier": "^5.2.1",
42
+ "eslint-plugin-prettier": "^5.2.3",
43
43
  "eslint-plugin-promise": "^7.2.1",
44
- "eslint-plugin-react": "^7.37.2",
44
+ "eslint-plugin-react": "^7.37.4",
45
45
  "eslint-plugin-react-hooks": "^5.1.0",
46
46
  "eslint-plugin-simple-import-sort": "^12.1.1",
47
47
  "eslint-plugin-testing-library": "^7.1.1",
48
48
  "get-tsconfig": "^4.8.1",
49
- "globals": "^15.13.0",
49
+ "globals": "^15.14.0",
50
50
  "prettier": ">= 3",
51
- "typescript-eslint": "^8.18.0",
52
- "@eslint/js": "^9.17.0",
51
+ "typescript-eslint": "^8.20.0",
52
+ "@eslint/js": "^9.18.0",
53
53
  "prettier-plugin-curly": "^0.3.1",
54
54
  "eslint": ">= 9",
55
55
  "typescript": ">= 5"
@@ -142,7 +142,11 @@ export default tseslint.config(
142
142
 
143
143
  // Disallow using code marked as @deprecated.
144
144
  // https://typescript-eslint.io/rules/no-deprecated
145
- '@typescript-eslint/no-deprecated': 'error'
145
+ '@typescript-eslint/no-deprecated': 'error',
146
+
147
+ // Disallow using the spread operator when it might cause unexpected behavior.
148
+ // https://typescript-eslint.io/rules/no-misused-spread/
149
+ '@typescript-eslint/no-misused-spread': 'error'
146
150
 
147
151
  // Prefer using nullish coalescing (??) over logical (||) when possible.
148
152
  // '@typescript-eslint/prefer-nullish-coalescing': 'error'