securityos/node_modules/stylelint-order/rules/properties-order/messages.js

12 lines
480 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
const stylelint = require('stylelint');
const ruleName = require('./ruleName');
module.exports = stylelint.utils.ruleMessages(ruleName, {
expected: (first, second, groupName) =>
`Expected "${first}" to come before "${second}"${
groupName ? ` in group "${groupName}"` : ''
}`,
expectedEmptyLineBefore: (property) => `Expected an empty line before property "${property}"`,
rejectedEmptyLineBefore: (property) => `Unexpected empty line before property "${property}"`,
});