@foray1010/eslint-config 15.0.0 → 15.0.1
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/CHANGELOG.md +6 -0
- package/bases/base.mjs +10 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [15.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@15.0.0...@foray1010/eslint-config@15.0.1) (2025-03-13)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **eslint-config:** fix types ([28e3bfa](https://github.com/foray1010/common-presets/commit/28e3bfabce71cd1d80b0186f1ac7f3158a049d33))
|
|
11
|
+
|
|
6
12
|
## [15.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@14.0.1...@foray1010/eslint-config@15.0.0) (2025-03-13)
|
|
7
13
|
|
|
8
14
|
### ⚠ BREAKING CHANGES
|
package/bases/base.mjs
CHANGED
|
@@ -28,7 +28,9 @@ async function generateTypeScriptConfig() {
|
|
|
28
28
|
{
|
|
29
29
|
files: typeScriptFileGlobs,
|
|
30
30
|
extends: [
|
|
31
|
+
// @ts-expect-error tseslint interface does not align with eslint
|
|
31
32
|
tseslint.configs.eslintRecommended,
|
|
33
|
+
// @ts-expect-error tseslint interface does not align with eslint
|
|
32
34
|
tseslint.configs.recommendedTypeChecked,
|
|
33
35
|
eslintPluginImportX.configs['typescript'],
|
|
34
36
|
esmConfig,
|
|
@@ -174,7 +176,10 @@ const esmConfig = defineConfig({
|
|
|
174
176
|
const baseConfig = defineConfig(
|
|
175
177
|
js.configs.recommended,
|
|
176
178
|
{
|
|
177
|
-
extends: [
|
|
179
|
+
extends: [
|
|
180
|
+
// @ts-expect-error no official types
|
|
181
|
+
eslintPluginEslintCommentsConfigs['recommended'],
|
|
182
|
+
],
|
|
178
183
|
rules: {
|
|
179
184
|
// allow disable eslint rules for whole file without re-enable it in the end of the file
|
|
180
185
|
'@eslint-community/eslint-comments/disable-enable-pair': [
|
|
@@ -186,7 +191,10 @@ const baseConfig = defineConfig(
|
|
|
186
191
|
},
|
|
187
192
|
},
|
|
188
193
|
{
|
|
189
|
-
extends: [
|
|
194
|
+
extends: [
|
|
195
|
+
// @ts-expect-error eslint-plugin-import-x interface does not align with eslint
|
|
196
|
+
eslintPluginImportX.flatConfigs.recommended,
|
|
197
|
+
],
|
|
190
198
|
rules: {
|
|
191
199
|
// this rule doesn't support commonjs, some dependencies are using commonjs
|
|
192
200
|
'import-x/default': 'off',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@foray1010/eslint-config",
|
|
4
|
-
"version": "15.0.
|
|
4
|
+
"version": "15.0.1",
|
|
5
5
|
"homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/foray1010/common-presets/issues",
|
|
7
7
|
"repository": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "df7fe29d7a74d9a61415c61074e5663db3e56044"
|
|
69
69
|
}
|