Skip to content

Commit 5e87545

Browse files
committed
fix: upgrade prettier to ^3.0.0 to resolve ESLint plugin compatibility
Issue #919: Doesn't work with NPM The template was using prettier@^2.8.8 but eslint-plugin-prettier@^5.5.4 requires prettier >= 3.0.0, causing npm install to fail with peer dependency conflicts. This change upgrades prettier to ^3.0.0 to ensure compatibility with the latest eslint-plugin-prettier.
1 parent f3868e6 commit 5e87545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-react-native-library/src/utils/configureTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const ESLINT = {
4040
'eslint-config-prettier': '^10.1.8',
4141
'eslint-plugin-prettier': '^5.5.4',
4242
'eslint': '^9.35.0',
43-
'prettier': '^2.8.8',
43+
'prettier': '^3.0.0',
4444
},
4545
},
4646
};

0 commit comments

Comments
 (0)