@paratco/eslint-config 1.0.14 → 1.0.16

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.14",
3
+ "version": "1.0.16",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "author": "Paratco",
@@ -26,25 +26,25 @@
26
26
  "format": "prettier --write src/"
27
27
  },
28
28
  "peerDependencies": {
29
- "eslint": "^9.19.0",
30
- "typescript-eslint": "^8.22.0"
29
+ "eslint": "^9.22.0",
30
+ "typescript-eslint": "^8.26.0"
31
31
  },
32
32
  "optionalDependencies": {
33
- "prettier": "^3.5.2"
33
+ "prettier": "^3.5.3"
34
34
  },
35
35
  "dependencies": {
36
- "@eslint/js": "^9.21.0",
37
- "@stylistic/eslint-plugin": "^4.0.1",
38
- "eslint": "^9.21.0",
39
- "eslint-config-prettier": "^10.0.1",
36
+ "@eslint/js": "^9.22.0",
37
+ "@stylistic/eslint-plugin": "^4.2.0",
38
+ "eslint": "^9.22.0",
39
+ "eslint-config-prettier": "^10.1.1",
40
40
  "eslint-import-resolver-typescript": "^3.8.3",
41
41
  "eslint-plugin-import-x": "^4.6.1",
42
42
  "eslint-plugin-react": "^7.37.4",
43
- "eslint-plugin-react-hooks": "5.1.0",
43
+ "eslint-plugin-react-hooks": "5.2.0",
44
44
  "eslint-plugin-react-refresh": "^0.4.19",
45
45
  "eslint-plugin-unused-imports": "^4.1.4",
46
46
  "globals": "^16.0.0",
47
- "typescript-eslint": "^8.24.1"
47
+ "typescript-eslint": "^8.26.0"
48
48
  },
49
- "packageManager": "yarn@4.6.0"
49
+ "packageManager": "yarn@4.7.0"
50
50
  }
@@ -33,5 +33,14 @@ export default {
33
33
  destructuredArrayIgnorePattern: "^_",
34
34
  ignoreRestSiblings: true
35
35
  }
36
+ ],
37
+
38
+ // https://eslint.org/docs/latest/rules/no-fallthrough
39
+ // Disallow fallthrough of case statements
40
+ "no-fallthrough": [
41
+ "error",
42
+ {
43
+ allowEmptyCase: true
44
+ }
36
45
  ]
37
46
  };