@lincy/eslint-config 7.1.2 → 8.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "7.1.2",
4
+ "version": "8.0.0",
5
5
  "description": "LinCenYing's ESLint config",
6
6
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
7
7
  "license": "MIT",
@@ -23,14 +23,15 @@
23
23
  "dist"
24
24
  ],
25
25
  "peerDependencies": {
26
- "@eslint-react/eslint-plugin": "^3.0.0",
26
+ "@eslint-react/eslint-plugin": "^5.6.0",
27
27
  "@next/eslint-plugin-next": ">=15.0.0",
28
28
  "@prettier/plugin-xml": "^3.4.1",
29
29
  "@unocss/eslint-plugin": ">=0.50.0",
30
30
  "eslint": "^9.10.0 || ^10.0.0",
31
31
  "eslint-plugin-format": ">=0.1.0",
32
- "eslint-plugin-react-hooks": "^7.0.0",
33
- "eslint-plugin-react-refresh": "^0.4.19"
32
+ "eslint-plugin-react-refresh": "^0.5.0",
33
+ "eslint-plugin-slop": ">=0.1.1",
34
+ "eslint-plugin-sonarjs": ">=4.0.0"
34
35
  },
35
36
  "peerDependenciesMeta": {
36
37
  "@eslint-react/eslint-plugin": {
@@ -48,79 +49,82 @@
48
49
  "eslint-plugin-format": {
49
50
  "optional": true
50
51
  },
51
- "eslint-plugin-react-hooks": {
52
+ "eslint-plugin-react-refresh": {
52
53
  "optional": true
53
54
  },
54
- "eslint-plugin-react-refresh": {
55
+ "eslint-plugin-slop": {
56
+ "optional": true
57
+ },
58
+ "eslint-plugin-sonarjs": {
55
59
  "optional": true
56
60
  }
57
61
  },
58
62
  "dependencies": {
59
- "@antfu/install-pkg": "^1.1.0",
60
- "@clack/prompts": "^1.3.0",
61
- "@e18e/eslint-plugin": "^0.3.0",
62
- "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
63
- "@eslint/markdown": "^8.0.1",
63
+ "@antfu/install-pkg": "^2.0.1",
64
+ "@clack/prompts": "^1.7.0",
65
+ "@e18e/eslint-plugin": "^0.8.0",
66
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
67
+ "@eslint/markdown": "^8.0.3",
64
68
  "@stylistic/eslint-plugin": "^5.10.0",
65
- "@typescript-eslint/eslint-plugin": "^8.59.2",
66
- "@typescript-eslint/parser": "^8.59.2",
67
- "@vitest/eslint-plugin": "^1.6.16",
68
- "eslint-config-flat-gitignore": "^2.3.0",
69
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
70
+ "@typescript-eslint/parser": "^8.69.0",
71
+ "@vitest/eslint-plugin": "^1.6.27",
72
+ "eslint-config-flat-gitignore": "^2.4.0",
69
73
  "eslint-flat-config-utils": "^3.2.0",
70
74
  "eslint-merge-processors": "^2.0.0",
71
75
  "eslint-parser-plain": "^0.1.1",
72
- "eslint-plugin-antfu": "^3.2.2",
73
- "eslint-plugin-erasable-syntax-only": "^0.4.1",
76
+ "eslint-plugin-antfu": "^3.2.3",
77
+ "eslint-plugin-erasable-syntax-only": "^0.7.1",
74
78
  "eslint-plugin-import-lite": "^0.6.0",
75
- "eslint-plugin-jsdoc": "^62.9.0",
76
- "eslint-plugin-jsonc": "^3.1.2",
77
- "eslint-plugin-n": "^17.24.0",
79
+ "eslint-plugin-jsdoc": "^64.3.4",
80
+ "eslint-plugin-jsonc": "^3.4.2",
81
+ "eslint-plugin-n": "^18.3.0",
78
82
  "eslint-plugin-no-only-tests": "^3.4.0",
79
- "eslint-plugin-perfectionist": "^5.9.0",
80
- "eslint-plugin-pnpm": "^1.6.0",
81
- "eslint-plugin-regexp": "^3.1.0",
82
- "eslint-plugin-toml": "^1.3.1",
83
- "eslint-plugin-unicorn": "^64.0.0",
83
+ "eslint-plugin-perfectionist": "^5.11.0",
84
+ "eslint-plugin-pnpm": "^1.9.1",
85
+ "eslint-plugin-regexp": "^3.2.0",
86
+ "eslint-plugin-slop": "^0.1.2",
87
+ "eslint-plugin-sonarjs": "^4.2.0",
88
+ "eslint-plugin-toml": "^1.5.0",
89
+ "eslint-plugin-unicorn": "^74.0.0",
84
90
  "eslint-plugin-unused-imports": "^4.4.1",
85
- "eslint-plugin-vue": "^10.9.1",
86
- "eslint-plugin-yml": "^3.3.2",
91
+ "eslint-plugin-vue": "^10.10.0",
92
+ "eslint-plugin-yml": "^3.8.1",
87
93
  "eslint-processor-vue-blocks": "^2.0.0",
88
- "globals": "^17.6.0",
89
- "jsonc-eslint-parser": "^3.1.0",
90
- "local-pkg": "^1.1.2",
94
+ "globals": "^17.12.0",
95
+ "jsonc-eslint-parser": "^3.3.0",
96
+ "local-pkg": "^1.2.1",
91
97
  "toml-eslint-parser": "^1.0.3",
92
- "vue-eslint-parser": "^10.4.0",
93
- "yaml-eslint-parser": "^2.0.0"
98
+ "vue-eslint-parser": "^10.4.1",
99
+ "yaml-eslint-parser": "^2.1.0"
94
100
  },
95
101
  "devDependencies": {
96
- "@antfu/ni": "^30.1.0",
97
- "@eslint-react/eslint-plugin": "^3.0.0",
98
- "@eslint/config-inspector": "^2.0.1",
99
- "@next/eslint-plugin-next": "^16.2.5",
102
+ "@antfu/ni": "^30.5.0",
103
+ "@eslint-react/eslint-plugin": "^5.18.7",
104
+ "@eslint/config-inspector": "^3.4.0",
105
+ "@lincy/eslint-config": "8.0.0",
106
+ "@next/eslint-plugin-next": "^16.3.4",
100
107
  "@prettier/plugin-xml": "^3.4.2",
101
108
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
102
- "@types/node": "^25.6.0",
103
- "@types/react": "^19.2.14",
104
- "@unocss/eslint-plugin": "^66.6.8",
105
- "bumpp": "^11.1.0",
106
- "eslint": "^10.3.0",
109
+ "@types/node": "^26.4.1",
110
+ "@types/react": "^19.2.18",
111
+ "@unocss/eslint-plugin": "^66.9.2",
112
+ "bumpp": "^12.2.2",
113
+ "eslint": "^10.9.1",
107
114
  "eslint-plugin-format": "^2.0.1",
108
- "eslint-plugin-react-hooks": "^7.1.1",
109
- "eslint-plugin-react-refresh": "^0.5.2",
115
+ "eslint-plugin-react-refresh": "^0.5.5",
110
116
  "eslint-typegen": "^2.3.1",
111
117
  "esno": "^4.8.0",
112
- "execa": "^9.6.1",
118
+ "execa": "^10.0.1",
113
119
  "find-up-simple": "^1.0.1",
114
- "lint-staged": "^17.0.2",
115
- "prettier": "^3.8.3",
116
- "react": "^19.2.6",
120
+ "prettier": "^3.9.6",
121
+ "react": "^19.2.8",
117
122
  "simple-open-url": "^3.0.1",
118
- "tinyglobby": "^0.2.16",
119
- "tsdown": "^0.21.10",
123
+ "tinyglobby": "^0.2.17",
124
+ "tsdown": "^0.22.14",
120
125
  "typescript": "^6.0.3",
121
- "vitest": "^4.1.5",
122
- "vue": "^3.5.34",
123
- "@lincy/eslint-config": "7.1.2"
126
+ "vitest": "^4.1.11",
127
+ "vue": "^3.5.42"
124
128
  },
125
129
  "resolutions": {
126
130
  "@eslint-community/eslint-utils": "catalog:peer",
@@ -128,12 +132,6 @@
128
132
  "eslint": "catalog:peer",
129
133
  "tsx": "catalog:peer"
130
134
  },
131
- "simple-git-hooks[-del]": {
132
- "pre-commit": "npx lint-staged"
133
- },
134
- "lint-staged[-del]": {
135
- "*.{[jt]s?(x),vue,md}": "eslint --fix"
136
- },
137
135
  "inlinedDependencies": {
138
136
  "find-up-simple": "1.0.1"
139
137
  },
@@ -149,7 +147,6 @@
149
147
  "typegen": "tsx scripts/typegen.ts",
150
148
  "lint": "pnpm run stub && eslint .",
151
149
  "lint:fix": "eslint . --fix",
152
- "lint:ts": "tsc --noEmit",
153
- "prepare[-del]": "npx simple-git-hooks"
150
+ "lint:ts": "tsc --noEmit"
154
151
  }
155
152
  }