-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables update #923
base: develop
Are you sure you want to change the base?
Variables update #923
Conversation
…un format:check or npm run format:fix
Thanks Luchiya, that looks like a nice improvement with the new scss variables. Currently there is a linter in place for JavaScript: standardjs. However this doesn't support SCSS. prettier and standardjs may bite each other, it maybe an idea to move to prettier for both JS and SCSS so we have a unified solution. What do you think? |
It sounds reasonable. |
Ok cool. Do you know what would be needed still to replace standardjs with prettier? It looks like the new |
prettier.config.js
Outdated
printWidth: 120, | ||
semi: false, | ||
singleQuote: true, | ||
tabWidth: 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the tabWidth
to 2 spaces?
Thanks for the update @lraycheva, I think we're close. I tried but the JS files aren't yet scanned, there is probably something that need to be changed in the file names glob Can you also change the indentation to 2 spaces please? |
ping @lraycheva |
Thanks for fixing the indentation @lraycheva. I see the JS files are still not scanned, did you already have a look into that? |
ok thanks for giving it a try. I will give it a try too as soon as I have some time ok? Let's keep this PR open until then, it's probably close to a fully working solution. |
I have added prettier so that styles are formatted easily by running "npm run format:fix".
I have updated variables:
I am making this change to easily make theme styling based only on variables override.
Also I noticed that there is no standardized formatting so I installed prettier.