matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

Please update stylelint to 7.6 #237

Closed grigorii-horos closed 7 years ago

grigorii-horos commented 7 years ago

In 7.6 was added font-family-no-duplicate-names rule, and now I obtain follow error, when I use stylefmt:

[00:07:17] Using assets/css/includes/_sortable-table.css
Error: Undefined rule font-family-no-duplicate-names
    at exports.default (***/Projects/node_modules/stylefmt/node_modules/stylelint/dist/utils/configurationError.js:8:13)
...

https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md#760

gucong3000 commented 7 years ago

I tried to solve this problem in the upstream software, but failed: https://github.com/stylelint/stylelint/issues/2112

We can use another program, the priority of the user to install a higher version of the stylelint to load the configuration:

239

gucong3000 commented 7 years ago

@horosgrisa try:

npm i stylelint --save-dev
npm i stylefmt --save-dev

It should fix your issue