-
Notifications
You must be signed in to change notification settings - Fork 342
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
Don't show "ESLint" in the status bar when a non-applicable file is open #1189
Comments
The problem here is that we can only decide whether ESLint will validate a file if the user gave permission to run the ESLint library (the status bar item has NO blocked sign). Is this the case for you? If so can you please provide me with a GitHub repository I can clone that demos what you are experiencing. |
Unfortunately I can only reliably trigger it on a personal, private repo, but it's causing the "✔✔ ESLint" to show when opening the |
OK, the two check marks explain it. You have allowed ESLint to run everywehere. To signal this to the user we show ESLint status icon always when running in the mode. |
So is the expectation that I install it disabled and then manually enable it per workspace? |
Yes and No. The problem is that I need to show an indication when |
Ah, OK, now I get it: because I said I trusted ESLint you're being upfront by visually indicating it's always running so people are aware of that fact. And since ESLint is being triggered for me by e.g. I'm going to go ahead and close this since the trusted workspaces approach totally solves the reason I brought this up. I can disable the extension as necessary for now. |
Based on #1068 I assume that minimizing the activation scope to specific file types isn't desired (but maybe I'm wrong?), but would it be possible to not show "ESLint" in the status bar when you have e.g. a
.rs
file open?The text was updated successfully, but these errors were encountered: