From e3641ffe04156d1b13689a673a192639648616e7 Mon Sep 17 00:00:00 2001 From: Anmol Baranwal Date: Sun, 12 Nov 2023 01:28:57 +0530 Subject: [PATCH] chore: add prettier configuration --- .prettierignore | 8 ++++++++ .prettierrc.js | 8 ++++++++ Contributing.md | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .prettierignore create mode 100644 .prettierrc.js diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..27b3d9a --- /dev/null +++ b/.prettierignore @@ -0,0 +1,8 @@ +# Ignore list +/* + +# Do not ignore these folders: +!__tests__/ +!__mocks__/ +!.github/ +!src/ \ No newline at end of file diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..3563175 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,8 @@ +module.exports = { + tabWidth: 2, + useTabs: false, + semi: false, + singleQuote: true, + trailingComma: 'none', + bracketSpacing: false, +}; \ No newline at end of file diff --git a/Contributing.md b/Contributing.md index 8725bd8..a79fa48 100644 --- a/Contributing.md +++ b/Contributing.md @@ -42,4 +42,4 @@ Because of how GitHub Actions are run, the source code of this project is transp ## Remarks ✅ -- If something is missing here, or you feel something is not well described, please [raise an issue](https://github.com/rupali-codes/LinksHub/issues) with relevant template. \ No newline at end of file +- If something is missing here, or you feel something is not well described, please [raise an issue](https://github.com/rupali-codes/LinksHub/issues/new/choose) with relevant template. \ No newline at end of file