@whoj/eslint-config 1.5.0 → 2.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.
@@ -0,0 +1,5 @@
1
+ import {
2
+ require_typescript
3
+ } from "./chunk-QT5XME2Q.js";
4
+ import "./chunk-MKNYKNDN.js";
5
+ export default require_typescript();
package/package.json CHANGED
@@ -1,42 +1,142 @@
1
1
  {
2
2
  "name": "@whoj/eslint-config",
3
- "version": "1.5.0",
3
+ "type": "module",
4
+ "version": "2.0.0",
5
+ "description": "ESLint config",
4
6
  "license": "MIT",
5
- "author": {
6
- "name": "Jonson B.",
7
- "email": "www.jbc.bd@gmail.com",
8
- "url": "https://github.com/who-jonson"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "directory": "packages/all",
13
- "url": "https://github.com/who-jonson/eslint-config.git"
14
- },
15
7
  "homepage": "https://github.com/who-jonson/eslint-config",
16
- "main": "index.js",
8
+ "keywords": [
9
+ "eslint-config"
10
+ ],
11
+ "exports": {
12
+ ".": "./dist/index.js"
13
+ },
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "bin": "./bin/index.js",
17
17
  "files": [
18
- "index.js"
18
+ "bin",
19
+ "dist"
19
20
  ],
20
21
  "peerDependencies": {
21
- "eslint": "^8.43.0"
22
+ "@prettier/plugin-xml": "^3.4.1",
23
+ "@unocss/eslint-plugin": ">=0.50.0",
24
+ "eslint": "^9.10.0",
25
+ "eslint-plugin-format": ">=0.1.0"
26
+ },
27
+ "peerDependenciesMeta": {
28
+ "@prettier/plugin-xml": {
29
+ "optional": true
30
+ },
31
+ "@unocss/eslint-plugin": {
32
+ "optional": true
33
+ },
34
+ "astro-eslint-parser": {
35
+ "optional": true
36
+ },
37
+ "eslint-plugin-format": {
38
+ "optional": true
39
+ }
22
40
  },
23
41
  "dependencies": {
24
- "@typescript-eslint/eslint-plugin": "^5.62.0",
25
- "@typescript-eslint/parser": "^5.62.0",
26
- "eslint-plugin-eslint-comments": "^3.2.0",
27
- "eslint-plugin-html": "^7.1.0",
28
- "eslint-plugin-import": "^2.28.1",
29
- "eslint-plugin-jsonc": "^2.9.0",
30
- "eslint-plugin-n": "^16.1.0",
31
- "eslint-plugin-promise": "^6.1.1",
32
- "eslint-plugin-unicorn": "^47.0.0",
33
- "eslint-plugin-vue": "^9.17.0",
34
- "eslint-plugin-yml": "^1.9.0",
35
- "jsonc-eslint-parser": "^2.3.0",
36
- "yaml-eslint-parser": "^1.2.2",
37
- "@whoj/eslint-config-vue": "1.5.0"
42
+ "@antfu/install-pkg": "^1.0.0",
43
+ "@clack/prompts": "^0.9.1",
44
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
45
+ "@eslint/markdown": "^6.2.2",
46
+ "@stylistic/eslint-plugin": "^3.0.1",
47
+ "@typescript-eslint/eslint-plugin": "^8.22.0",
48
+ "@typescript-eslint/parser": "^8.22.0",
49
+ "@vitest/eslint-plugin": "^1.1.25",
50
+ "eslint-config-flat-gitignore": "^2.0.0",
51
+ "eslint-flat-config-utils": "^2.0.1",
52
+ "eslint-merge-processors": "^1.0.0",
53
+ "eslint-plugin-antfu": "^3.0.0",
54
+ "eslint-plugin-command": "^3.0.0",
55
+ "eslint-plugin-import-x": "^4.6.1",
56
+ "eslint-plugin-jsdoc": "^50.6.3",
57
+ "eslint-plugin-jsonc": "^2.19.1",
58
+ "eslint-plugin-n": "^17.15.1",
59
+ "eslint-plugin-no-only-tests": "^3.3.0",
60
+ "eslint-plugin-perfectionist": "^4.7.0",
61
+ "eslint-plugin-regexp": "^2.7.0",
62
+ "eslint-plugin-toml": "^0.12.0",
63
+ "eslint-plugin-unicorn": "^56.0.1",
64
+ "eslint-plugin-unused-imports": "^4.1.4",
65
+ "eslint-plugin-vue": "^9.32.0",
66
+ "eslint-plugin-yml": "^1.16.0",
67
+ "eslint-processor-vue-blocks": "^1.0.0",
68
+ "globals": "^15.14.0",
69
+ "jsonc-eslint-parser": "^2.4.0",
70
+ "local-pkg": "^1.0.0",
71
+ "parse-gitignore": "^2.0.0",
72
+ "picocolors": "^1.1.1",
73
+ "toml-eslint-parser": "^0.10.0",
74
+ "vue-eslint-parser": "^9.4.3",
75
+ "yaml-eslint-parser": "^1.2.3",
76
+ "yargs": "^17.7.2"
38
77
  },
39
78
  "devDependencies": {
40
- "eslint": "^8.49.0"
79
+ "@antfu/ni": "^23.3.1",
80
+ "@eslint-react/eslint-plugin": "^1.26.0",
81
+ "@eslint/config-inspector": "^1.0.0",
82
+ "@prettier/plugin-xml": "^3.4.1",
83
+ "@stylistic/eslint-plugin-migrate": "^3.0.1",
84
+ "@types/fs-extra": "^11.0.4",
85
+ "@types/node": "^22.13.0",
86
+ "@types/prompts": "^2.4.9",
87
+ "@types/yargs": "^17.0.33",
88
+ "@unocss/eslint-plugin": "^65.4.3",
89
+ "astro-eslint-parser": "^1.2.1",
90
+ "bumpp": "^10.0.1",
91
+ "eslint": "^9.19.0",
92
+ "eslint-plugin-astro": "^1.3.1",
93
+ "eslint-plugin-format": "^1.0.1",
94
+ "eslint-plugin-react-hooks": "^5.1.0",
95
+ "eslint-plugin-react-refresh": "^0.4.18",
96
+ "eslint-plugin-solid": "^0.14.5",
97
+ "eslint-plugin-svelte": "^2.46.1",
98
+ "eslint-typegen": "^1.0.0",
99
+ "execa": "^9.5.2",
100
+ "fast-glob": "^3.3.3",
101
+ "fs-extra": "^11.3.0",
102
+ "jiti": "^2.4.2",
103
+ "lint-staged": "^15.4.3",
104
+ "prettier-plugin-astro": "^0.14.1",
105
+ "prettier-plugin-slidev": "^1.0.5",
106
+ "rimraf": "^6.0.1",
107
+ "sass": "^1.83.4",
108
+ "simple-git-hooks": "^2.11.1",
109
+ "svelte": "^5.19.6",
110
+ "svelte-eslint-parser": "^0.43.0",
111
+ "tsup": "^8.3.6",
112
+ "tsx": "^4.19.2",
113
+ "typescript": "^5.7.3",
114
+ "vitest": "^3.0.4",
115
+ "vue": "^3.5.13",
116
+ "@whoj/eslint-config": "2.0.0"
117
+ },
118
+ "resolutions": {
119
+ "@eslint-community/eslint-utils": "^4.4.1",
120
+ "@typescript-eslint/utils": "^8.22.0",
121
+ "eslint": "^9.19.0",
122
+ "tsx": "^4.19.2"
123
+ },
124
+ "simple-git-hooks": {
125
+ "pre-commit": "npx lint-staged"
126
+ },
127
+ "lint-staged": {
128
+ "*": "eslint --fix"
129
+ },
130
+ "scripts": {
131
+ "build": "nr typegen && tsup --clean --dts",
132
+ "stub": "tsup",
133
+ "dev": "npx @eslint/config-inspector --config eslint.config.ts",
134
+ "build:inspector": "pnpm build && npx @eslint/config-inspector build",
135
+ "watch": "tsup --watch",
136
+ "lint": "eslint .",
137
+ "typegen": "tsx scripts/typegen.ts",
138
+ "release": "bumpp && pnpm publish",
139
+ "test": "vitest",
140
+ "typecheck": "tsc --noEmit"
41
141
  }
42
142
  }
package/index.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- '@whoj/eslint-config-vue'
4
- ]
5
- };