From 04a3f844880133ab28ded0f22f0298ae18a5dee3 Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Wed, 15 Jun 2022 12:48:02 +0530 Subject: [PATCH] style: fix prettier --- .gitattributes | 1 + .prettierignore | 2 +- package.json | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..07764a7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index ec8174d..a8862f3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,2 @@ .github/ -CHANGELOG.md \ No newline at end of file +*.md \ No newline at end of file diff --git a/package.json b/package.json index cee1c9d..b773f7c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "templates/*" ], "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "format": "prettier --check .", + "fix": "prettier --write ." }, "repository": { "type": "git",