Repository Stylint indicates that linter works in:
In Atom it works perfectly. From CLI too.
Link from repository to vscode extension: Stylint. Link from marketplace to github repository - 404. Extension doesn't provide any description or commands (most likely it's removed or broken).
How do I lint stylus?
To perform linting, open the Command Palette (Ctrl+Shift+P), filter on "linting", and select Python: Run Linting. Linting will run automatically when you save a file.
If you're getting started with stylelint for the first time, there are two key steps to enable it in Visual Studio Code: turn off Visual Studio Code's built-in CSS linter and turn on the stylelint extension. create a stylelint configuration object and turn on some rules.
If you have the ESLint extension installed you can use CTRL+SHIFT+P to open the Command Palette. Then search for ESLint: Fix all auto-fixable Problems and press ENTER (or RETURN ). You are free from counting indentation and checking for quotation marks and semicolons!
As suggested by Alex in the comments I add my comment here as answer:
There exists a new Stylint Extension for VS Code you can use instead for linting stylus files in VS Code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With