You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question
I used to have a setting that enforced to have a separate file for variables. So, I had to @import these variables in order to have no errors after linting. But, unfortunately, I lost this setting.
Does anyone know this rule?
This is a snippet of main.scss file
When using my old setting, this would throw an error. Just because I am using a variable in line 4 that I have just defined in the same "main.scss" file, in line 1.
Question
I used to have a setting that enforced to have a separate file for variables. So, I had to @import these variables in order to have no errors after linting. But, unfortunately, I lost this setting.
Does anyone know this rule?
This is a snippet of main.scss file
When using my old setting, this would throw an error. Just because I am using a variable in line 4 that I have just defined in the same "main.scss" file, in line 1.
1 $bg-color: rgb(239, 239, 245);
2
3 body {
4 background-color: $bg-color;
5 }
The text was updated successfully, but these errors were encountered: