From c2949629ecfee1e8cc76d8fa5e052ad25c139ad4 Mon Sep 17 00:00:00 2001 From: WilliamDecker Date: Mon, 20 Nov 2023 20:29:18 -0500 Subject: [PATCH] Update .prettierrc.js jsxBracketSameLine deprecated in v2.4.0 of Prettier, replaced by bracketSameLine. https://prettier.io/docs/en/options.html#deprecated-jsx-brackets --- .prettierrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierrc.js b/.prettierrc.js index 4f7ef193130c9..45986c05ee5cb 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -5,7 +5,7 @@ const {esNextPaths} = require('./scripts/shared/pathsByLanguageVersion'); module.exports = { bracketSpacing: false, singleQuote: true, - jsxBracketSameLine: true, + bracketSameLine: true, trailingComma: 'es5', printWidth: 80, parser: 'flow',