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.
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.