vscode-stylelint | The official Visual Studio Code extension for Stylelint
kandi X-RAY | vscode-stylelint Summary
kandi X-RAY | vscode-stylelint Summary
The official Visual Studio Code extension for Stylelint. Notice: 1.x of this extension has breaking changes from 0.x versions, including, but not limited to, changes to which documents are linted by default. See the migration section for more information.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-stylelint
vscode-stylelint Key Features
vscode-stylelint Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-stylelint
QUESTION
I follow the guide to install stylelint
vscode extension, but it does not work on my computer.
I'm pretty sure that I follow all the necessary steps.
- Install Extensions.
- Disable the built-in linters in User setting.
- Use npm to install stylelint and its standard configuration.
- Create a .stylelintrc.json configuration file in the root of my project.
- Run stylelint from command-line.
But the extention still not automatically validate the css, what is going wrong?
...ANSWER
Answered 2021-Sep-12 at 06:37After reading the guide again, I found the setting stylelint.config
and understand its definition:
Set stylelint config option. Note that when this option is enabled, stylelint doesn't load configuration files.
So I look at my vscode user setting, oh, stylelint.config: {}
. After changing it to null, stylelint automatically validates the css file immediately.
Phew~
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-stylelint
Execute the Extensions: Install Extensions command from the Command Palette.
Type @id:stylelint.vscode-stylelint into the search form and install the topmost one.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page