eslint-config-matsuri 4.2.1 → 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.
- package/configs/react.js +0 -7
- package/package.json +4 -5
package/configs/react.js
CHANGED
|
@@ -3,7 +3,6 @@ import pluginCssReorder from "eslint-plugin-css-reorder";
|
|
|
3
3
|
import pluginJsxA11y from "eslint-plugin-jsx-a11y";
|
|
4
4
|
import pluginReact from "eslint-plugin-react";
|
|
5
5
|
import pluginReactHooks from "eslint-plugin-react-hooks";
|
|
6
|
-
import pluginReactRefresh from "eslint-plugin-react-refresh";
|
|
7
6
|
|
|
8
7
|
/** @type {import("eslint").Linter.FlatConfig } */
|
|
9
8
|
export const reactConfig = {
|
|
@@ -25,7 +24,6 @@ export const reactConfig = {
|
|
|
25
24
|
"jsx-a11y": pluginJsxA11y,
|
|
26
25
|
react: pluginReact,
|
|
27
26
|
"react-hooks": pluginReactHooks,
|
|
28
|
-
"react-refresh": pluginReactRefresh,
|
|
29
27
|
"css-reorder": pluginCssReorder,
|
|
30
28
|
},
|
|
31
29
|
rules: {
|
|
@@ -62,10 +60,5 @@ export const reactConfig = {
|
|
|
62
60
|
depth: 7,
|
|
63
61
|
},
|
|
64
62
|
],
|
|
65
|
-
|
|
66
|
-
"react-refresh/only-export-components": [
|
|
67
|
-
"warn",
|
|
68
|
-
{ allowConstantExport: true },
|
|
69
|
-
],
|
|
70
63
|
},
|
|
71
64
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-matsuri",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "index.js",
|
|
@@ -25,16 +25,15 @@
|
|
|
25
25
|
"eslint": "^8.43.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@eslint/js": "
|
|
28
|
+
"@eslint/js": "9.1.1",
|
|
29
29
|
"eslint-config-prettier": "9.1.0",
|
|
30
30
|
"eslint-plugin-css-reorder": "0.5.1",
|
|
31
31
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
32
32
|
"eslint-plugin-react": "7.34.1",
|
|
33
33
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
34
|
-
"eslint-plugin-react-refresh": "0.4.6",
|
|
35
34
|
"eslint-plugin-sort-imports-es6-autofix": "0.6.0",
|
|
36
35
|
"eslint-plugin-unused-imports": "3.1.0",
|
|
37
|
-
"globals": "
|
|
38
|
-
"typescript-eslint": "7.
|
|
36
|
+
"globals": "15.0.0",
|
|
37
|
+
"typescript-eslint": "7.7.0"
|
|
39
38
|
}
|
|
40
39
|
}
|