eslint-config-moneyforward 5.0.1 → 5.1.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/README.md +3 -3
- package/configs/flat/storybook.mjs +4 -1
- package/package.json +21 -17
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# eslint-config-moneyforward
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/eslint-config-moneyforward?activeTab=versions)
|
|
4
|
-
[](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/LICENSE)
|
|
5
5
|
|
|
6
6
|
This package provides moneyforward's `.eslintrc` as an extensible shared config.
|
|
7
7
|
|
|
@@ -180,8 +180,8 @@ npm uninstall eslint-plugin-promise eslint-plugin-import eslint-plugin-unicorn \
|
|
|
180
180
|
|
|
181
181
|
## Troubleshooting
|
|
182
182
|
|
|
183
|
-
- [ESLint Configuration Issue with Non-Standard TSConfig Filenames in Flat Config](https://github.com/moneyforward/
|
|
183
|
+
- [ESLint Configuration Issue with Non-Standard TSConfig Filenames in Flat Config](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/docs/troubleshooting/eslint-configuration-issue-with-non-standard-tsconfig-filenames-in-flat-config.md)
|
|
184
184
|
|
|
185
185
|
## License
|
|
186
186
|
|
|
187
|
-
Open source [licensed as MIT](https://github.com/moneyforward/
|
|
187
|
+
Open source [licensed as MIT](https://github.com/moneyforward/frontend-tools/blob/main/packages/eslint-config/LICENSE).
|
|
@@ -15,7 +15,10 @@ export default [
|
|
|
15
15
|
...storybook.configs['flat/csf-strict'],
|
|
16
16
|
|
|
17
17
|
{
|
|
18
|
-
files: [
|
|
18
|
+
files: [
|
|
19
|
+
'**/*.@(stories|story).@(ts|tsx|js|jsx|mjs|cjs)',
|
|
20
|
+
'**/.storybook/**/*.@(ts|tsx|js|jsx)',
|
|
21
|
+
],
|
|
19
22
|
rules: {
|
|
20
23
|
'import/no-default-export': ['off'],
|
|
21
24
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-moneyforward",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Money Forward's ESLint rules as an extensible shared config.",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./flat": {
|
|
@@ -23,25 +23,34 @@
|
|
|
23
23
|
"rules"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"lint": "eslint
|
|
27
|
-
"lint:fix": "eslint --fix && prettier --write .",
|
|
26
|
+
"lint": "eslint './**/*.@(js|ts|tsx)'",
|
|
28
27
|
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
|
|
29
28
|
"release": "semantic-release"
|
|
30
29
|
},
|
|
31
30
|
"repository": {
|
|
32
31
|
"type": "git",
|
|
33
|
-
"url": "
|
|
32
|
+
"url": "https://github.com/moneyforward/frontend-tools.git",
|
|
33
|
+
"directory": "packages/eslint-config"
|
|
34
34
|
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"eslint",
|
|
37
|
+
"eslint-config",
|
|
38
|
+
"flat-config",
|
|
39
|
+
"flatconfig",
|
|
40
|
+
"flatConfig",
|
|
41
|
+
"lint",
|
|
42
|
+
"typescript"
|
|
43
|
+
],
|
|
35
44
|
"author": "Money Forward Engineers",
|
|
36
45
|
"license": "MIT",
|
|
37
46
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/moneyforward/
|
|
47
|
+
"url": "https://github.com/moneyforward/frontend-tools/issues"
|
|
39
48
|
},
|
|
40
|
-
"homepage": "https://github.com/moneyforward/eslint-config
|
|
49
|
+
"homepage": "https://github.com/moneyforward/frontend-tools/tree/main/packages/eslint-config#readme",
|
|
41
50
|
"dependencies": {
|
|
42
51
|
"@next/eslint-plugin-next": "^15.0.3",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
53
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
45
54
|
"confusing-browser-globals": "^1.0.11",
|
|
46
55
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
47
56
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -57,19 +66,14 @@
|
|
|
57
66
|
"eslint-plugin-testing-library": "^7.0.0",
|
|
58
67
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
59
68
|
"globals": "^15.11.0",
|
|
60
|
-
"typescript-eslint": "^8.
|
|
69
|
+
"typescript-eslint": "^8.24.0"
|
|
61
70
|
},
|
|
62
71
|
"devDependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@semantic-release/git": "10.0.1",
|
|
65
|
-
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
72
|
+
"@frontend-tools/release-config": "workspace:*",
|
|
66
73
|
"eslint": "9.16.0",
|
|
67
|
-
"eslint-config-prettier": "9.1.0",
|
|
68
74
|
"jest": "29.7.0",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"semantic-release": "24.2.0",
|
|
72
|
-
"typescript": "5.7.2"
|
|
75
|
+
"semantic-release": "24.2.1",
|
|
76
|
+
"typescript": "5.7.3"
|
|
73
77
|
},
|
|
74
78
|
"peerDependencies": {
|
|
75
79
|
"eslint": "^8.57.0 || ^9.0.0",
|