Skip to content

Commit e207c7f

Browse files
author
sozinov
committed
MOBILE-103: fix lint compability with RN 0.76
1 parent a6a128e commit e207c7f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"devDependencies": {
5151
"@babel/core": "^7.25.2",
5252
"@babel/preset-env": "^7.25.3",
53-
"@react-native-community/eslint-config": "^3.0.0",
53+
"@react-native/eslint-config": "0.76.0",
5454
"@release-it/conventional-changelog": "^2.0.0",
5555
"@release-it/keep-a-changelog": "^2.3.0",
5656
"@types/jest": "^29.5.14",
@@ -125,7 +125,7 @@
125125
"eslintConfig": {
126126
"root": true,
127127
"extends": [
128-
"@react-native-community",
128+
"@react-native",
129129
"prettier"
130130
],
131131
"rules": {

src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ class MindboxSdkClass {
111111
throw new Error('Wrong initialization data!')
112112
}
113113

114-
const { domain, endpointId, subscribeCustomerIfCreated, shouldCreateCustomer, previousInstallId, previousUuid } =
115-
initializationData
114+
const { domain, endpointId, subscribeCustomerIfCreated, shouldCreateCustomer, previousInstallId, previousUuid } = initializationData
116115

117116
if (!domain || !endpointId) {
118117
this._initializing = false

0 commit comments

Comments
 (0)