プロジェクト
GitHubで見る Recess* Property Order
stormwarning/stylelint-config-recess-order
概要
🗂️ Recess に基づく Stylelint のプロパティ並べ替え順です。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +3
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルRecess* Property Order 
A Stylelint config that sorts CSS properties the way Recess did and Bootstrap did/does.
*With some modifications & additions for modern properties.
Usage
- Add stylelint, stylelint-order, and this package to your project:
npm install --save-dev stylelint stylelint-order stylelint-config-recess-order - Configure your Stylelint configuration file to extend this package:
/** @type {import('stylelint').Config} */ export default { extends: ['stylelint-config-recess-order'], rules: { // Add overrides and additional rules here }, }
Advanced
The default setup applies only the 'order/properties-order' rule with the
various property groups. If you need to configure other options for this rule,
the groups can be imported separately and the rule configured to your needs.
import propertyGroups from 'stylelint-config-recess-order/groups'
/** @type {import('stylelint').Config} */
export default {
extends: [], // Do not extend the config here.
rules: {
// Configure the rule manually.
'order/properties-order': propertyGroups.map((group) => ({
...group,
emptyLineBefore: 'always',
noEmptyLineBetween: true,
})),
},
}
[!TIP] If you need the Recess property order for any Rust-based tooling, there’s now a crate for that!
References
関連プロジェクトを探す
読み込み中…