@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/LICENSE +24 -16
- package/README.md +347 -132
- package/dist/index.d.mts +15188 -0
- package/dist/index.mjs +15146 -0
- package/package.json +119 -61
- package/dist/index.d.ts +0 -16215
- package/dist/index.js +0 -1975
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moso/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
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": "
|
|
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": [
|
|
38
|
+
"files": [
|
|
39
|
+
"LICENSE",
|
|
40
|
+
"README.md",
|
|
41
|
+
"dist/",
|
|
42
|
+
"package.json"
|
|
43
|
+
],
|
|
37
44
|
"scripts": {
|
|
38
|
-
"build": "bun run typegen &&
|
|
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
|
|
48
|
-
"watch": "
|
|
54
|
+
"typegen": "tsx scripts/typegen.ts",
|
|
55
|
+
"watch": "tsdown --watch"
|
|
49
56
|
},
|
|
57
|
+
"workspaces": ["src/rules"],
|
|
50
58
|
"peerDependencies": {
|
|
51
|
-
"eslint": "^
|
|
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
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@typescript-eslint/
|
|
59
|
-
"@
|
|
60
|
-
"eslint-
|
|
61
|
-
"eslint-
|
|
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-
|
|
64
|
-
"eslint-plugin-
|
|
65
|
-
"eslint-plugin-
|
|
66
|
-
"eslint-plugin-
|
|
67
|
-
"eslint-plugin-
|
|
68
|
-
"eslint-plugin-
|
|
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": "^
|
|
71
|
-
"eslint-plugin-
|
|
72
|
-
"eslint-plugin-
|
|
73
|
-
"eslint-plugin-unicorn": "^
|
|
74
|
-
"eslint-plugin-unused-imports": "^4.
|
|
75
|
-
"eslint-plugin-
|
|
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.
|
|
79
|
-
"jsonc-eslint-parser": "^2.4.
|
|
80
|
-
"local-pkg": "^1.1.
|
|
81
|
-
"
|
|
82
|
-
"
|
|
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-
|
|
86
|
-
"@eslint
|
|
87
|
-
"@eslint-
|
|
88
|
-
"@eslint/
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"
|
|
92
|
-
"eslint": "^
|
|
93
|
-
"eslint
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
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
|
}
|