@viclafouch/eslint-config-viclafouch 4.9.0 → 4.10.1-beta.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 +9 -9
- package/rules/typescript.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viclafouch/eslint-config-viclafouch",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1-beta.0",
|
|
4
4
|
"description": "ESLint and Prettier Config from Victor de la Fouchardiere",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"typescript": "^5.4.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@babel/core": "^7.24.
|
|
32
|
+
"@babel/core": "^7.24.4",
|
|
33
33
|
"@babel/eslint-parser": "^7.24.1",
|
|
34
|
-
"@next/eslint-plugin-next": "^14.1
|
|
35
|
-
"@rushstack/eslint-patch": "^1.
|
|
34
|
+
"@next/eslint-plugin-next": "^14.2.1",
|
|
35
|
+
"@rushstack/eslint-patch": "^1.10.2",
|
|
36
36
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
37
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
38
|
-
"@typescript-eslint/parser": "^7.
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
38
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
39
39
|
"app-root-path": "^3.1.0",
|
|
40
40
|
"babel-loader": "^9.1.3",
|
|
41
41
|
"eslint": "^8.57.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"eslint-plugin-promise": "^6.1.1",
|
|
47
47
|
"eslint-plugin-react": "^7.34.1",
|
|
48
48
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
49
|
-
"eslint-plugin-simple-import-sort": "^12.
|
|
50
|
-
"eslint-plugin-testing-library": "^6.2.
|
|
49
|
+
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
50
|
+
"eslint-plugin-testing-library": "^6.2.1",
|
|
51
51
|
"get-tsconfig": "^4.7.3",
|
|
52
52
|
"prettier": "^3.2.5",
|
|
53
|
-
"typescript": "^5.4.
|
|
53
|
+
"typescript": "^5.4.5"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"lint": "eslint .",
|
package/rules/typescript.js
CHANGED
|
@@ -128,7 +128,7 @@ module.exports = {
|
|
|
128
128
|
|
|
129
129
|
// Don't do array.filter(callback)[0], use arrat.find instead
|
|
130
130
|
// https://typescript-eslint.io/rules/prefer-find
|
|
131
|
-
'@typescript-eslint/prefer-find': 'error',
|
|
131
|
+
// '@typescript-eslint/prefer-find': 'error',
|
|
132
132
|
|
|
133
133
|
// Prefer to use String.startsWith and String.endsWith
|
|
134
134
|
// https://typescript-eslint.io/rules/prefer-string-starts-ends-with
|