Check that the first parameter of o3r-var is equal to the variable name.
Example:
Example :@use '@o3r/styling' as o3r;
$my-margin: o3r.variable('my-margin', 1px);
The fix
option can automatically fix all the problems reported by this rule.
No options available yet.
The following patterns are considered problems:
Example :@use '@o3r/styling' as o3r;
$my-margin: o3r.variable('my-margin-bottom', 1px);
@use '@o3r/styling' as o3r;
$my-margin: o3r.variable('$my-margin', 1px);
The following patterns are not considered problems:
Example :@use '@o3r/styling' as o3r;
$my-margin: o3r.variable('my-margin', 1px);