@indigo-reemploi/eslint-config-client 0.0.3 → 0.0.6
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 +7 -9
- package/src/eslint.mjs +3 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigo-reemploi/eslint-config-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Shared eslint config for Client",
|
|
5
5
|
"main": "./src/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -11,24 +11,22 @@
|
|
|
11
11
|
"packageManager": "yarn@1.22.22",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@eslint/compat": "^1.1.1",
|
|
14
|
-
"@eslint/js": "^9.
|
|
14
|
+
"@eslint/js": "^9.9.1",
|
|
15
15
|
"@types/eslint__js": "^8.42.3",
|
|
16
|
-
"@typescript-eslint/parser": "^8.0
|
|
17
|
-
"eslint": "^9.
|
|
16
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
17
|
+
"eslint": "^9.9.1",
|
|
18
18
|
"eslint-config-prettier": "^9.1.0",
|
|
19
|
-
"eslint-plugin-astro": "^1.2.2",
|
|
20
19
|
"eslint-plugin-import": "^2.29.1",
|
|
21
|
-
"eslint-plugin-jest": "^28.
|
|
20
|
+
"eslint-plugin-jest": "^28.8.2",
|
|
22
21
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
23
|
-
"eslint-plugin-oxlint": "^0.4.0",
|
|
24
22
|
"eslint-plugin-prettier": "^5.2.1",
|
|
25
23
|
"eslint-plugin-react": "^7.35.0",
|
|
26
24
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
27
25
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
28
|
-
"eslint-plugin-unused-imports": "^4.
|
|
26
|
+
"eslint-plugin-unused-imports": "^4.1.3",
|
|
29
27
|
"prettier": "^3.3.3",
|
|
30
28
|
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
31
|
-
"typescript-eslint": "^
|
|
29
|
+
"typescript-eslint": "^8.3.0"
|
|
32
30
|
},
|
|
33
31
|
"peerDependencies": {
|
|
34
32
|
"jest": "^29.7.0",
|
package/src/eslint.mjs
CHANGED
|
@@ -54,9 +54,9 @@ export default tseslint.config(
|
|
|
54
54
|
},
|
|
55
55
|
rules: {
|
|
56
56
|
"no-unused-vars": "off",
|
|
57
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
58
57
|
"unused-imports/no-unused-imports": "error",
|
|
59
|
-
"unused-imports/no-unused-vars":
|
|
58
|
+
"unused-imports/no-unused-vars": "off",
|
|
59
|
+
"@typescript-eslint/no-unused-vars": [
|
|
60
60
|
"warn",
|
|
61
61
|
{
|
|
62
62
|
vars: "all",
|
|
@@ -78,23 +78,13 @@ export default tseslint.config(
|
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
80
|
importRules,
|
|
81
|
-
// {
|
|
82
|
-
// plugins: {
|
|
83
|
-
// 'react-hooks': fixupPluginRules(reactHooks),
|
|
84
|
-
// },
|
|
85
|
-
// rules: {
|
|
86
|
-
// // ...
|
|
87
|
-
// ...reactHooks.configs.recommended.rules,
|
|
88
|
-
// // maybe to change but something from our old config disabled it
|
|
89
|
-
// 'react-hooks/exhaustive-deps': 'off'
|
|
90
|
-
// },
|
|
91
|
-
// },
|
|
92
81
|
{
|
|
93
82
|
rules: {
|
|
94
83
|
// our custom rules
|
|
95
84
|
"jest/expect-expect": "off",
|
|
96
85
|
"tailwindcss/no-custom-classname": "off",
|
|
97
86
|
"react/prop-types": "off",
|
|
87
|
+
"@typescript-eslint/no-empty-object-type": "off"
|
|
98
88
|
},
|
|
99
89
|
},
|
|
100
90
|
eslintPluginPrettierRecommended,
|