diff --git a/.eslintrc.json b/.eslintrc.json index 707a361b81..9b2be21efc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -91,7 +91,7 @@ "no-restricted-syntax": [ "error", { - "selector": "Literal[value=/(left|right|[mptb-][rl])-/]", + "selector": "Literal[value=/(left|right|[mptb-][rl])-/],TemplateElement[value.raw=/(left|right|[mptb-][rl])-/]", "message": "Try to use start and end instead of left and right for better RTL support. https://tailwindcss.com/blog/tailwindcss-v3-3#simplified-rtl-support-with-logical-properties" } ]