@moso/eslint-config 3.0.3 → 3.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 +155 -62
- package/dist/index.d.mts +3940 -571
- package/dist/index.mjs +1018 -853
- package/package.json +54 -46
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moso/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "bun run typegen && tsdown --clean --dts",
|
|
49
|
-
"build:inspector": "bun run build && bunx @eslint/config-inspector build --config eslint.config.ts --out-dir ./.eslint-config-inspector",
|
|
50
|
-
"dev": "bunx @eslint/config-inspector --config eslint.config.ts",
|
|
49
|
+
"build:inspector": "bun run build && bunx @eslint/config-inspector build --config eslint-inspector.config.ts --out-dir ./.eslint-config-inspector",
|
|
50
|
+
"dev": "bunx @eslint/config-inspector --config eslint-inspector.config.ts",
|
|
51
51
|
"lint": "eslint",
|
|
52
52
|
"prepack": "bun run build",
|
|
53
53
|
"prepare": "bun run simple-git-hooks",
|
|
@@ -62,18 +62,19 @@
|
|
|
62
62
|
"src/rules"
|
|
63
63
|
],
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
66
|
-
"@next/eslint-plugin-next": "^16.2
|
|
67
|
-
"astro-eslint-parser": "^3.
|
|
65
|
+
"@eslint-react/eslint-plugin": "^5.18.6",
|
|
66
|
+
"@next/eslint-plugin-next": "^16.3.2",
|
|
67
|
+
"astro-eslint-parser": "^3.1.0",
|
|
68
68
|
"eslint": "^10.0.0",
|
|
69
|
-
"eslint-plugin-astro": "^3.
|
|
70
|
-
"eslint-plugin-
|
|
69
|
+
"eslint-plugin-astro": "^3.1.0",
|
|
70
|
+
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
71
|
+
"eslint-plugin-erasable-syntax-only": "^0.7.1",
|
|
71
72
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
72
73
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
73
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
74
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.
|
|
75
|
-
"eslint-plugin-vue": "^10.
|
|
76
|
-
"eslint-plugin-vuejs-accessibility": "^2.
|
|
74
|
+
"eslint-plugin-react-refresh": "^0.5.4",
|
|
75
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
76
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
77
|
+
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
77
78
|
"typescript": "^6.0.0"
|
|
78
79
|
},
|
|
79
80
|
"peerDependenciesMeta": {
|
|
@@ -89,6 +90,9 @@
|
|
|
89
90
|
"eslint-plugin-astro": {
|
|
90
91
|
"optional": true
|
|
91
92
|
},
|
|
93
|
+
"eslint-plugin-better-tailwindcss": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
92
96
|
"eslint-plugin-erasable-syntax-only": {
|
|
93
97
|
"optional": true
|
|
94
98
|
},
|
|
@@ -115,70 +119,74 @@
|
|
|
115
119
|
}
|
|
116
120
|
},
|
|
117
121
|
"dependencies": {
|
|
118
|
-
"@antfu/install-pkg": "^
|
|
122
|
+
"@antfu/install-pkg": "^2.0.1",
|
|
119
123
|
"@clack/prompts": "^1.7.0",
|
|
120
|
-
"@e18e/eslint-plugin": "^0.
|
|
124
|
+
"@e18e/eslint-plugin": "^0.8.0",
|
|
121
125
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
122
126
|
"@eslint/js": "^10.0.1",
|
|
123
127
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
124
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
125
|
-
"@typescript-eslint/parser": "^8.
|
|
126
|
-
"@typescript-eslint/utils": "^8.
|
|
127
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
128
|
+
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
129
|
+
"@typescript-eslint/parser": "^8.67.0",
|
|
130
|
+
"@typescript-eslint/utils": "^8.67.0",
|
|
131
|
+
"@vitest/eslint-plugin": "^1.6.27",
|
|
128
132
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
129
133
|
"eslint-flat-config-utils": "^3.2.0",
|
|
130
134
|
"eslint-merge-processors": "^2.0.0",
|
|
135
|
+
"eslint-plugin-baseline-js": "^0.7.1",
|
|
131
136
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
132
137
|
"eslint-plugin-functional": "^10.0.0",
|
|
133
138
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
134
|
-
"eslint-plugin-jsdoc": "^
|
|
135
|
-
"eslint-plugin-jsonc": "^3.
|
|
136
|
-
"eslint-plugin-n": "^18.
|
|
139
|
+
"eslint-plugin-jsdoc": "^64.2.1",
|
|
140
|
+
"eslint-plugin-jsonc": "^3.4.2",
|
|
141
|
+
"eslint-plugin-n": "^18.3.0",
|
|
137
142
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
138
|
-
"eslint-plugin-perfectionist": "^5.10.
|
|
143
|
+
"eslint-plugin-perfectionist": "^5.10.1",
|
|
139
144
|
"eslint-plugin-promise": "^7.3.0",
|
|
140
|
-
"eslint-plugin-regexp": "^3.
|
|
141
|
-
"eslint-plugin-toml": "^1.
|
|
142
|
-
"eslint-plugin-unicorn": "^
|
|
145
|
+
"eslint-plugin-regexp": "^3.2.0",
|
|
146
|
+
"eslint-plugin-toml": "^1.5.0",
|
|
147
|
+
"eslint-plugin-unicorn": "^73.0.0",
|
|
143
148
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
144
|
-
"eslint-plugin-yml": "^3.
|
|
149
|
+
"eslint-plugin-yml": "^3.8.1",
|
|
145
150
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
146
|
-
"globals": "^17.
|
|
147
|
-
"jsonc-eslint-parser": "^3.
|
|
151
|
+
"globals": "^17.11.0",
|
|
152
|
+
"jsonc-eslint-parser": "^3.3.0",
|
|
148
153
|
"local-pkg": "^1.2.1",
|
|
149
154
|
"toml-eslint-parser": "^1.0.3",
|
|
150
155
|
"vue-eslint-parser": "^10.4.1",
|
|
151
156
|
"yaml-eslint-parser": "^2.1.0"
|
|
152
157
|
},
|
|
153
158
|
"devDependencies": {
|
|
154
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
159
|
+
"@eslint-react/eslint-plugin": "^5.18.6",
|
|
155
160
|
"@eslint/compat": "^2.1.0",
|
|
156
|
-
"@eslint/config-inspector": "^3.
|
|
157
|
-
"@moso/eslint-plugin": "3.0.
|
|
158
|
-
"@next/eslint-plugin-next": "^16.2
|
|
161
|
+
"@eslint/config-inspector": "^3.3.0",
|
|
162
|
+
"@moso/eslint-plugin": "3.0.4",
|
|
163
|
+
"@next/eslint-plugin-next": "^16.3.2",
|
|
164
|
+
"@socketsecurity/bun-security-scanner": "^1.1.2",
|
|
159
165
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
160
|
-
"@types/node": "^26.
|
|
161
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"eslint
|
|
166
|
-
"eslint-plugin-
|
|
166
|
+
"@types/node": "^26.2.0",
|
|
167
|
+
"@typescript-eslint/rule-tester": "^8.67.0",
|
|
168
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
169
|
+
"astro-eslint-parser": "^3.1.0",
|
|
170
|
+
"bumpp": "^12.2.1",
|
|
171
|
+
"eslint": "^10.9.0",
|
|
172
|
+
"eslint-plugin-astro": "^3.1.0",
|
|
173
|
+
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
174
|
+
"eslint-plugin-erasable-syntax-only": "^0.7.1",
|
|
167
175
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
168
176
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
169
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
170
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.
|
|
171
|
-
"eslint-plugin-vue": "^10.
|
|
172
|
-
"eslint-plugin-vuejs-accessibility": "^2.
|
|
177
|
+
"eslint-plugin-react-refresh": "^0.5.4",
|
|
178
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
179
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
180
|
+
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
173
181
|
"eslint-typegen": "^2.3.1",
|
|
174
182
|
"jiti": "^2.7.0",
|
|
175
183
|
"nano-staged": "^1.0.2",
|
|
176
184
|
"simple-git-hooks": "^2.13.1",
|
|
177
185
|
"ts-dedent": "^2.3.0",
|
|
178
|
-
"tsdown": "^0.22.
|
|
179
|
-
"tsx": "^4.23.
|
|
186
|
+
"tsdown": "^0.22.14",
|
|
187
|
+
"tsx": "^4.23.12",
|
|
180
188
|
"typescript": "^6.0.3",
|
|
181
|
-
"vitest": "^4.1.
|
|
189
|
+
"vitest": "^4.1.11"
|
|
182
190
|
},
|
|
183
191
|
"simple-git-hooks": {
|
|
184
192
|
"pre-commit": "bunx nano-staged"
|