From 68a0fb15cb037dcf2c3ab07e7c01076fb3baff25 Mon Sep 17 00:00:00 2001 From: Joel Fillmore Date: Wed, 9 Oct 2024 10:43:00 -0700 Subject: [PATCH] Switch to json version of prettier config --- .prettierrc.js | 11 ----------- .prettierrc.json | 10 ++++++++++ 2 files changed, 10 insertions(+), 11 deletions(-) delete mode 100644 .prettierrc.js create mode 100644 .prettierrc.json diff --git a/.prettierrc.js b/.prettierrc.js deleted file mode 100644 index f51ac1a..0000000 --- a/.prettierrc.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - semi: true, - arrowParens: "avoid", - singleQuote: true, - tabWidth: 4, - printWidth: 100, - bracketSpacing: true, - jsxBracketSameLine: true, - htmlWhitespaceSensitivity: "ignore", - endOfLine: "auto", -}; diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..ed8cba8 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,10 @@ +{ + "semi": true, + "arrowParens": "avoid", + "singleQuote": true, + "tabWidth": 4, + "printWidth": 100, + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "ignore", + "endOfLine": "auto" +}