Skip to content

Commit

Permalink
ci: added RTL eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jguddas committed Oct 1, 2023
1 parent b7c1f51 commit 61f53cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
Expand Down

0 comments on commit 61f53cd

Please sign in to comment.