eslint-config-matsuri 3.2.1 → 3.4.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/index.js +12 -0
  2. package/package.json +12 -12
package/index.js CHANGED
@@ -27,8 +27,12 @@ const config = [
27
27
  "**/node_modules",
28
28
  "**/public",
29
29
  // Webpack
30
+ "webpack.config.cjs",
31
+ "webpack.config.js",
30
32
  "**/build",
31
33
  // Vite
34
+ "vite.config.ts",
35
+ "vitest.config.ts",
32
36
  "**/dist",
33
37
  // Next.js
34
38
  "**/.next",
@@ -142,6 +146,14 @@ const config = [
142
146
  message: "Use React.FC instead.",
143
147
  fixWith: "React.FC",
144
148
  },
149
+ "React.FC": {
150
+ message:
151
+ "It is recommended to specify the type in props and specify JSX.Element in the return value.",
152
+ },
153
+ FC: {
154
+ message:
155
+ "It is recommended to specify the type in props and specify JSX.Element in the return value.",
156
+ },
145
157
  },
146
158
  },
147
159
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-matsuri",
3
- "version": "3.2.1",
3
+ "version": "3.4.0",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "index.js",
@@ -21,22 +21,22 @@
21
21
  "eslint": "^8.43.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@emotion/react": "11.11.1",
25
- "@types/react": "18.2.18",
26
- "eslint": "8.46.0",
24
+ "@emotion/react": "11.11.3",
25
+ "@types/react": "18.2.55",
26
+ "eslint": "8.56.0",
27
27
  "react": "18.2.0",
28
- "typescript": "5.1.6"
28
+ "typescript": "5.3.3"
29
29
  },
30
30
  "dependencies": {
31
- "@eslint/js": "8.53.0",
32
- "@typescript-eslint/eslint-plugin": "6.2.1",
33
- "@typescript-eslint/parser": "6.2.1",
34
- "eslint-config-prettier": "8.8.0",
31
+ "@eslint/js": "8.56.0",
32
+ "@typescript-eslint/eslint-plugin": "7.0.1",
33
+ "@typescript-eslint/parser": "7.0.1",
34
+ "eslint-config-prettier": "8.10.0",
35
35
  "eslint-plugin-css-reorder": "0.5.1",
36
- "eslint-plugin-jsx-a11y": "6.7.1",
37
- "eslint-plugin-react": "7.33.1",
36
+ "eslint-plugin-jsx-a11y": "6.8.0",
37
+ "eslint-plugin-react": "7.33.2",
38
38
  "eslint-plugin-react-hooks": "4.6.0",
39
- "eslint-plugin-react-refresh": "0.4.4",
39
+ "eslint-plugin-react-refresh": "0.4.5",
40
40
  "eslint-plugin-sort-imports-es6-autofix": "0.6.0",
41
41
  "eslint-plugin-storybook": "0.6.15",
42
42
  "eslint-plugin-unused-imports": "2.0.0",