Repository navigation
Merge request for #316 - #321
Conversation
MrNaif2018
left a comment
There was a problem hiding this comment.
Thank you very much for your pull request! Please check the review comments.
Also while this passes the linting, it doesn't compile yet:
ERROR in ./layouts/default.vue?vue&type=style&index=0&lang=scss& friendly-errors 16:34:02
Module build failed (from ./node_modules/sass-loader/dist/cjs.js): friendly-errors 16:34:02
SassError: Can't find stylesheet to import.
β·
31 β @import "./css/_transition";
β ^^^^^^^^^^^^^^^^^^^
β΅
layouts/default.vue 31:9 root stylesheet
This is because css folder contains two .styl files which need to be migrated too. Also when stylus is fully removed you can run
yarn remove stylus stylus-loader
Also sorry if the PR is not finished yet, I just try to reply with a timely review (: Tip: you can mark PR as draft or add it to the title if it is not yet finished. Thank you!
MrNaif2018
left a comment
There was a problem hiding this comment.
Thanks. All that is left now is to change two last stylus files to sass and remove stylus and stylus-loader packages
|
I think I got it all now, thanks for quick feedback again π |
MrNaif2018
left a comment
There was a problem hiding this comment.
Thank you very much once again! This now works and looks the same as before.
One last thing: could you please format sass files with prettier? If you want to tackle another issue(s), let me know! Actually looks like our eslint linting in CI doesn't check sass files formatting at all. Setting it up is another good first issue (:
|
Sure thing, I can tackle that too! Edit: I updated the scss files with prettier formatting. Regarding setting up the CI to lint sass files, where or what config file should I look into? I saw the .circleci config.yml file but couldn't see anything about eslint linting in it. @MrNaif2018 |
|
Thank you very much for your PR! Merging! |
|
You're now in our contributors list! https://github.com/bitcartcc/bitcart#contributors- |
|
@MaximeKoitsalu Actually I checked, and sass formatting should be set up not by linting from eslint, but by pre-commit. It will run prettier on all files, also our linting and our consistency checks, see #320 |
Migrate all styles to scss