-
Notifications
You must be signed in to change notification settings - Fork 195
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
Formatter is incompatible with 0.6 #167
Comments
Regarding the issue with override, this is a problem with prettier which is the formater prettier-solidity/prettier-plugin-solidity#221 |
@wysenynja Regarding prettier the best way is to either: "to avoid prettier to mess with an unsuported keyword is to add the comment or I have added now the support to simply disable formatting using the following setting: Regarding the upgrade of Solhint I am awaiting confirmation that the package is ready to be integrated into vscode. |
Thank you! I've disabled the formatter for now since there are a lot of lines affected. Looking forward to that issue being closed on prettier. |
Actually, this shouldn't be closed yet. We should close it when prettier has fixed this issue and then vscode-solidity has been updated with their fix. |
Is it possible to make this plugin just use the prettier and solhint that are installed in the current project? as opposed to using what's bundled in the extension? |
@juanfranblanco I think prettier-solidity should work with 0.6 now. |
Thanks @fvictorio |
I am trying to code in solidity 0.6, but the linter keeps removing my "override" lines. How do I stop it?
Alternatively, it looks like I can use the "next" version: protofire/solhint#170 (comment). Is there any way to do this? I don't see an option in settings.
The text was updated successfully, but these errors were encountered: