From c89497345ae1114d4a7dc8bc58d2bca14d0cb1d0 Mon Sep 17 00:00:00 2001 From: Mattie Conover Date: Fri, 27 May 2022 11:55:21 -0700 Subject: [PATCH] Fix prettier + githook (#503) * Fix prettier + githook * remove rust format from lintstagedrc --- .lintstagedrc | 3 +-- .prettierignore | 10 ++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .prettierignore diff --git a/.lintstagedrc b/.lintstagedrc index b29849992..df50b8c4e 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -2,6 +2,5 @@ "*.js": "prettier --write", "*.ts": "prettier --write", "*.md": "prettier --write", - "*.sol": "prettier --write", - "*.rs": "prettier --write" + "*.sol": "prettier --write" } \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..f130e7656 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,10 @@ +*.rs +*.toml +*.sh +*.env + +*.lock + +*.Dockerfile +Dockerfile +