@viclafouch/eslint-config-viclafouch 4.1.2 → 4.3.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.
Files changed (2) hide show
  1. package/package.json +14 -14
  2. package/rules/typescript.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viclafouch/eslint-config-viclafouch",
3
- "version": "4.1.2",
3
+ "version": "4.3.0",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -29,28 +29,28 @@
29
29
  "typescript": "^5.1.6"
30
30
  },
31
31
  "dependencies": {
32
- "@babel/core": "^7.22.10",
33
- "@babel/eslint-parser": "^7.22.10",
34
- "@next/eslint-plugin-next": "^13.4.13",
32
+ "@babel/core": "^7.22.15",
33
+ "@babel/eslint-parser": "^7.22.15",
34
+ "@next/eslint-plugin-next": "^13.4.19",
35
35
  "@rushstack/eslint-patch": "^1.3.3",
36
- "@total-typescript/ts-reset": "^0.4.2",
37
- "@typescript-eslint/eslint-plugin": "^6.3.0",
38
- "@typescript-eslint/parser": "^6.3.0",
36
+ "@total-typescript/ts-reset": "^0.5.1",
37
+ "@typescript-eslint/eslint-plugin": "^6.6.0",
38
+ "@typescript-eslint/parser": "^6.6.0",
39
39
  "app-root-path": "^3.1.0",
40
40
  "babel-loader": "^9.1.3",
41
- "eslint": "^8.46.0",
41
+ "eslint": "^8.48.0",
42
42
  "eslint-config-prettier": "^9.0.0",
43
- "eslint-plugin-import": "^2.28.0",
43
+ "eslint-plugin-import": "^2.28.1",
44
44
  "eslint-plugin-jsx-a11y": "^6.7.1",
45
45
  "eslint-plugin-prettier": "^5.0.0",
46
46
  "eslint-plugin-promise": "^6.1.1",
47
- "eslint-plugin-react": "^7.33.1",
47
+ "eslint-plugin-react": "^7.33.2",
48
48
  "eslint-plugin-react-hooks": "^4.6.0",
49
49
  "eslint-plugin-simple-import-sort": "^10.0.0",
50
- "eslint-plugin-testing-library": "^5.11.1",
51
- "get-tsconfig": "^4.6.2",
52
- "prettier": "^3.0.1",
53
- "typescript": "^5.1.6"
50
+ "eslint-plugin-testing-library": "^6.0.1",
51
+ "get-tsconfig": "^4.7.0",
52
+ "prettier": "^3.0.3",
53
+ "typescript": "^5.2.2"
54
54
  },
55
55
  "scripts": {
56
56
  "lint": "eslint .",
@@ -112,7 +112,11 @@ module.exports = {
112
112
  selector: 'typeLike',
113
113
  format: ['PascalCase']
114
114
  }
115
- ]
115
+ ],
116
+
117
+ // Require consistently using T[] instead of Array<T>
118
+ // https://typescript-eslint.io/rules/array-type
119
+ '@typescript-eslint/array-type': 'error'
116
120
 
117
121
  // '@typescript-eslint/ban-types': [
118
122
  // 'error',