From 21aea70a9e98e0d45af8b64c2b5215d0f9adb47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20H=C3=A4renstam?= Date: Thu, 16 Jan 2020 14:00:28 +0100 Subject: [PATCH] update message for unsupported value replacements to use mixin instead. --- lib/messages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/messages.js b/lib/messages.js index ae9da7d..94147e2 100644 --- a/lib/messages.js +++ b/lib/messages.js @@ -8,7 +8,7 @@ export default stylelint.utils.ruleMessages(ruleName, { unexpectedValue(property, physicalValue, logicalValue) { return `Unexpected "${physicalValue}" value in "${property}" property. Use "${logicalValue}".`; }, - unexpectedValueMixin(property, physicalValue, logicalValue) { - return `Unexpected "${physicalValue}" value in "${property}" property. Use mixin instead. "${logicalValue}" is an experimental logical.`; + unexpectedValueMixin(property, physicalValue) { + return `Unexpected "${physicalValue}" value in "${property}" property. Use mixin from _direction.scss.`; } });