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",