@sxzz/eslint-config 3.1.0 → 3.1.2

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -22,7 +22,7 @@ npm i -D @sxzz/eslint-config
22
22
  // eslint.config.js
23
23
  import { all } from '@sxzz/eslint-config'
24
24
 
25
- export default defineFlatConfig(all)
25
+ export default all
26
26
  ```
27
27
 
28
28
  ### Custom Config
@@ -37,6 +37,14 @@ export default sxzz(
37
37
  )
38
38
  ```
39
39
 
40
+ ### VSCode
41
+
42
+ ```jsonc
43
+ {
44
+ "eslint.experimental.useFlatConfig": true
45
+ }
46
+ ```
47
+
40
48
  ## Sponsors
41
49
 
42
50
  <p align="center">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "3.1.0",
4
- "packageManager": "pnpm@8.6.3",
3
+ "version": "3.1.2",
4
+ "packageManager": "pnpm@8.6.5",
5
5
  "description": "ESLint config for @sxzz.",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -31,34 +31,34 @@
31
31
  "eslint": "^8.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@eslint/js": "^8.43.0",
35
- "@typescript-eslint/eslint-plugin": "^5.60.0",
36
- "@typescript-eslint/parser": "^5.60.0",
34
+ "@eslint/js": "^8.44.0",
35
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
36
+ "@typescript-eslint/parser": "^5.61.0",
37
37
  "eslint-config-prettier": "^8.8.0",
38
38
  "eslint-define-config": "^1.21.0",
39
- "eslint-plugin-antfu": "^0.39.5",
39
+ "eslint-plugin-antfu": "^0.39.7",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-import": "^2.27.5",
42
42
  "eslint-plugin-jsonc": "^2.9.0",
43
43
  "eslint-plugin-markdown": "^3.0.0",
44
- "eslint-plugin-prettier": "^4.2.1",
44
+ "eslint-plugin-prettier": "^5.0.0-alpha.2",
45
45
  "eslint-plugin-unicorn": "^47.0.0",
46
46
  "eslint-plugin-vue": "^9.15.1",
47
47
  "eslint-plugin-yml": "^1.8.0",
48
48
  "globals": "^13.20.0",
49
49
  "jsonc-eslint-parser": "^2.3.0",
50
50
  "local-pkg": "^0.4.3",
51
- "prettier": "^2.8.8",
51
+ "prettier": "^3.0.0",
52
52
  "vue-eslint-parser": "^9.3.1",
53
53
  "yaml-eslint-parser": "^1.2.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@sxzz/prettier-config": "^1.0.1",
57
- "@types/node": "^18.16.18",
56
+ "@sxzz/prettier-config": "^1.0.3",
57
+ "@types/node": "^20.4.0",
58
58
  "bumpp": "^9.1.1",
59
- "eslint": "^8.43.0",
60
- "tsup": "^7.0.0",
61
- "typescript": "^5.1.3"
59
+ "eslint": "^8.44.0",
60
+ "tsup": "^7.1.0",
61
+ "typescript": "^5.1.6"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=16.14.0"