Closed meteorlxy closed 4 years ago
Does the current behavior cause problems in practice? I think loading a directory automatically has the effect of resolving the main
field of package.json
.
Uh you are right. Something could have gone wrong at the time 😅
https://github.com/not-an-aardvark/eslint-plugin-self/blob/7992f65654a1f3a3747aae0a0fcba626b358b803/index.js#L3
It's better to require plugin from
"main"
ofpackage.json
.Something like: