Comments (4)
May be it is reloading, but not updating errors highlight in files
from vscode-stylelint.
I can't reproduce your problem using stackblitz.
from vscode-stylelint.
@ota-meshi because there is no way to post bug without repo. But stackblitz or others, do not has extensions support. Just open file in vscode with installed extension.
from vscode-stylelint.
I'm experiencing the same issue. This issue only applied to already opened css
files
There is no command to restart the extension, so we have 5 options:
- restart vscode
- restart extension host
- close and re-open each
css
file - change
Language mode
of each openedcss
file fromcss
to anything else and then back tocss
- disable and then enable stylelint in the workspace configuration
None of these is ideal and it's just a hustle.
Workspace config file:
{
"settings": {
"stylelint.enable": true,
"stylelint.configFile": ".stylelintrc.js"
}
}
stylelint log doesn't show any new entries when .stylelintrc.js
config file was modified and I'm unable activate more verbose logs with suggested
cmd /C "set NODE_ENV=development&&code"
because it opens a new window with NODE_ENV
set to development
, however once I open my project in that window, that variable is being removed.
vscode-stylelint: 1.2.4
Stylelint: 15.10.3
VSCode: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
from vscode-stylelint.
Related Issues (20)
- [Feature]: Configure when linting runs
- [Bug]: Setting the path to Stylelint fails HOT 2
- [Bug]: HOT 2
- Error not recognised in vscode HOT 3
- 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
- [Feature]: Update bundled StyleLint to version 15. HOT 1
- [Bug]: ESM-only stylelint plugins fail to import with Yarn PnP HOT 12
- [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 22
- Standardize labels HOT 17
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.