Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest stylelint #10

Open
ronilaukkarinen opened this issue Nov 7, 2018 · 2 comments
Open

Update to latest stylelint #10

ronilaukkarinen opened this issue Nov 7, 2018 · 2 comments

Comments

@ronilaukkarinen
Copy link

Causes problems if a newer standard is used. See also.

[Browsersync] Watching files...
[10:47:20] Starting 'styles'...
[10:47:20] Finished 'styles' after 20 ms
[clean-css] Original size: 149271 bytes
[clean-css] Minified size: 114521 bytes
[clean-css] Time spent on minification: 751 ms
[clean-css] Compression efficiency: 23.279806526384895 %
[Browsersync] 1 file changed (global.min.css)
Error: Undefined rule font-family-no-missing-generic-family-keyword
    at module.exports (/Users/rolle/Projects/airdev/content/themes/air-light/node_modules/gulp-stylefmt/node_modules/stylelint/lib/utils/configurationError.js:8:27)
    at Object.keys.forEach.ruleName (/Users/rolle/Projects/airdev/content/themes/air-light/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:279:13)
    at Array.forEach (<anonymous>)
    at normalizeAllRuleSettings (/Users/rolle/Projects/airdev/content/themes/air-light/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:275:29)
    at augmentConfigBasic.then.then.then.then.augmentedConfig (/Users/rolle/Projects/airdev/content/themes/air-light/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:84:12)
@ronilaukkarinen
Copy link
Author

Sorry, of course stylefmt is dependency of gulp-stylefmt and stylelint is dependency of stylefmt so only needed is to update dependencies of stylefmt... my bad.

@ronilaukkarinen
Copy link
Author

Any updates coming? still getting:

[Stylefmt] Automatically correcting file based on .stylelintrc...
[15:52:47] Starting 'styles'...
[15:52:47] Finished 'styles' after 2.73 ms
[15:52:47] Starting 'scss-lint'...
[15:52:47] Finished 'scss-lint' after 718 μs
Error: Undefined rule font-family-no-missing-generic-family-keyword
    at module.exports (/Users/rolle/Projects/dev/node_modules/gulp-stylefmt/node_modules/stylelint/lib/utils/configurationError.js:8:27)
    at Object.keys.forEach.ruleName (/Users/rolle/Projects/dev/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:279:13)
    at Array.forEach (<anonymous>)
    at normalizeAllRuleSettings (/Users/rolle/Projects/dev/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:275:29)
    at augmentConfigBasic.then.then.then.then.augmentedConfig (/Users/rolle/Projects/dev/node_modules/gulp-stylefmt/node_modules/stylelint/lib/augmentConfig.js:84:12)
[clean-css] Time spent on minification: 1348 ms
[clean-css] Compression efficiency: 25.89346047000526 %
[Browsersync] 1 file changed (global.min.css)

Manually overwriting like this works, but not a "solution".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant