@lincy/eslint-config 7.2.0 → 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.2.0",
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",
@@ -29,7 +29,9 @@
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-refresh": "^0.5.0"
32
+ "eslint-plugin-react-refresh": "^0.5.0",
33
+ "eslint-plugin-slop": ">=0.1.1",
34
+ "eslint-plugin-sonarjs": ">=4.0.0"
33
35
  },
34
36
  "peerDependenciesMeta": {
35
37
  "@eslint-react/eslint-plugin": {
@@ -49,73 +51,80 @@
49
51
  },
50
52
  "eslint-plugin-react-refresh": {
51
53
  "optional": true
54
+ },
55
+ "eslint-plugin-slop": {
56
+ "optional": true
57
+ },
58
+ "eslint-plugin-sonarjs": {
59
+ "optional": true
52
60
  }
53
61
  },
54
62
  "dependencies": {
55
- "@antfu/install-pkg": "^1.1.0",
56
- "@clack/prompts": "^1.3.0",
57
- "@e18e/eslint-plugin": "^0.4.1",
58
- "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
59
- "@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",
60
68
  "@stylistic/eslint-plugin": "^5.10.0",
61
- "@typescript-eslint/eslint-plugin": "^8.59.3",
62
- "@typescript-eslint/parser": "^8.59.3",
63
- "@vitest/eslint-plugin": "^1.6.17",
64
- "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",
65
73
  "eslint-flat-config-utils": "^3.2.0",
66
74
  "eslint-merge-processors": "^2.0.0",
67
75
  "eslint-parser-plain": "^0.1.1",
68
76
  "eslint-plugin-antfu": "^3.2.3",
69
- "eslint-plugin-erasable-syntax-only": "^0.4.1",
77
+ "eslint-plugin-erasable-syntax-only": "^0.7.1",
70
78
  "eslint-plugin-import-lite": "^0.6.0",
71
- "eslint-plugin-jsdoc": "^62.9.0",
72
- "eslint-plugin-jsonc": "^3.1.2",
73
- "eslint-plugin-n": "^18.0.1",
79
+ "eslint-plugin-jsdoc": "^64.3.4",
80
+ "eslint-plugin-jsonc": "^3.4.2",
81
+ "eslint-plugin-n": "^18.3.0",
74
82
  "eslint-plugin-no-only-tests": "^3.4.0",
75
- "eslint-plugin-perfectionist": "^5.9.0",
76
- "eslint-plugin-pnpm": "^1.6.0",
77
- "eslint-plugin-regexp": "^3.1.0",
78
- "eslint-plugin-toml": "^1.3.1",
79
- "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",
80
90
  "eslint-plugin-unused-imports": "^4.4.1",
81
- "eslint-plugin-vue": "^10.9.1",
82
- "eslint-plugin-yml": "^3.3.2",
91
+ "eslint-plugin-vue": "^10.10.0",
92
+ "eslint-plugin-yml": "^3.8.1",
83
93
  "eslint-processor-vue-blocks": "^2.0.0",
84
- "globals": "^17.6.0",
85
- "jsonc-eslint-parser": "^3.1.0",
86
- "local-pkg": "^1.1.2",
94
+ "globals": "^17.12.0",
95
+ "jsonc-eslint-parser": "^3.3.0",
96
+ "local-pkg": "^1.2.1",
87
97
  "toml-eslint-parser": "^1.0.3",
88
- "vue-eslint-parser": "^10.4.0",
89
- "yaml-eslint-parser": "^2.0.0"
98
+ "vue-eslint-parser": "^10.4.1",
99
+ "yaml-eslint-parser": "^2.1.0"
90
100
  },
91
101
  "devDependencies": {
92
- "@antfu/ni": "^30.1.0",
93
- "@eslint-react/eslint-plugin": "^5.6.0",
94
- "@eslint/config-inspector": "^2.0.1",
95
- "@next/eslint-plugin-next": "^16.2.6",
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",
96
107
  "@prettier/plugin-xml": "^3.4.2",
97
108
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
98
- "@types/node": "^25.7.0",
99
- "@types/react": "^19.2.14",
100
- "@unocss/eslint-plugin": "^66.6.8",
101
- "bumpp": "^11.1.0",
102
- "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",
103
114
  "eslint-plugin-format": "^2.0.1",
104
- "eslint-plugin-react-refresh": "^0.5.2",
115
+ "eslint-plugin-react-refresh": "^0.5.5",
105
116
  "eslint-typegen": "^2.3.1",
106
117
  "esno": "^4.8.0",
107
- "execa": "^9.6.1",
118
+ "execa": "^10.0.1",
108
119
  "find-up-simple": "^1.0.1",
109
- "lint-staged": "^17.0.4",
110
- "prettier": "^3.8.3",
111
- "react": "^19.2.6",
120
+ "prettier": "^3.9.6",
121
+ "react": "^19.2.8",
112
122
  "simple-open-url": "^3.0.1",
113
- "tinyglobby": "^0.2.16",
114
- "tsdown": "^0.22.0",
123
+ "tinyglobby": "^0.2.17",
124
+ "tsdown": "^0.22.14",
115
125
  "typescript": "^6.0.3",
116
- "vitest": "^4.1.6",
117
- "vue": "^3.5.34",
118
- "@lincy/eslint-config": "7.2.0"
126
+ "vitest": "^4.1.11",
127
+ "vue": "^3.5.42"
119
128
  },
120
129
  "resolutions": {
121
130
  "@eslint-community/eslint-utils": "catalog:peer",
@@ -123,12 +132,6 @@
123
132
  "eslint": "catalog:peer",
124
133
  "tsx": "catalog:peer"
125
134
  },
126
- "simple-git-hooks[-del]": {
127
- "pre-commit": "npx lint-staged"
128
- },
129
- "lint-staged[-del]": {
130
- "*.{[jt]s?(x),vue,md}": "eslint --fix"
131
- },
132
135
  "inlinedDependencies": {
133
136
  "find-up-simple": "1.0.1"
134
137
  },
@@ -144,7 +147,6 @@
144
147
  "typegen": "tsx scripts/typegen.ts",
145
148
  "lint": "pnpm run stub && eslint .",
146
149
  "lint:fix": "eslint . --fix",
147
- "lint:ts": "tsc --noEmit",
148
- "prepare[-del]": "npx simple-git-hooks"
150
+ "lint:ts": "tsc --noEmit"
149
151
  }
150
152
  }