Comments (9)
I know why this is happening, the extension is trying to load the postcss language but fails when you don't have the PostCSS Language Server https://marketplace.visualstudio.com/items?itemName=csstools.postcss
i installed the language server on my vscode instance and the error disappears. might be a quick fix for now.
from vscode-stylelint.
I've disabled the plugin because it was so annoying.
from vscode-stylelint.
I found the message at Developer: Show Running Extensions
.
from vscode-stylelint.
Same here. I'm not using PostCSS at all, I'm using SASS instead. Stylelint seems to be working fine but I wonder what's causing this error.
from vscode-stylelint.
For me this notification pops up every time I start VS Code.
from vscode-stylelint.
@ryansully for me too
from vscode-stylelint.
How do we go about closing this issue? do we need to add an try/catch statement specifically for PostCSS to prevent throwing errors if the client doesnt want to install the PostCSS extension on vscode?
i use Linaria, CSS in JS for life 🤟
https://github.com/callstack/linaria
from vscode-stylelint.
Well the extension should not load the PostCSS part if the LSP is not installed or ask if you want to install it.
from vscode-stylelint.
I have the latest version of the extension installed (v0.84.0
) and still get this error message each time VS Code starts up.
[stylelint.vscode-stylelint]: Unknown language incontributes.vscode-stylelint.language
. Provided value: postcss
EDIT: Sorry, just realized this hasn't been released yet!
from vscode-stylelint.
Related Issues (20)
- Code Helper HOT 1
- [Feature]: Add .scss to the Stylelint extension fix on save and error lens. HOT 2
- [Bug]: Error with prettier 3.0.0 HOT 1
- [Bug]: Not updating settings after editing the config file `.stylelintrc.json` HOT 4
- [Feature]: Update bundled StyleLint to version 15. HOT 1
- [Bug]: ESM-only stylelint plugins fail to import with Yarn PnP HOT 8
- [Feature]: enable markdown in error messages
- [Bug]: Prettier plugins cannot be resolved when package.json is not in the root folder HOT 1
- stylelint slowing down VS Code when saving files HOT 1
- VSCode extension does not respect folder settings! HOT 2
- [Bug]: format can't trigger auto fix HOT 13
- [Feature]: Surface "Error: No rules found within configuration. Have you provided a "rules" property?"
- The JS/TS language service immediately crashed 5 times. The service will not be restarted HOT 1
- CSS properties in comments increase indefinitely. HOT 24
- Fix double slash comments being appended to the nearest property in VSCode HOT 21
- Standardize labels HOT 17
- [Bug]: Sorting properties not work HOT 21
- [Bug]: Formatting is impossible with stylelint HOT 2
- i
- [Bug]: Unsure if extension works with stylelint v16 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-stylelint.