Closed lpatiny closed 2 hours ago
Didn't you just forget to install globals
?
Yes I did thanks.
Hello, I tried to solve the issue.
This is what I did:
Remove the 'globals' import from base.js and update eslint.config.js to include __dirname global. This resolves the ERR_MODULE_NOT_FOUND error and simplifies the configuration.
You can review changes in this commit: https://github.com/lattaai13/cheminfo-eslint-config-67/commit/44bc5f7093f9ef53770bb8a7dbadc1b1193b687e.
[!CAUTION] Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
Recently I have this new error
Using this kind of
eslint.config.mjs
file:In my projects I only need
__dirname
so I changed the configuration to@targos
globals/index.js
? Seems strange.