@curev/eslint-config 0.2.2 → 0.3.1

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,21 +1,142 @@
1
1
  {
2
2
  "name": "@curev/eslint-config",
3
- "version": "0.2.2",
4
- "description": "Chizuki's ESLint config",
3
+ "type": "module",
4
+ "version": "0.3.1",
5
+ "packageManager": "pnpm@8.6.9",
5
6
  "author": "Chizuki<chizukicn@outlook.com> (https://github.com/chizukicn/)",
6
7
  "license": "MIT",
7
- "homepage": "https://github.com/chizukicn/eslint-config",
8
- "keywords": [
9
- "eslint-config"
10
- ],
11
- "main": "index.js",
8
+ "homepage": "https://github.com/curev/eslint-config",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
12
18
  "files": [
13
- "index.js"
19
+ "dist"
14
20
  ],
15
21
  "peerDependencies": {
16
- "eslint": ">=8.40.0"
22
+ "@unocss/eslint-plugin": ">=0.50.0",
23
+ "eslint": ">=8.40.0",
24
+ "eslint-plugin-format": ">=0.1.0",
25
+ "eslint-plugin-react": "^7.33.2",
26
+ "eslint-plugin-react-hooks": "^4.6.0",
27
+ "eslint-plugin-react-refresh": "^0.4.4",
28
+ "eslint-plugin-svelte": "^2.34.1",
29
+ "svelte-eslint-parser": "^0.33.1"
30
+ },
31
+ "peerDependenciesMeta": {
32
+ "@unocss/eslint-plugin": {
33
+ "optional": true
34
+ },
35
+ "eslint-plugin-format": {
36
+ "optional": true
37
+ },
38
+ "eslint-plugin-react": {
39
+ "optional": true
40
+ },
41
+ "eslint-plugin-react-hooks": {
42
+ "optional": true
43
+ },
44
+ "eslint-plugin-react-refresh": {
45
+ "optional": true
46
+ },
47
+ "eslint-plugin-svelte": {
48
+ "optional": true
49
+ },
50
+ "svelte-eslint-parser": {
51
+ "optional": true
52
+ }
17
53
  },
18
54
  "dependencies": {
19
- "@curev/eslint-config-vue": "0.2.2"
55
+ "@antfu/eslint-define-config": "^1.23.0-2",
56
+ "@antfu/install-pkg": "^0.3.1",
57
+ "@eslint-types/jsdoc": "46.8.2-1",
58
+ "@eslint-types/typescript-eslint": "^6.18.1",
59
+ "@eslint-types/unicorn": "^50.0.1",
60
+ "@stylistic/eslint-plugin": "^1.5.4",
61
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
62
+ "eslint-config-flat-gitignore": "^0.1.2",
63
+ "eslint-define-config": "^2.1.0",
64
+ "eslint-merge-processors": "^0.1.0",
65
+ "eslint-plugin-antfu": "^2.1.1",
66
+ "eslint-plugin-eslint-comments": "^3.2.0",
67
+ "eslint-plugin-i": "^2.29.1",
68
+ "eslint-plugin-jsdoc": "^48.0.2",
69
+ "eslint-plugin-jsonc": "^2.12.2",
70
+ "eslint-plugin-markdown": "^3.0.1",
71
+ "eslint-plugin-n": "^16.6.2",
72
+ "eslint-plugin-no-only-tests": "^3.1.0",
73
+ "eslint-plugin-perfectionist": "^2.5.0",
74
+ "eslint-plugin-toml": "^0.9.2",
75
+ "eslint-plugin-unicorn": "^50.0.1",
76
+ "eslint-plugin-unused-imports": "^3.0.0",
77
+ "eslint-plugin-vitest": "^0.3.20",
78
+ "eslint-plugin-vue": "^9.20.1",
79
+ "eslint-plugin-yml": "^1.12.2",
80
+ "eslint-processor-vue-blocks": "^0.1.1",
81
+ "globals": "^13.24.0",
82
+ "jsonc-eslint-parser": "^2.4.0",
83
+ "local-pkg": "^0.5.0",
84
+ "parse-gitignore": "^2.0.0",
85
+ "picocolors": "^1.0.0",
86
+ "prompts": "^2.4.2",
87
+ "toml-eslint-parser": "^0.9.3",
88
+ "vue-eslint-parser": "^9.4.0",
89
+ "yaml-eslint-parser": "^1.2.2",
90
+ "yargs": "^17.7.2"
91
+ },
92
+ "devDependencies": {
93
+ "@antfu/eslint-plugin-prettier": "^5.0.1-1",
94
+ "@antfu/ni": "^0.21.12",
95
+ "@stylistic/eslint-plugin-migrate": "^1.5.4",
96
+ "@types/eslint": "^8.56.2",
97
+ "@types/fs-extra": "^11.0.4",
98
+ "@types/node": "^20.11.5",
99
+ "@types/prompts": "^2.4.9",
100
+ "@types/yargs": "^17.0.32",
101
+ "@typescript-eslint/parser": "^6.20.0",
102
+ "@unocss/eslint-plugin": "^0.58.3",
103
+ "bumpp": "^9.3.0",
104
+ "eslint": "npm:eslint-ts-patch@^8.56.0-0",
105
+ "eslint-flat-config-viewer": "^0.1.11",
106
+ "eslint-plugin-format": "^0.1.0",
107
+ "eslint-plugin-react": "^7.33.2",
108
+ "eslint-plugin-react-hooks": "^4.6.0",
109
+ "eslint-plugin-react-refresh": "^0.4.5",
110
+ "eslint-plugin-svelte": "^2.35.1",
111
+ "eslint-ts-patch": "^8.56.0-0",
112
+ "esno": "^4.0.0",
113
+ "execa": "^8.0.1",
114
+ "fast-glob": "^3.3.2",
115
+ "fs-extra": "^11.2.0",
116
+ "lint-staged": "^15.2.0",
117
+ "rimraf": "^5.0.5",
118
+ "simple-git-hooks": "^2.9.0",
119
+ "svelte": "^4.2.9",
120
+ "svelte-eslint-parser": "^0.33.1",
121
+ "tsup": "^8.0.1",
122
+ "typescript": "^5.3.3",
123
+ "vitest": "^1.2.0",
124
+ "vue": "^3.4.14",
125
+ "@curev/eslint-config": "0.3.1"
126
+ },
127
+ "simple-git-hooks": {
128
+ "pre-commit": "npx lint-staged"
129
+ },
130
+ "lint-staged": {
131
+ "*.{jsx,js,vue,ts,tsx}": [
132
+ "eslint --cache --fix"
133
+ ]
134
+ },
135
+ "scripts": {
136
+ "build": "tsup --format esm,cjs --clean --dts",
137
+ "stub": "tsup --format esm",
138
+ "lint": "eslint --cache .",
139
+ "test": "pnpm run test",
140
+ "bump": "bumpp --commit --push --tag"
20
141
  }
21
142
  }
package/index.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- "@curev/eslint-config-vue"
4
- ]
5
- };