@viclafouch/eslint-config-viclafouch 4.10.1-beta.0 → 4.11.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.10.1-beta.0",
3
+ "version": "4.11.0",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -34,8 +34,8 @@
34
34
  "@next/eslint-plugin-next": "^14.2.1",
35
35
  "@rushstack/eslint-patch": "^1.10.2",
36
36
  "@total-typescript/ts-reset": "^0.5.1",
37
- "@typescript-eslint/eslint-plugin": "^7.6.0",
38
- "@typescript-eslint/parser": "^7.6.0",
37
+ "@typescript-eslint/eslint-plugin": "^7.7.0",
38
+ "@typescript-eslint/parser": "^7.7.0",
39
39
  "app-root-path": "^3.1.0",
40
40
  "babel-loader": "^9.1.3",
41
41
  "eslint": "^8.57.0",
@@ -47,10 +47,11 @@
47
47
  "eslint-plugin-react": "^7.34.1",
48
48
  "eslint-plugin-react-hooks": "^4.6.0",
49
49
  "eslint-plugin-simple-import-sort": "^12.1.0",
50
- "eslint-plugin-testing-library": "^6.2.1",
50
+ "eslint-plugin-testing-library": "^6.2.2",
51
51
  "get-tsconfig": "^4.7.3",
52
52
  "prettier": "^3.2.5",
53
- "typescript": "^5.4.5"
53
+ "typescript": "^5.4.5",
54
+ "prettier-plugin-curly": "^0.2.1"
54
55
  },
55
56
  "scripts": {
56
57
  "lint": "eslint .",
package/prettier.js CHANGED
@@ -8,6 +8,7 @@ module.exports = {
8
8
  'prettier/prettier': [
9
9
  'error',
10
10
  {
11
+ plugins: ['prettier-plugin-curly'],
11
12
  semi: false,
12
13
  singleQuote: true,
13
14
  printWidth: 80,
@@ -136,7 +136,7 @@ module.exports = {
136
136
 
137
137
  // Prefer to use unknown instead of any for error in catch callback
138
138
  // https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
139
- '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
139
+ // '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
140
140
 
141
141
  // No more "as Record<any, any>" in Array.reduce initial value, use generics
142
142
  // https://typescript-eslint.io/rules/prefer-reduce-type-parameter