프로젝트
GitHub에서 보기
primer/stylelint-config
소개
Sharable stylelint config used by GitHub's CSS
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPrimer Stylelint Config
A sharable stylelint config object that enforces GitHub's CSS rules
Install
Requires Node.js 22.22.2 or later in the 22.x line, 24.15.0 or later in the 24.x line, or Node.js 26 or later.
$ npm install --save --dev @primer/stylelint-config
Usage
Within your stylelint config object You can extend this configuration. This will serve as a base for your config, then you can make overrides in your own config object:
{
"extends": ["@primer/stylelint-config"],
"rules": { }
}
Documentation
Primer Stylelint Config extends the stylelint-config-standard configuration supplied by Stylelint, and makes modifications in /index.js.
Plugins
- stylelint-order: Order-related linting rules for stylelint. Properties must be sorted according to this list.
- stylelint-scss: A collection of SCSS specific linting rules for stylelint
- scss/selector-no-redundant-nesting-selector: Disallow redundant nesting selectors (
&).
- scss/selector-no-redundant-nesting-selector: Disallow redundant nesting selectors (
- primer/colors: Enforces the use of certain color variables.
- primer/spacing: Enforces the use of spacing variables for margin and padding.
- primer/typography: Enforces the use of typography variables for certain CSS properties.
- primer/borders: Enforces the use of certain variables for border properties.
- primer/box-shadow: Enforces the use of certain variables for
box-shadow. - primer/responsive-widths: Errors on
widthandmin-widththat is larger than the minimum browser size supported.320px
License
관련 프로젝트 살펴보기
불러오는 중…