A mighty CSS linter that helps you avoid errors and enforce conventions.
패키지 검색...
stylelint유사 패키지:
npm 다운로드 트렌드
3 년
🌟 stylelint의 README.md에 실시간 사용 차트를 표시하려면 아래 코드를 복사하세요.
## Usage Trend
[](https://npm-compare.com/stylelint#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 stylelint의 README.md에 GitHub Stars 트렌드 차트를 표시하려면 아래 코드를 복사하세요.
## GitHub Stars Trend
[](https://npm-compare.com/stylelint)
통계 세부사항
패키지
다운로드
Stars
크기
Issues
발행일
라이선스
stylelint
6,684,530
11,359
1.74 MB
186
25日前
MIT
인기 비교
stylelint
stylelint의 README
Stylelint
A mighty CSS linter that helps you avoid errors and enforce conventions.
Features
It's mighty as it:
has over 100 built-in rules for modern CSS syntax and features
supports plugins so you can create your own custom rules
automatically fixes problems where possible
supports shareable configs that you can create or extend
can be customized to your exact needs
has 15k unit tests making it robust
is trusted by companies worldwide like Google and GitHub
And it can be extended to:
extract embedded styles from HTML, Markdown and CSS-in-JS template literals
parse CSS-like languages like SCSS, Sass, Less and SugarSS
How it'll help you
It'll help you avoid errors, for example:
invalid things, e.g. malformed grid areas
valid things that are problematic, e.g. duplicate selectors
unknown things, e.g. misspelled property names
And enforce conventions, for example:
disallow things, e.g. specific units
enforce naming patterns, e.g. for custom properties
set limits, e.g. the number of ID selectors
specify notations, e.g. for modern color functions
We recommend using a pretty printer like Prettier alongside Stylelint. Linters and pretty printers are complementary tools that work together to help you write consistent and error-free code.