@moso/eslint-config 1.0.4 → 2.0.3

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,15 +1,14 @@
1
1
  {
2
2
  "name": "@moso/eslint-config",
3
3
  "type": "module",
4
- "version": "1.0.4",
5
- "packageManager": "bun@1.2.5",
6
- "description": "moso's shared ESLint config",
4
+ "version": "2.0.3",
5
+ "description": "My shareable ESLint config",
7
6
  "author": {
8
7
  "name": "Morten Sørensen",
9
8
  "email": "morten@moso.dev",
10
9
  "url": "https://moso.dev"
11
10
  },
12
- "license": "MIT",
11
+ "license": "BSD-3-Clause",
13
12
  "homepage": "https://github.com/moso/eslint-config",
14
13
  "repository": {
15
14
  "type": "git",
@@ -19,11 +18,14 @@
19
18
  "url": "https://github.com/moso/eslint-config/issues"
20
19
  },
21
20
  "keywords": [
22
- "eslint-config",
23
- "eslint",
24
21
  "config",
22
+ "eslint",
23
+ "eslint-config",
25
24
  "eslint-config moso",
25
+ "functional programming",
26
26
  "moso",
27
+ "perfectionist",
28
+ "stylistic",
27
29
  "typescript",
28
30
  "react",
29
31
  "vue"
@@ -33,9 +35,14 @@
33
35
  },
34
36
  "main": "./dist/index.js",
35
37
  "types": "./dist/index.d.ts",
36
- "files": ["dist"],
38
+ "files": [
39
+ "LICENSE",
40
+ "README.md",
41
+ "dist/",
42
+ "package.json"
43
+ ],
37
44
  "scripts": {
38
- "build": "bun run typegen && tsup --clean --dts",
45
+ "build": "bun run typegen && tsdown --clean --dts",
39
46
  "build:inspector": "bun run build && bunx @eslint/config-inspector build",
40
47
  "dev": "bunx @eslint/config-inspector --config eslint.config.ts",
41
48
  "lint": "eslint",
@@ -44,72 +51,123 @@
44
51
  "release": "bumpp && bun publish",
45
52
  "test": "vitest",
46
53
  "typecheck": "tsc --noEmit",
47
- "typegen": "tsx src/typegen/typegen.ts",
48
- "watch": "tsup --watch"
54
+ "typegen": "tsx scripts/typegen.ts",
55
+ "watch": "tsdown --watch"
49
56
  },
57
+ "workspaces": ["src/rules"],
50
58
  "peerDependencies": {
51
- "eslint": "^9.10.0"
59
+ "@eslint-react/eslint-plugin": "^2.3.13",
60
+ "@next/eslint-plugin-next": "^16.0.10",
61
+ "eslint": ">=9.30.0",
62
+ "eslint-plugin-astro": "^1.5.0",
63
+ "eslint-plugin-jsx-a11y": "^6.10.2",
64
+ "eslint-plugin-react-hooks": "^7.0.1",
65
+ "eslint-plugin-react-refresh": "^0.4.26",
66
+ "eslint-plugin-react-you-might-not-need-an-effect": "^0.7.0",
67
+ "eslint-plugin-vue": "^10.6.2",
68
+ "eslint-plugin-vuejs-accessibility": "^2.4.1"
69
+ },
70
+ "peerDependenciesMeta": {
71
+ "@eslint-react/eslint-plugin": {
72
+ "optional": true
73
+ },
74
+ "@next/eslint-plugin-next": {
75
+ "optional": true
76
+ },
77
+ "eslint-plugin-astro": {
78
+ "optional": true
79
+ },
80
+ "eslint-plugin-jsx-a11y": {
81
+ "optional": true
82
+ },
83
+ "eslint-plugin-react-hooks": {
84
+ "optional": true
85
+ },
86
+ "eslint-plugin-react-refresh": {
87
+ "optional": true
88
+ },
89
+ "eslint-plugin-react-you-might-not-need-an-effect": {
90
+ "optional": true
91
+ },
92
+ "eslint-plugin-vue": {
93
+ "optional": true
94
+ },
95
+ "eslint-plugin-vuejs-accessibility": {
96
+ "optional": true
97
+ }
52
98
  },
53
99
  "dependencies": {
54
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
55
- "@eslint-react/eslint-plugin": "^1.38.0",
56
- "@stylistic/eslint-plugin": "^4.2.0",
57
- "@typescript-eslint/eslint-plugin": "^8.28.0",
58
- "@typescript-eslint/parser": "^8.28.0",
59
- "@vitest/eslint-plugin": "^1.1.38",
60
- "eslint-config-flat-gitignore": "^2.1.0",
61
- "eslint-flat-config-utils": "^2.0.1",
100
+ "@antfu/install-pkg": "^1.1.0",
101
+ "@clack/prompts": "^0.11.0",
102
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
103
+ "@stylistic/eslint-plugin": "^5.6.1",
104
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
105
+ "@typescript-eslint/parser": "^8.50.0",
106
+ "@vitest/eslint-plugin": "^1.5.2",
107
+ "astro-eslint-parser": "^1.2.2",
108
+ "eslint-flat-config-utils": "^2.1.4",
62
109
  "eslint-merge-processors": "^2.0.0",
63
- "eslint-plugin-antfu": "^3.1.1",
64
- "eslint-plugin-functional": "^9.0.1",
65
- "eslint-plugin-import-x": "^4.9.3",
66
- "eslint-plugin-jsdoc": "^50.6.9",
67
- "eslint-plugin-jsonc": "^2.20.0",
68
- "eslint-plugin-n": "^17.17.0",
110
+ "eslint-plugin-de-morgan": "^2.0.0",
111
+ "eslint-plugin-erasable-syntax-only": "^0.4.0",
112
+ "eslint-plugin-functional": "^9.0.2",
113
+ "eslint-plugin-import-lite": "^0.4.0",
114
+ "eslint-plugin-jsdoc": "^61.5.0",
115
+ "eslint-plugin-jsonc": "^2.21.0",
116
+ "eslint-plugin-n": "^17.23.1",
69
117
  "eslint-plugin-no-only-tests": "^3.3.0",
70
- "eslint-plugin-perfectionist": "^4.10.1",
71
- "eslint-plugin-react-hooks": "^5.2.0",
72
- "eslint-plugin-react-refresh": "^0.4.19",
73
- "eslint-plugin-unicorn": "^58.0.0",
74
- "eslint-plugin-unused-imports": "^4.1.4",
75
- "eslint-plugin-vue": "^10.0.0",
76
- "eslint-plugin-yml": "^1.17.0",
118
+ "eslint-plugin-perfectionist": "^5.0.0",
119
+ "eslint-plugin-promise": "^7.2.1",
120
+ "eslint-plugin-regexp": "^2.10.0",
121
+ "eslint-plugin-unicorn": "^62.0.0",
122
+ "eslint-plugin-unused-imports": "^4.3.0",
123
+ "eslint-plugin-yml": "^1.19.1",
77
124
  "eslint-processor-vue-blocks": "^2.0.0",
78
- "globals": "^16.0.0",
79
- "jsonc-eslint-parser": "^2.4.0",
80
- "local-pkg": "^1.1.1",
81
- "vue-eslint-parser": "^10.1.1",
82
- "yaml-eslint-parser": "^1.3.0"
125
+ "globals": "^16.5.0",
126
+ "jsonc-eslint-parser": "^2.4.2",
127
+ "local-pkg": "^1.1.2",
128
+ "toml-eslint-parser": "^0.10.1",
129
+ "vue-eslint-parser": "^10.2.0",
130
+ "yaml-eslint-parser": "^1.3.2"
83
131
  },
84
132
  "devDependencies": {
85
- "@eslint-types/jsdoc": "^48.2.2",
86
- "@eslint-types/typescript-eslint": "^7.5.0",
87
- "@eslint-types/unicorn": "^52.0.0",
88
- "@eslint/config-inspector": "^1.0.2",
89
- "@types/eslint": "^9.6.1",
90
- "@types/node": "^22.13.13",
91
- "bumpp": "^10.1.0",
92
- "eslint": "^9.23.0",
93
- "eslint-typegen": "^2.1.0",
94
- "jiti": "^2.4.2",
95
- "lint-staged": "^15.5.0",
96
- "simple-git-hooks": "^2.12.1",
97
- "tsup": "^8.4.0",
98
- "tsx": "^4.19.3",
99
- "typescript": "^5.8.2",
100
- "vitest": "^3.0.9",
101
- "vue": "^3.5.13"
102
- },
103
- "resolutions": {
104
- "@eslint-community/eslint-utils": "^4.4.1",
105
- "@typescript-eslint/utils": "^8.28.0",
106
- "eslint": "^9.23.0",
107
- "tsx": "^4.19.3"
133
+ "@eslint-react/eslint-plugin": "^2.3.13",
134
+ "@eslint/compat": "^2.0.0",
135
+ "@eslint/config-inspector": "^1.4.2",
136
+ "@eslint/js": "^9.39.2",
137
+ "@moso/eslint-plugin": "2.0.1",
138
+ "@next/eslint-plugin-next": "^16.0.10",
139
+ "@types/node": "^25.0.3",
140
+ "@typescript-eslint/rule-tester": "^8.50.0",
141
+ "@typescript-eslint/utils": "^8.50.0",
142
+ "bumpp": "^10.3.2",
143
+ "eslint": "^9.39.2",
144
+ "eslint-plugin-astro": "^1.5.0",
145
+ "eslint-plugin-jsx-a11y": "^6.10.2",
146
+ "eslint-plugin-react-hooks": "^7.0.1",
147
+ "eslint-plugin-react-refresh": "^0.4.26",
148
+ "eslint-plugin-react-you-might-not-need-an-effect": "^0.7.0",
149
+ "eslint-plugin-toml": "^0.12.0",
150
+ "eslint-plugin-vue": "^10.6.2",
151
+ "eslint-plugin-vuejs-accessibility": "^2.4.1",
152
+ "eslint-typegen": "^2.3.0",
153
+ "jiti": "^2.6.1",
154
+ "lint-staged": "^16.2.7",
155
+ "simple-git-hooks": "git+https://github.com/toplenboren/simple-git-hooks.git",
156
+ "ts-dedent": "^2.2.0",
157
+ "tsdown": "^0.18.1",
158
+ "tsx": "^4.21.0",
159
+ "typescript": "^5.9.3",
160
+ "vitest": "^4.0.16"
108
161
  },
109
162
  "simple-git-hooks": {
110
163
  "pre-commit": "bunx lint-staged"
111
164
  },
112
165
  "lint-staged": {
113
166
  "*": "eslint --fix"
114
- }
167
+ },
168
+ "trustedDependencies": [
169
+ "esbuild",
170
+ "simple-git-hooks",
171
+ "unrs-resolver"
172
+ ]
115
173
  }