Closed jeffslofish closed 3 years ago
Thanks for filing this issue! I would say it's all the directories outside of the . ones.
Linting is still broken for me, but for a different reason. With eslint in package.json set to ^5.15.2, I get the following errors:
If I set the eslint version in package.json to the latest release (^7.18.0), then this error goes away. It appears that the older eslint has problems ignoring the directory if it ends in ".js".
Can you reopen this issue, and I'll open a pull request to fix it?
@jeffslofish Weird error. Just reopened!
Actually, I found a solution to this problem here: https://github.com/eslint/eslint/issues/10880. All you have to do is add single quotes around the glob pattern and then it will work properly. Pull request coming shortly.
Bug According to https://github.com/lbryio/lbry-desktop/blob/master/CONTRIBUTING.md#lint we should be able to lint the code by running
$ yarn lint
. However, this currently produces an error because it is trying to lint starting at the top level "src/" directory, but there is no longer a top level "src/" directory. I can fix this issue if you let me know what directories you actually want linted.To Reproduce Steps to reproduce the behavior:
$ yarn lint
Expected behavior The code should be linted.
Screenshots
System Configuration
Additional context Add any other context about the problem here.