@1stg/eslint-config 9.0.5 → 9.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/CHANGELOG.md +16 -0
- package/base.js +1 -0
- package/package.json +21 -17
- package/react.js +2 -1
- package/ts-base.js +1 -1
- package/vue.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#370](https://github.com/1stG/configs/pull/370) [`85d8686`](https://github.com/1stG/configs/commit/85d86864da883b8ea445e238d3c2ecb0c164a31d) Thanks [@JounQin](https://github.com/JounQin)! - feat: add `eslint-plugin-react-refresh` support
|
|
8
|
+
|
|
9
|
+
- [#367](https://github.com/1stG/configs/pull/367) [`94685f7`](https://github.com/1stG/configs/commit/94685f7c7b276238d6fa176c838222ca6eafd01c) Thanks [@JounQin](https://github.com/JounQin)! - chore(eslint): bump `eslint-plugin-unicorn` to v59.0.1
|
|
10
|
+
|
|
11
|
+
- [#369](https://github.com/1stG/configs/pull/369) [`5e8ada3`](https://github.com/1stG/configs/commit/5e8ada3c85dd8e8697f1215484798ece33f01804) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate `project` to `projectService` for TypeScript
|
|
12
|
+
|
|
13
|
+
## 9.0.6
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#358](https://github.com/1stG/configs/pull/358) [`a8d3b2d`](https://github.com/1stG/configs/commit/a8d3b2d84132ab13ab29785f9f13d262f9c94958) Thanks [@JounQin](https://github.com/JounQin)! - fix: `.pnp.*` files should be ignored by default
|
|
18
|
+
|
|
3
19
|
## 9.0.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/base.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
|
|
6
6
|
"repository": "git+https://github.com/1stG/configs.git",
|
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
"@babel/eslint-plugin": "^7.0.0",
|
|
26
26
|
"@eslint-react/eslint-plugin": "^1.0.0",
|
|
27
27
|
"@vitest/eslint-plugin": "^1.0.0",
|
|
28
|
-
"angular-eslint": "^19.0.0",
|
|
28
|
+
"angular-eslint": "^18.0.0 || ^19.0.0",
|
|
29
29
|
"angular-eslint-template-parser": "^0.1.0",
|
|
30
30
|
"eslint": ">=8.0.0",
|
|
31
31
|
"eslint-plugin-jest": "^28.0.0",
|
|
32
32
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
33
|
+
"eslint-plugin-react-refresh": "^0.4.0",
|
|
33
34
|
"eslint-plugin-vue": "^10.0.0"
|
|
34
35
|
},
|
|
35
36
|
"peerDependenciesMeta": {
|
|
@@ -57,6 +58,9 @@
|
|
|
57
58
|
"eslint-plugin-react-hooks": {
|
|
58
59
|
"optional": true
|
|
59
60
|
},
|
|
61
|
+
"eslint-plugin-react-refresh": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
60
64
|
"eslint-plugin-vue": {
|
|
61
65
|
"optional": true
|
|
62
66
|
}
|
|
@@ -64,29 +68,29 @@
|
|
|
64
68
|
"dependencies": {
|
|
65
69
|
"@1stg/config": "^1.0.5",
|
|
66
70
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
67
|
-
"@eslint/js": "^9.
|
|
71
|
+
"@eslint/js": "^9.27.0",
|
|
68
72
|
"@pkgr/utils": "^3.1.2",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
70
|
-
"@typescript-eslint/parser": "^8.
|
|
71
|
-
"eslint-config-prettier": "^10.1.
|
|
72
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
74
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
75
|
+
"eslint-config-prettier": "^10.1.5",
|
|
76
|
+
"eslint-import-resolver-typescript": "^4.3.5",
|
|
73
77
|
"eslint-plugin-css": "^0.11.0",
|
|
74
|
-
"eslint-plugin-import-x": "^4.
|
|
75
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
76
|
-
"eslint-plugin-jsonc": "^2.20.
|
|
78
|
+
"eslint-plugin-import-x": "^4.12.2",
|
|
79
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
80
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
77
81
|
"eslint-plugin-markup": "^1.0.1",
|
|
78
|
-
"eslint-plugin-mdx": "^3.4.
|
|
79
|
-
"eslint-plugin-n": "^17.
|
|
80
|
-
"eslint-plugin-prettier": "^5.
|
|
82
|
+
"eslint-plugin-mdx": "^3.4.2",
|
|
83
|
+
"eslint-plugin-n": "^17.18.0",
|
|
84
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
81
85
|
"eslint-plugin-promise": "^7.2.1",
|
|
82
86
|
"eslint-plugin-regexp": "^2.7.0",
|
|
83
87
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
84
88
|
"eslint-plugin-sonarjs": "^3.0.2",
|
|
85
89
|
"eslint-plugin-toml": "^0.12.0",
|
|
86
|
-
"eslint-plugin-unicorn": "^
|
|
87
|
-
"eslint-plugin-yml": "^1.
|
|
88
|
-
"globals": "^16.
|
|
89
|
-
"typescript-eslint": "^8.
|
|
90
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
91
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
92
|
+
"globals": "^16.1.0",
|
|
93
|
+
"typescript-eslint": "^8.32.1"
|
|
90
94
|
},
|
|
91
95
|
"publishConfig": {
|
|
92
96
|
"access": "public"
|
package/react.js
CHANGED
|
@@ -17,12 +17,13 @@ export const reactJsx = tseslint.config({
|
|
|
17
17
|
})
|
|
18
18
|
|
|
19
19
|
const reactHooks_ = tryRequirePkg('eslint-plugin-react-hooks')
|
|
20
|
+
const reactRefresh = tryRequirePkg('eslint-plugin-react-refresh')
|
|
20
21
|
|
|
21
22
|
export const react = tseslint.config(
|
|
22
23
|
{
|
|
23
24
|
name: '@1stg/react',
|
|
24
25
|
files: ['**/*.{js,jsx,tsx}'],
|
|
25
|
-
extends: [reactJsx],
|
|
26
|
+
extends: [reactRefresh?.configs.recommended, reactJsx].filter(Boolean),
|
|
26
27
|
rules: {
|
|
27
28
|
'@eslint-react/avoid-shorthand-boolean': 2,
|
|
28
29
|
// '@eslint-react/naming-convention/handler-prop': [
|
package/ts-base.js
CHANGED