-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solium lints incorrectly on windows. #162
Comments
Could you please produce the following for both win & ubuntu:
|
windows: |
@dev-matan-tsuberi The output you see on Ubuntu is the correct one. ProblemYou must've noticed that all (false positive) issues in windows stem from the whitespace-related rules - ^I'm yet to confirm this empirically but pretty sure this is the reason. This went undetected for the past 1.5 years probably because almost all devs are using solium on Unix. Since I've always run Solium on Linux & Mac, I never noticed this myself! Thanks for reporting this (massive) bug |
@duaraghav8 PR #161 should fix the blank-lines rule for windows, since I changed the regular expressions to account for the |
Is this being fixed? |
@dev-matan-tsuberi It has been partially fixed in the latest release (blank-lines shouldn't give you trouble any more) and will be completely fixed in the upcoming release (4-5 days) |
v1.1.5 fully resolves this issue. @dev-matan-tsuberi I no longer get any unexpected issues on my windows machine. |
Running
yarn solium
on windows 10 and on a docker container with Ubuntu installed yields very different results.Reproduce:
$ git clone https://github.com/daostack/daostack.git
$ cd daostack
$ yarn
$ yarn solium
On windows: 47 errors, 205 warnings found.
On Ubuntu: only 5 warns
The text was updated successfully, but these errors were encountered: