stylelint-config-rational-order
stylelint-config-rational-order copied to clipboard
Stylelint config that sorts related property declarations by grouping together in the rational order :vertical_traffic_light:
```md yarn audit v1.22.4 ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ low │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ yargs-parser │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=13.1.2 =15.0.1 =18.1.2 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of...
stylelint and stylelint order should be listed as peerDependencies so the user can specify their versions. This fixes the issue of the [blank line in error messages](https://github.com/hudochenkov/stylelint-order/commit/6b600cf0b7cb5b410865da3e3659db39f31d5dc4) and allows users...
`stylelint.config.js` file like this: ```js module.exports = { extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'], plugins: ['stylelint-order', 'stylelint-config-rational-order/plugin'], rules: { // `standard` conflict with `rational-order` 'declaration-empty-line-before': [ 'never', { except: ['after-comment', 'after-declaration', 'first-nested'], ignore:...
The spec conforming gap is part of the rules, but row-gap and column-gap are not.
With this css: ```css h1 { position: absolute; display: block; float: right; color: black; background-color: blue; border: 1px black solid; } ``` This configuration (basically copy/pasta). ``` { "extends": [...
Hi there! Is there any way to change the config to invert this order? Thanks. 
The properties "grid-column-gap" and "grid-row-gap" have been deprecated in favor for the "column-gap" and "row-gap" properties. I would like to see these added to the boxmodel group
See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties In modern applications that are created with Ionic the recommend the new logical properties, so instead of `margin-left:` we are using `margin-inline-start:`.
I like separating the properties into rational groups with lines in between - however when there's only a handful (< 3 || 4) of properties the gaps are a bit...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...