-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Thanks for the project.
Currently, the emptyLineBefore default to always. How to specify emptyLineBefore to never? possible reason:
- emptyLineBefore=always conflicts with rule 'declaration-empty-line-before' in stylelint-config-standard
- I prefer to emptyLineBefore=never because the count of css properties will less than 5 in most cases, the group emptyLineBefore is not necessary especially using SCSS.
What do you think of following solution
// .stylelintrc.js
const { propertyOrderingWithOptions } = require('stylelint-semantic-groups');
module.exports = {
plugins: ['stylelint-order'],
rules: {
'order/properties-order': propertyOrderingWithOptions({ emptyLineBefore: 'never' })
},
};
thanks
alizadeh118
Metadata
Metadata
Assignees
Labels
No labels