otion
otion copied to clipboard
ESLint plugin for keeping the recommended pseudo selector order
Motivation
Simple pseudos have a sorting order which will be recommended on the long term, even after #1 gets resolved. This should serve as a guarantee for atomic efficiency, generating the least amount of CSS rules possible.
Details
The recommended configuration should emit an error until customizable rule sorting is implemented. After that, a warning should suffice.