We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code formatter messes up anonymous functions as function parameters, puts them in one line and when there are comments, breaks the code.
The text was updated successfully, but these errors were encountered:
job_add( func () : async () { await job_canister_start({slot = new_history_slot}); //await job_oracle_set({slot = new_history_slot; oracle = _oracle}); await job_conf_set({slot = new_history_slot; config = _conf}); });
will result in
job_add( func () : async () {await job_canister_start({slot = new_history_slot}); //await job_oracle_set({slot = new_history_slot; oracle = _oracle}); await job_conf_set({slot = new_history_slot; config = _conf}); });
Sorry, something went wrong.
This will be fixed in the next release (v0.4.7). Cheers!
v0.4.7
In the meantime, you can use a // prettier-ignore comment to work around this.
// prettier-ignore
Successfully merging a pull request may close this issue.
Code formatter messes up anonymous functions as function parameters, puts them in one line and when there are comments, breaks the code.
The text was updated successfully, but these errors were encountered: