$ npm install postcss-unique-selectors
Ensure CSS selectors are unique.
With npm do:
npm install postcss-unique-selectors --save
Selectors are sorted naturally, and deduplicated:
h1,h3,h2,h1 {
color: red
}
h1,h2,h3 {
color: red
}
See the PostCSS documentation for examples for your environment.
See CONTRIBUTORS.md.
MIT © Ben Briggs
© 2010 - cnpmjs.org x YWFE | Home | YWFE