Closed biraj21 closed 2 years ago
I just published 0.1.5, should be good~
I updated the package and it is working fine now.
import prettier from "prettier";
import javaPlugin from "prettier-plugin-java";
import phpPligin from "@prettier/plugin-php";
import * as rustPlugin from "prettier-plugin-rust";
const plugins = [javaPlugin, phpPligin, rustPlugin];
Thank you!
Bug Report
I am using prettier and its plugins (
prettier-plugin-java, @prettier/plugin-php
) in Node.js to format each file based on its inferred parser. Java & PHP are working fine with ES6 imports but I am getting the error while importingprettier-plugin-rust
. It is working fine in Common JS modules though.💻 Input
🔴 Output
Common JS imports are working fine though.