We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17bcca6 commit 618965cCopy full SHA for 618965c
package.json
@@ -1,14 +1,16 @@
1
{
2
"name": "eslint-plugin-react-you-might-not-need-an-effect",
3
- "version": "0.0.40",
+ "version": "0.0.42",
4
"description": "ESLint rule to warn against unnecessary React useEffect hooks.",
5
"author": "Nick van Dyke",
6
"license": "MIT",
7
"type": "module",
8
"module": "./src/index.js",
9
"main": "./dist/index.cjs",
10
+ "types": "./types/index.d.ts",
11
"files": [
12
"src",
13
+ "types",
14
"dist"
15
],
16
"exports": {
types/index.d.ts
@@ -0,0 +1,4 @@
+import type { ESLint } from "eslint";
+
+declare const plugin: ESLint.Plugin;
+export default plugin;
0 commit comments