@frabbit/eslint-config 1.5.15 → 7.4.6

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,83 +1,105 @@
1
1
  {
2
2
  "name": "@frabbit/eslint-config",
3
- "version": "1.5.15",
4
- "packageManager": "npm@9.6.7",
5
- "description": "ESLint config for @frabbit.",
6
3
  "type": "module",
4
+ "version": "7.4.6",
5
+ "description": "ESLint config for @frabbit.",
6
+ "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",
8
- "homepage": "https://github.com/frenchrabbit/eslint-config#readme",
9
- "bugs": {
10
- "url": "https://github.com/frenchrabbit/eslint-config/issues"
11
- },
8
+ "funding": "https://github.com/sponsors/sxzz",
9
+ "homepage": "https://github.com/frabbit/eslint-config#readme",
12
10
  "repository": {
13
11
  "type": "git",
14
12
  "url": "git+https://github.com/frenchrabbit/eslint-config.git"
15
13
  },
14
+ "bugs": {
15
+ "url": "https://github.com/frabbit/eslint-config/issues"
16
+ },
17
+ "exports": {
18
+ ".": "./dist/index.mjs",
19
+ "./package.json": "./package.json"
20
+ },
21
+ "main": "./dist/index.mjs",
22
+ "module": "./dist/index.mjs",
23
+ "types": "./dist/index.d.mts",
16
24
  "files": [
17
25
  "dist"
18
26
  ],
19
- "main": "./dist/index.js",
20
- "module": "./dist/index.js",
21
- "types": "./dist/index.d.ts",
22
- "exports": {
23
- "require": "./dist/index.cjs",
24
- "import": "./dist/index.js"
25
- },
26
27
  "publishConfig": {
27
28
  "access": "public"
28
29
  },
29
- "scripts": {
30
- "build": "tsup",
31
- "lint": "eslint .",
32
- "lint:fix": "npm run lint --fix",
33
- "release": "npm publish",
34
- "prepublishOnly": "npm run build"
30
+ "engines": {
31
+ "node": ">=20.0.0"
35
32
  },
36
33
  "peerDependencies": {
37
- "eslint": "^8.0.0"
34
+ "@unocss/eslint-plugin": ">=65.0.0",
35
+ "eslint": "^9.5.0"
36
+ },
37
+ "peerDependenciesMeta": {
38
+ "@unocss/eslint-plugin": {
39
+ "optional": true
40
+ }
38
41
  },
39
42
  "dependencies": {
40
- "@typescript-eslint/eslint-plugin": "^6.15.0",
41
- "@typescript-eslint/parser": "^6.15.0",
42
- "@unocss/eslint-plugin": "^0.58.0",
43
- "eslint-config-prettier": "^9.1.0",
44
- "eslint-define-config": "^2.0.0",
45
- "eslint-plugin-antfu": "^2.0.0",
46
- "eslint-plugin-eslint-comments": "^3.2.0",
47
- "eslint-plugin-i": "^2.29.1",
48
- "eslint-plugin-jsonc": "^2.11.2",
49
- "eslint-plugin-markdown": "^3.0.1",
50
- "eslint-plugin-prettier": "^5.1.1",
51
- "eslint-plugin-security": "^2.1.0",
52
- "eslint-plugin-sonarjs": "^0.23.0",
53
- "eslint-plugin-unicorn": "^50.0.1",
54
- "eslint-plugin-unused-imports": "^3.0.0",
55
- "eslint-plugin-vue": "^9.19.2",
56
- "eslint-plugin-yml": "^1.11.0",
57
- "globals": "^13.24.0",
58
- "jsonc-eslint-parser": "^2.4.0",
59
- "local-pkg": "^0.5.0",
60
- "prettier": "^3.1.1",
61
- "vue-eslint-parser": "^9.3.2",
62
- "yaml-eslint-parser": "^1.2.2"
43
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
44
+ "@eslint/js": "^9.39.1",
45
+ "@eslint/markdown": "^7.5.1",
46
+ "eslint-config-flat-gitignore": "^2.1.0",
47
+ "eslint-config-prettier": "^10.1.8",
48
+ "eslint-flat-config-utils": "^2.1.4",
49
+ "eslint-plugin-antfu": "^3.1.1",
50
+ "eslint-plugin-baseline-js": "^0.4.2",
51
+ "eslint-plugin-command": "^3.3.1",
52
+ "eslint-plugin-de-morgan": "^2.0.0",
53
+ "eslint-plugin-import-x": "^4.16.1",
54
+ "eslint-plugin-jsdoc": "^61.4.1",
55
+ "eslint-plugin-jsonc": "^2.21.0",
56
+ "eslint-plugin-n": "^17.23.1",
57
+ "eslint-plugin-perfectionist": "^4.15.1",
58
+ "eslint-plugin-pnpm": "^1.3.0",
59
+ "eslint-plugin-prettier": "^5.5.4",
60
+ "eslint-plugin-regexp": "^2.10.0",
61
+ "eslint-plugin-security": "^3.0.1",
62
+ "eslint-plugin-sonarjs": "^3.0.5",
63
+ "eslint-plugin-sxzz": "^0.4.1",
64
+ "eslint-plugin-unicorn": "^62.0.0",
65
+ "eslint-plugin-unused-imports": "^4.3.0",
66
+ "eslint-plugin-vue": "^10.6.2",
67
+ "eslint-plugin-yml": "^1.19.0",
68
+ "globals": "^16.5.0",
69
+ "jsonc-eslint-parser": "^2.4.1",
70
+ "local-pkg": "^1.1.2",
71
+ "typescript-eslint": "^8.48.1",
72
+ "vue-eslint-parser": "^10.2.0",
73
+ "yaml-eslint-parser": "^1.3.1"
63
74
  },
64
75
  "devDependencies": {
76
+ "@eslint/config-inspector": "^1.4.2",
65
77
  "@frabbit/prettier-config": "^2.0.0",
66
- "@semantic-release/changelog": "^6.0.3",
67
- "@semantic-release/git": "^10.0.1",
68
- "@semantic-release/github": "^9.2.5",
69
- "@semantic-release/npm": "^11.0.2",
70
- "@types/node": "^20.10.5",
71
- "bumpp": "^9.2.1",
72
- "conventional-changelog-conventionalcommits": "^7.0.2",
73
- "eslint": "^8.56.0",
74
- "eslint-plugin-sort-keys": "^2.3.5",
75
- "sucrase": "^3.35.0",
76
- "tsup": "^8.0.1",
77
- "typescript": "^5.3.3"
78
+ "@types/node": "^24.10.1",
79
+ "@typescript/native-preview": "7.0.0-dev.20251202.1",
80
+ "@unocss/eslint-plugin": "^66.5.10",
81
+ "bumpp": "^10.3.2",
82
+ "eslint": "^9.39.1",
83
+ "eslint-typegen": "^2.3.0",
84
+ "prettier": "^3.7.3",
85
+ "rolldown-plugin-require-cjs": "^0.3.2",
86
+ "tsdown": "^0.17.0-beta.5",
87
+ "typescript": "^5.9.3",
88
+ "unrun": "^0.2.15"
78
89
  },
79
- "engines": {
80
- "node": ">=16.14.0"
90
+ "resolutions": {
91
+ "@types/eslint": "-"
81
92
  },
82
- "prettier": "@frabbit/prettier-config"
83
- }
93
+ "prettier": "@frabbit/prettier-config",
94
+ "scripts": {
95
+ "dev": "eslint-config-inspector --config eslint-inspector.config.ts",
96
+ "build": "pnpm run build:typegen && tsdown",
97
+ "build:typegen": "unrun scripts/typegen.ts",
98
+ "build:inspector": "eslint-config-inspector build --config eslint-inspector.config.ts",
99
+ "test": "echo Skip",
100
+ "lint": "eslint --max-warnings=0",
101
+ "lint:fix": "pnpm run lint --fix",
102
+ "release": "bumpp",
103
+ "typecheck": "tsgo --noEmit"
104
+ }
105
+ }