We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b8563 commit 3241810Copy full SHA for 3241810
index.d.ts
@@ -0,0 +1,11 @@
1
+import { Linter, Rule } from "eslint"
2
+
3
+declare const plugin: {
4
+ configs: {
5
+ recommended: Linter.Config
6
+ ["flat/recommended"]: Linter.FlatConfig
7
+ }
8
+ rules: Record<string, Rule.RuleModule>
9
+}
10
11
+export default plugin
package.json
@@ -25,12 +25,16 @@
25
},
26
"type": "module",
27
"exports": {
28
- "import": "./dist/index.js",
29
- "require": "./index.cjs"
+ ".": {
+ "types": "./index.d.ts",
30
+ "import": "./dist/index.js",
31
+ "require": "./index.cjs"
32
33
34
"files": [
35
"dist",
- "index.cjs"
36
+ "index.cjs",
37
+ "index.d.ts"
38
],
39
"peerDependencies": {
40
"eslint": ">=8"
0 commit comments