Closed dimahinev closed 1 year ago
Hello! Sorry the plugin isn't working for you. Thanks for posting the relevant files.
Correct me if I'm wrong, but it looks like your rules are stored in a file called "./src/rules/no-console-log.js", however this plugin only supports rules in a file called ./eslint-local-rules.js or ./eslint-local-rules/index.js, usually stored in the project root.
If you're not able to change the filename, try one of these other solutions that may work for your case.
Closing for now. Feel free to re-open with additional information if needed. Thanks!
~I am also having this issue. I copied the example in the readme directly. I would imagine this is related to the fact that it seems to be checking the install directory of eslint-plugin-local-rules
for the file eslint-local-rules.js
as you can see from the logs shared.~
Nevermind my issue is related to yarn workspaces.
@pm0u Just added yarn/npm/pnpm workspace support. Check out v2.0.0 and let me know if you're still having issues!