diff --git a/lib/linter.js b/lib/linter.js
index <HASH>..<HASH> 100644
--- a/lib/linter.js
+++ b/lib/linter.js
@@ -40,6 +40,13 @@ module.exports = function (cwd, args, text) {
       .readFileSync(path.resolve(cwd, unquote(files[0])).trim())
       .toString();
   }
-  report = cwdDeps.prettier.format(text, currentOptions);
+  try {
+    report = cwdDeps.prettier.format(text, currentOptions);
+  } catch (err) {
+    if (!currentOptions.fallback) {
+      throw err;
+    }
+    report = text;
+  }
   return report;
 };
Add `--fallback` option

This makes it so that if formatting fails, the input is returned.