Comments (6)
Hi Tyler,
- Does sass-lint work from the command line?
- Does it also crash with sass-lint 1.8.2? (I haven't tried 1.9.0 yet)
do you know of a way I can get the stack trace from the language service
I'm not sure, no. I assume there was nothing in the output window for extensions?
from vscode-sass-lint.
Yes it works from command line. It also works from VSCode initially; I am able to see the warnings/errors show up up until I see the flash that it has crashed too often and then no warnings/errors show up.
The only thing to the console I get relates to the actual flash being shown.
It should be noted I have a watch task running that uses node-sass that compiles the files to a different directory... could it possibly relate to locking issues?
I'll give 1.8.2 a try when I get home from work today.
from vscode-sass-lint.
could it possibly relate to locking issues?
Seems unlikely. I also use node-sass (via gulp-sass). It's easy to test though (see if the problem persists while the watch task is not running).
from vscode-sass-lint.
@tswaters Any luck?
It's quite possibly caused by this issue.
from vscode-sass-lint.
Ah yes forgot about this, sorry about that.
I tried it under 1.8.2 and it doesn't seem to crash. However, when it was crashing it was a bit spotty and would typically happen "eventually". I've been playing with it for a few minutes now and I haven't seen a crash yet, but I'm not entirely convinced downgrading the version fixed it.
I looked through the changes between those two versions and the major thing that stands out was gonzales-pe getting updating.... the actual API however wasn't changed at all. sass-lint still swallows errors from gonzales-pe, and will still return the same fatal
message if anything blows up.
I'm going to close this for now and will reopen if I can figure a way to recreate it reliably.
FWIW, I encountered this working on the sass files here: https://github.com/tswaters/klondike/tree/master/assets/sass -- specifically the funky nth-child bits at the bottom of _cards.scss
I was trying to fix up 'force-*-nesting' failures (this is toggled off in sass-lint.yml now) -- once I fixed those up, it went to 'nesting too deep' ... my guess would be while I was changing this, some combination of text no one expects was run through the linter and blew everything up.... 5 times.
from vscode-sass-lint.
Thanks for the update. 👍
from vscode-sass-lint.
Related Issues (20)
- [scss] ( expected when interpolation is used HOT 2
- Cant get it to run HOT 9
- Global config file HOT 1
- Error message when using CSS variables HOT 1
- Extension not working HOT 2
- :not(:first-child()) causes an error HOT 1
- sass-lint server causes 100% cpu load HOT 3
- JSON .sasslintrc config file support ? HOT 3
- [Feature-Request] update linting on config rule change without vscode reload HOT 5
- sass-lint not running HOT 1
- Formatting grid-template to single line
- Linting doesn't work in VSCode HOT 2
- config file location and rule resolution HOT 4
- Rule space-around-operator is not working HOT 2
- VS Code doesn't see extension config HOT 2
- Doesn't see sass-lint HOT 3
- Doesn't see sass-lint installed globally via yarn HOT 9
- Question: Where can we disable particular rules? HOT 4
- How to configure scss/sass lint rule validation using sass-lint? HOT 1
- Cant lint CSS custom properties if property-sort-order is enabled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-sass-lint.