epiphany/node_modules/stylelint-order/rules/properties-order/messages.js
2023-12-09 22:48:07 -08:00

11 lines
480 B
JavaScript

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}"`,
});