@foray1010/eslint-config 15.1.0 → 15.1.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 +8 -0
- package/bases/base.mjs +1 -2
- package/bases/browser.mjs +1 -1
- package/bases/ignores.mjs +1 -1
- package/bases/node.mjs +1 -1
- package/bases/prettier.mjs +1 -1
- package/bases/react.mjs +1 -1
- package/index.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.1.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@15.1.0...@foray1010/eslint-config@15.1.1) (2025-08-03)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **deps:** update dependency eslint-plugin-react-compiler to rc2 ([c2b0651](https://github.com/foray1010/common-presets/commit/c2b06518fde68831f0c2e2606a0734c7ad28def1))
|
|
11
|
+
- **deps:** update dependency eslint-plugin-unicorn to v59 ([70a56b1](https://github.com/foray1010/common-presets/commit/70a56b192a84a4d5b5690404059d18d4ded28a37))
|
|
12
|
+
- **deps:** update dependency eslint-plugin-unicorn to v60 ([5d2c0b1](https://github.com/foray1010/common-presets/commit/5d2c0b1f03c8535cf284e9de4d60b0e9619903b2))
|
|
13
|
+
|
|
6
14
|
## [15.1.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@15.0.1...@foray1010/eslint-config@15.1.0) (2025-03-26)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/bases/base.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import js from '@eslint/js'
|
|
|
2
2
|
// eslint-disable-next-line import-x/extensions
|
|
3
3
|
import eslintPluginEslintCommentsConfigs from '@eslint-community/eslint-plugin-eslint-comments/configs'
|
|
4
4
|
import { hasDep, isESM } from '@foray1010/common-presets-utils'
|
|
5
|
-
// eslint-disable-next-line import-x/extensions
|
|
5
|
+
// eslint-disable-next-line import-x/extensions
|
|
6
6
|
import { defineConfig } from 'eslint/config'
|
|
7
7
|
import eslintPluginImportX from 'eslint-plugin-import-x'
|
|
8
8
|
import eslintPluginJest from 'eslint-plugin-jest'
|
|
@@ -21,7 +21,6 @@ async function generateTypeScriptConfig() {
|
|
|
21
21
|
// typescript plugins are depended on `typescript` package
|
|
22
22
|
if (!hasDep('typescript')) return defineConfig({})
|
|
23
23
|
|
|
24
|
-
// eslint-disable-next-line import-x/no-unresolved
|
|
25
24
|
const tseslint = (await import('typescript-eslint')).default
|
|
26
25
|
|
|
27
26
|
return defineConfig(
|
package/bases/browser.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { hasDep } from '@foray1010/common-presets-utils'
|
|
2
2
|
import restrictedGlobals from 'confusing-browser-globals'
|
|
3
|
-
// eslint-disable-next-line import-x/extensions
|
|
3
|
+
// eslint-disable-next-line import-x/extensions
|
|
4
4
|
import { defineConfig } from 'eslint/config'
|
|
5
5
|
import eslintPluginCompat from 'eslint-plugin-compat'
|
|
6
6
|
import eslintPluginTestingLibrary from 'eslint-plugin-testing-library'
|
package/bases/ignores.mjs
CHANGED
package/bases/node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isESM } from '@foray1010/common-presets-utils'
|
|
2
|
-
// eslint-disable-next-line import-x/extensions
|
|
2
|
+
// eslint-disable-next-line import-x/extensions
|
|
3
3
|
import { defineConfig } from 'eslint/config'
|
|
4
4
|
import eslintPluginN from 'eslint-plugin-n'
|
|
5
5
|
|
package/bases/prettier.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// eslint-disable-next-line import-x/extensions
|
|
1
|
+
// eslint-disable-next-line import-x/extensions
|
|
2
2
|
import { defineConfig } from 'eslint/config'
|
|
3
3
|
// eslint-disable-next-line import-x/extensions
|
|
4
4
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
package/bases/react.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// eslint-disable-next-line import-x/extensions
|
|
1
|
+
// eslint-disable-next-line import-x/extensions
|
|
2
2
|
import { defineConfig } from 'eslint/config'
|
|
3
3
|
import eslintPluginJsxA11y from 'eslint-plugin-jsx-a11y'
|
|
4
4
|
import eslintPluginReact from 'eslint-plugin-react'
|
package/index.mjs
CHANGED
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.1.
|
|
4
|
+
"version": "15.1.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": {
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"eslint-plugin-n": "^17.15.1",
|
|
35
35
|
"eslint-plugin-prettier": "^5.2.3",
|
|
36
36
|
"eslint-plugin-react": "^7.37.4",
|
|
37
|
-
"eslint-plugin-react-compiler": "
|
|
37
|
+
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
38
38
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
39
39
|
"eslint-plugin-regexp": "^2.7.0",
|
|
40
40
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
41
41
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
42
|
-
"eslint-plugin-unicorn": "^
|
|
42
|
+
"eslint-plugin-unicorn": "^60.0.0",
|
|
43
43
|
"globals": "^16.0.0",
|
|
44
44
|
"typescript-eslint": "^8.25.0"
|
|
45
45
|
},
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "d329a9b1038d4bd19d1bd01b91991f88b13bcec6"
|
|
72
72
|
}
|