Any plan for StyleLint?
See original GitHub issueI have a new parser for PostCSS/StyleLint, postcss-html. features about vue:
- Compatible with vue component
- Support automatically fixes of StyleLint.
- Support syntax definded in
<style lang="*">
- Syntax detection by file extensions for non vue component file.
Usage:
stylelint "**/*.{vue,html,css,sss,less,scss,sass}" --custom-syntax postcss-html
Related:
/CC @dan-gamble
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Rules | Stylelint
Rules. There are over 170 rules that help you: avoid errors; enforce non-stylistic conventions; enforce stylistic conventions (frozen). The rules:.
Read more >Changelog | Stylelint
Fixed: shorthand-property-no-redundant-values message to be consistent ... Fixed: feature-name-no-unknown false positives for prefers-color-scheme (#3951).
Read more >indentation - Stylelint
The setting baseIndentLevel allows you to define a relative indent level based on CSS code block opening or closing line.
Read more >no-descending-specificity - Stylelint
Disallow selectors of lower specificity from coming after overriding selectors of higher specificity. ... Source order is important in CSS, and when two...
Read more >selector-class-pattern - Stylelint
A string will be translated into a RegExp like so new RegExp(yourString) — so be sure to escape properly. The selector value after...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I used another solution, postcss-html for stylelint CLI
Stylelint is used by Facebook, Wikipedia and GitHub.
create-react-app will support it in 2.0.
Right now it is the most popular CSS linter.