Skip to content

Commit f35578f

Browse files
committed
chore: Upgrade Prettier to 3.8.3
1 parent 16458ec commit f35578f

5 files changed

Lines changed: 23 additions & 21 deletions

File tree

bun.lock

Lines changed: 11 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@types/react-test-renderer": "19.1.0",
5050
"eslint": "^8.19.0",
5151
"jest": "^30.2.0",
52-
"prettier": "2.8.8",
52+
"prettier": "3.8.3",
5353
"react-test-renderer": "19.2.6",
5454
"typescript": "^5.8.3"
5555
},

packages/react-native-mmkv/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@
6666
"@types/jest": "^29.5.12",
6767
"@types/react": "^19.2.15",
6868
"eslint": "^8.57.0",
69-
"eslint-config-prettier": "^9.1.0",
70-
"eslint-plugin-prettier": "^5.2.1",
69+
"eslint-config-prettier": "^10.1.8",
70+
"eslint-plugin-prettier": "^5.5.5",
7171
"nitrogen": "0.35.9",
72-
"prettier": "^3.3.3",
72+
"prettier": "^3.8.3",
7373
"react": "19.2.6",
7474
"react-native": "0.85.3",
7575
"react-native-nitro-modules": "0.35.9",

packages/react-native-mmkv/src/specs/MMKVFactory.nitro.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ export interface Configuration {
9696
compareBeforeSet?: boolean
9797
}
9898

99-
export interface MMKVFactory
100-
extends HybridObject<{ ios: 'c++'; android: 'c++' }> {
99+
export interface MMKVFactory extends HybridObject<{
100+
ios: 'c++'
101+
android: 'c++'
102+
}> {
101103
/**
102104
* Initialize the MMKV library with the given root path.
103105
* This has to be called once, before using {@linkcode createMMKV}.

packages/react-native-mmkv/src/specs/MMKVPlatformContext.nitro.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { HybridObject } from 'react-native-nitro-modules'
22

3-
export interface MMKVPlatformContext
4-
extends HybridObject<{ ios: 'swift'; android: 'kotlin' }> {
3+
export interface MMKVPlatformContext extends HybridObject<{
4+
ios: 'swift'
5+
android: 'kotlin'
6+
}> {
57
/**
68
* Get the MMKV base directory
79
*/

0 commit comments

Comments
 (0)