alexilyaev / stylelint-find-rules

Find stylelint rules that are not configured in your stylelint config.
MIT License
27 stars 4 forks source link

Follow extends config's `extends` #9

Closed alexilyaev closed 5 years ago

alexilyaev commented 7 years ago

Related to #8

stylelint-config-wordpress has an extends of it's own, we should follow extends recursively or something.

https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress

ntwb commented 7 years ago

The SCSS extends here might make for an interesting test case for this feature:

https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/scss.js#L4-L5

The scss config is extending the primary index.js in that repo, then also using rules from the stylelint plugin stylelint-scss


I should probably update this SCSS config to extend stylelint-config-recommended-scss rather than call the rules directly in the stylelint-config-wordpress/scss config 🤔

https://github.com/kristerkari/stylelint-config-recommended-scss/blob/master/index.js

alexilyaev commented 5 years ago

Landed in v2.0.0:
https://github.com/alexilyaev/stylelint-find-rules/releases/tag/v2.0.0