stylelint-use-logical-spec
Advanced tools
Changelog
5.0.0 (February 3rd, 2023)
Changelog
4.1.0 (June 3rd, 2022)
#22
The script loops through the maps listing of all properties and will make multiple replacements in a single string such as:
transition: max-width 1s, padding-left 2s, margin-top 3s;
will recommend (or change to):
transition: max-inline-size 1s, padding-inline-start 2s, margin-block-start 3s;
(for 'ltr' anyway)
I could only find 3 properties that would seem to fit this use case:
If there are more, this is easy to update as the regex is stored in the maps.js
file. By selecting only these nodes, I feel this one should run pretty lean instead of scanning all values for property names.
Changelog
4.0.0 (May 31st, 2022)
margin: 0;
logical
keywordChangelog
3.2.2 (July 26th, 2021)
Changelog
3.2.1 (July 26th, 2021)
Changelog
3.2.0 (February 16th, 2021)
Logical height
Logical width
Changelog
3.1.0 (November 3rd, 2020)
border
support13.7.2
Except
issues reported on original codebase - https://github.com/csstools/stylelint-use-logical/issues/3border
logical values