Gathering detailed insights and metrics for @web-io/stylelint-config-rational-order
Gathering detailed insights and metrics for @web-io/stylelint-config-rational-order
Gathering detailed insights and metrics for @web-io/stylelint-config-rational-order
Gathering detailed insights and metrics for @web-io/stylelint-config-rational-order
Stylelint config that sorts related property declarations by grouping together in the rational order 🚦
npm install @web-io/stylelint-config-rational-order
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
451 Stars
29 Commits
53 Forks
9 Watchers
17 Branches
2 Contributors
Updated on Jul 02, 2025
Latest Version
0.1.4
Package Id
@web-io/stylelint-config-rational-order@0.1.4
Unpacked Size
31.90 kB
Size
10.45 kB
File Count
22
NPM Version
8.19.3
Node Version
16.19.0
Published on
Feb 14, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
fork from stylelint-config-rational-order
Stylelint config that sorts related property declarations by grouping together following the order:
1.declaration-order { 2 /* Positioning */ 3 position: absolute; 4 top: 0; 5 right: 0; 6 bottom: 0; 7 left: 0; 8 z-index: 10; 9 10 /* Box Model */ 11 display: block; 12 float: right; 13 width: 100px; 14 height: 100px; 15 margin: 10px; 16 padding: 10px; 17 18 /* Typography */ 19 color: #888; 20 font: normal 16px Helvetica, sans-serif; 21 line-height: 1.3; 22 text-align: center; 23 24 /* Visual */ 25 background-color: #eee; 26 border: 1px solid #888; 27 border-radius: 4px; 28 opacity: 1; 29 30 /* Animation */ 31 transition: all 1s; 32 33 /* Misc */ 34 user-select: none; 35}
stylelint
, stylelint-order
and this package to your project:1npm install --save-dev stylelint stylelint-order stylelint-config-rational-order 2# or, if you prefer yarn over npm: 3yarn add --dev stylelint stylelint-order stylelint-config-rational-order
1{ 2 "extends": [ 3 // "stylelint-config-standard", 4 "stylelint-config-rational-order" 5 ] 6}
This shareable config contains the following:
1{ 2 "plugins": [ 3 "stylelint-order", 4 "stylelint-config-rational-order/plugin" 5 ], 6 "rules": { 7 "order/properties-order": [], 8 "plugin/rational-order": [true, { 9 "border-in-box-model": false, 10 "empty-line-between-groups": false, 11 }] 12 } 13}
Since it adds stylelint-order
and stylelint-config-rational-order
to plugins and also adds required rules, you don't have to do this yourself when extending this config.
Defines to which group the border property belongs to.
If true
border property belongs to the box model section.
The default value is false
(border property belongs to the visual section).
If true
adds an empty line between groups. The default value is false
.
The pros and cons of both ways in detail:
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
64 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More