Replies: 1 comment
-
Correct spelling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
version : "prettier-plugin-rust": "^0.1.8",
node: v16.13.1
The following is my code in node environment(nest frame), I use it in prettier API

options = { parser: 'rust', plugins: ['prettier-plugin-rust'], }; private commonOptions = { semi: true, singleQuote: true, tabWidth: 2, }; .... formatted = prettier.format(code, { ...this.commonOptions, ...options });
Can you tell me how to solve it, thanks
Beta Was this translation helpful? Give feedback.
All reactions