@foray1010/eslint-config 12.3.0 → 12.3.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 +7 -0
- package/bases/base.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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
|
+
## [12.3.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@12.3.0...@foray1010/eslint-config@12.3.1) (2024-07-25)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **deps:** update dependency eslint-plugin-unicorn to v55 ([eb62a86](https://github.com/foray1010/common-presets/commit/eb62a867cd3a5505195f6434f6e1948ce786c9c4))
|
|
11
|
+
- **eslint-config:** does not work on project without typescript installed ([8c8968d](https://github.com/foray1010/common-presets/commit/8c8968d8c43c368111652b07109782bf4daa0166))
|
|
12
|
+
|
|
6
13
|
## [12.3.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@12.2.4...@foray1010/eslint-config@12.3.0) (2024-07-21)
|
|
7
14
|
|
|
8
15
|
### Features
|
package/bases/base.mjs
CHANGED
|
@@ -7,8 +7,6 @@ import eslintPluginRegexp from 'eslint-plugin-regexp'
|
|
|
7
7
|
import eslintPluginSimpleImportSort from 'eslint-plugin-simple-import-sort'
|
|
8
8
|
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
|
|
9
9
|
import globals from 'globals'
|
|
10
|
-
// eslint-disable-next-line import-x/no-unresolved
|
|
11
|
-
import tseslint from 'typescript-eslint'
|
|
12
10
|
|
|
13
11
|
import {
|
|
14
12
|
testFileGlobs,
|
|
@@ -23,6 +21,8 @@ async function generateTypeScriptConfig() {
|
|
|
23
21
|
// typescript plugins are depended on `typescript` package
|
|
24
22
|
if (!hasDep('typescript')) return []
|
|
25
23
|
|
|
24
|
+
// eslint-disable-next-line import-x/no-unresolved
|
|
25
|
+
const tseslint = (await import('typescript-eslint')).default
|
|
26
26
|
const eslintPluginDeprecation = (await import('eslint-plugin-deprecation'))
|
|
27
27
|
.default
|
|
28
28
|
const eslintPluginFunctional = (await import('eslint-plugin-functional'))
|
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": "12.3.
|
|
4
|
+
"version": "12.3.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": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint-plugin-regexp": "^2.6.0",
|
|
40
40
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
41
41
|
"eslint-plugin-testing-library": "^6.1.2",
|
|
42
|
-
"eslint-plugin-unicorn": "^
|
|
42
|
+
"eslint-plugin-unicorn": "^55.0.0",
|
|
43
43
|
"globals": "^15.4.0",
|
|
44
44
|
"typescript-eslint": "^7.16.1"
|
|
45
45
|
},
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "7901467ba1addb02e74bd1da0a3bece07cffd22b"
|
|
72
72
|
}
|