hudochenkov / postcss-sorting

PostCSS plugin to keep rules and at-rules content in order.
MIT License
516 stars 30 forks source link

Extend sorting rule from another file #78

Closed dnichols closed 6 years ago

dnichols commented 6 years ago

Similar to an eslintrc file. Is this possible?

hudochenkov commented 6 years ago

Plugin itself doesn't look for any config files. But it's possible to store settings as a JSON, then require(), and pass it to plugin in your build tool configuration.

Text editor plugins support config files as well. Refer to their documentation.