@viclafouch/eslint-config-viclafouch 4.18.0 → 4.20.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 +11 -11
- package/reset.d.ts +0 -1
- package/rules/react.mjs +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viclafouch/eslint-config-viclafouch",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.0",
|
|
4
4
|
"description": "ESLint and Prettier Config from Victor de la Fouchardiere",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
"typescript": ">= 5"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "^7.26.
|
|
34
|
-
"@babel/eslint-parser": "^7.26.
|
|
35
|
-
"@next/eslint-plugin-next": "^15.1
|
|
33
|
+
"@babel/core": "^7.26.9",
|
|
34
|
+
"@babel/eslint-parser": "^7.26.8",
|
|
35
|
+
"@next/eslint-plugin-next": "^15.2.1",
|
|
36
36
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
37
37
|
"app-root-path": "^3.1.0",
|
|
38
|
-
"babel-loader": "^
|
|
39
|
-
"eslint-config-prettier": "^10.
|
|
38
|
+
"babel-loader": "^10.0.0",
|
|
39
|
+
"eslint-config-prettier": "^10.1.1",
|
|
40
40
|
"eslint-plugin-import": "^2.31.0",
|
|
41
41
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
42
42
|
"eslint-plugin-prettier": "^5.2.3",
|
|
43
43
|
"eslint-plugin-promise": "^7.2.1",
|
|
44
44
|
"eslint-plugin-react": "^7.37.4",
|
|
45
|
-
"eslint-plugin-react-hooks": "^5.
|
|
45
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
46
46
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
47
47
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
48
|
-
"get-tsconfig": "^4.
|
|
49
|
-
"globals": "^
|
|
48
|
+
"get-tsconfig": "^4.10.0",
|
|
49
|
+
"globals": "^16.0.0",
|
|
50
50
|
"prettier": ">= 3",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
52
|
-
"@eslint/js": "^9.
|
|
51
|
+
"typescript-eslint": "^8.26.0",
|
|
52
|
+
"@eslint/js": "^9.21.0",
|
|
53
53
|
"prettier-plugin-curly": "^0.3.1",
|
|
54
54
|
"eslint": ">= 9",
|
|
55
55
|
"typescript": ">= 5"
|
package/reset.d.ts
CHANGED
package/rules/react.mjs
CHANGED
|
@@ -408,6 +408,10 @@ export default [
|
|
|
408
408
|
{
|
|
409
409
|
// Enable eslint-plugin-testing-library rules or preset only for matching files!
|
|
410
410
|
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
411
|
-
...testingLibrary.configs['flat/react']
|
|
411
|
+
...testingLibrary.configs['flat/react'],
|
|
412
|
+
rules: {
|
|
413
|
+
...testingLibrary.configs['flat/react'].rules,
|
|
414
|
+
'testing-library/render-result-naming-convention': 0
|
|
415
|
+
}
|
|
412
416
|
}
|
|
413
417
|
]
|