-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to specify emptyLineBefore to never #8
Comments
Approved in principle 👍 I would just rename function into |
As a quick fix I'm using this: // .stylelintrc.js
const { propertyOrdering } = require('stylelint-semantic-groups');
propertyOrdering[0] = propertyOrdering[0].map(rule => {
rule.emptyLineBefore = 'never';
return rule;
});
module.exports = {
plugins: ['stylelint-order'],
rules: {
'order/properties-order': propertyOrdering
},
}; |
@alizadeh118 thanks, I have fixed it with following
|
Thanks for the project.
Currently, the emptyLineBefore default to always. How to specify emptyLineBefore to never? possible reason:
What do you think of following solution
thanks
The text was updated successfully, but these errors were encountered: