File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 88 "module" : " ./src/index.js" ,
99 "main" : " ./dist/index.cjs" ,
1010 "types" : " ./types/index.d.ts" ,
11+ "exports" : {
12+ "import" : {
13+ "types" : " ./types/index.d.ts" ,
14+ "default" : " ./src/index.js"
15+ },
16+ "require" : {
17+ "types" : " ./types/index.d.cts" ,
18+ "default" : " ./dist/index.cjs"
19+ }
20+ },
1121 "files" : [
1222 " src" ,
1323 " types" ,
1424 " dist"
1525 ],
16- "exports" : {
17- "types" : " ./types/index.d.ts" ,
18- "import" : " ./src/index.js" ,
19- "require" : " ./dist/index.cjs"
20- },
2126 "repository" : {
2227 "type" : " git" ,
2328 "url" : " https://github.com/NickvanDyke/eslint-plugin-react-you-might-not-need-an-effect.git"
Original file line number Diff line number Diff line change 1+ import type { ESLint , Linter } from "eslint" ;
2+
3+ declare const plugin : ESLint . Plugin & {
4+ configs : {
5+ recommended : Linter . Config ;
6+ "legacy-recommended" : Linter . LegacyConfig ;
7+ } ;
8+ } ;
9+ export = plugin ;
You can’t perform that action at this time.
0 commit comments