From f408e80d703789dbc28140e2229b3ac53e16d8d3 Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti Date: Sat, 2 Mar 2024 20:55:30 +0100 Subject: [PATCH] chore(example/react_native_windows): convert prettier config to json and run fix --- example/react_native_windows/.prettierrc.js | 6 ------ example/react_native_windows/.prettierrc.json | 7 +++++++ example/react_native_windows/App.js | 3 +-- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 example/react_native_windows/.prettierrc.js create mode 100644 example/react_native_windows/.prettierrc.json diff --git a/example/react_native_windows/.prettierrc.js b/example/react_native_windows/.prettierrc.js deleted file mode 100644 index 5c4de1a4f..000000000 --- a/example/react_native_windows/.prettierrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - bracketSpacing: false, - jsxBracketSameLine: true, - singleQuote: true, - trailingComma: 'all', -}; diff --git a/example/react_native_windows/.prettierrc.json b/example/react_native_windows/.prettierrc.json new file mode 100644 index 000000000..61cedd3bf --- /dev/null +++ b/example/react_native_windows/.prettierrc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc.json", + "bracketSpacing": false, + "bracketSameLine": true, + "singleQuote": true, + "trailingComma": "all" +} diff --git a/example/react_native_windows/App.js b/example/react_native_windows/App.js index eed8bfc8e..99532995b 100644 --- a/example/react_native_windows/App.js +++ b/example/react_native_windows/App.js @@ -62,8 +62,7 @@ function Content() { + style={styles.scrollView}> {t('hello')}