From b39417837c6b57c1e53709bf969f0004378726e3 Mon Sep 17 00:00:00 2001 From: Khushal Agarwal Date: Mon, 23 Oct 2023 21:16:25 +0530 Subject: [PATCH] fix: linting issues in SampleApp --- examples/SampleApp/.eslintrc.json | 2 +- examples/SampleApp/package.json | 7 ++++--- examples/SampleApp/yarn.lock | 25 ++++++++++++++++--------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/examples/SampleApp/.eslintrc.json b/examples/SampleApp/.eslintrc.json index fcb12c80bf..31a3401157 100644 --- a/examples/SampleApp/.eslintrc.json +++ b/examples/SampleApp/.eslintrc.json @@ -92,7 +92,7 @@ "browser": true }, "extends": [ - "@react-native-community", + "@react-native", "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:jest/recommended", diff --git a/examples/SampleApp/package.json b/examples/SampleApp/package.json index 0741741c90..a9b9434f9e 100644 --- a/examples/SampleApp/package.json +++ b/examples/SampleApp/package.json @@ -56,9 +56,10 @@ }, "devDependencies": { "@babel/core": "^7.21.5", + "@babel/eslint-parser": "^7.21.3", + "@babel/eslint-plugin": "^7.22.10", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", - "@babel/eslint-parser": "^7.21.3", "@react-native/eslint-config": "^0.72.2", "@react-native/metro-config": "^0.72.11", "@tsconfig/react-native": "^3.0.0", @@ -71,12 +72,12 @@ "eslint-plugin-better-styled-components": "^1.1.2", "eslint-plugin-jest": "27.2.1", "eslint-plugin-markdown": "^3.0.0", + "eslint-plugin-prettier": "4.2.1", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-typescript-sort-keys": "^2.3.0", - "eslint-plugin-prettier": "4.2.1", - "prettier": "^2.8.8", "jest": "29.5.0", "metro-react-native-babel-preset": "0.76.8", + "prettier": "^2.8.8", "react-test-renderer": "18.2.0", "typescript": "4.2.4" }, diff --git a/examples/SampleApp/yarn.lock b/examples/SampleApp/yarn.lock index 321f990356..051663fe28 100644 --- a/examples/SampleApp/yarn.lock +++ b/examples/SampleApp/yarn.lock @@ -74,6 +74,13 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.0" +"@babel/eslint-plugin@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.22.10.tgz#b84e0f029b8f78604c3f6797cd6208cad46fbcf5" + integrity sha512-SRZcvo3fnO5h79B9DZSV6LG2vHH7OWsSNp1huFLHsXKyytRG413byQk9zxW1VcPOhnzfx2VIUz+8aGbiE7fOkA== + dependencies: + eslint-rule-composer "^0.3.0" + "@babel/generator@^7.20.0", "@babel/generator@^7.22.0", "@babel/generator@^7.22.3", "@babel/generator@^7.7.2": version "7.22.3" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.3.tgz#0ff675d2edb93d7596c5f6728b52615cfc0df01e" @@ -7361,10 +7368,10 @@ statuses@~1.5.0: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== -stream-chat-react-native-core@5.19.0: - version "5.19.0" - resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.19.0.tgz#8408f64c7d4eb97fc315e865b0759092e17c09ca" - integrity sha512-p/+Rdo18JIoBkt+BovFnNezh18DXq+/k6WClx1JPgjcJg35OkqXx/W47WLLWuurBw/NR/Il9orFj7JRO/Ebddg== +stream-chat-react-native-core@5.19.2: + version "5.19.2" + resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-5.19.2.tgz#4a60f639316122816fe749261af2ac54d7bf6395" + integrity sha512-WgNhZXbiNIn5NsXnVp34PDyVhlGWzYdMqOvXRZh4Gdz3uj3VDyn9mUbOJPNXIPntHCimyfnX5A4Ka8JTCBDMXg== dependencies: "@babel/runtime" "^7.12.5" "@gorhom/bottom-sheet" "4.4.8" @@ -7378,7 +7385,7 @@ stream-chat-react-native-core@5.19.0: path "0.12.7" react-native-markdown-package "1.8.2" react-native-url-polyfill "^1.3.0" - stream-chat "~8.12.2" + stream-chat "~8.13.1" "stream-chat-react-native-core@link:../../package": version "0.0.0" @@ -7388,10 +7395,10 @@ stream-chat-react-native-core@5.19.0: version "0.0.0" uid "" -stream-chat@~8.12.2: - version "8.12.4" - resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.12.4.tgz#3c2044ceb74b4be8bd06191963723d7d47014ec1" - integrity sha512-YaNuQNqiJcF82+VKAGNSV8wv0+Th73kHIV4Owiu2Bvhwqt7398Ertr+bxW4WXkBtwKoAeOZOc0oacrUKWQAuKQ== +stream-chat@~8.13.1: + version "8.13.1" + resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.13.1.tgz#9781a456487f376d7c9c98271a4f4c926a9e6cf8" + integrity sha512-k0tOmtlLsvVxpZ2EuR+Z/qQiyCHOIjACqwnBZnT1ERA1t3549U2vzkUE6l2tN2VGAgUP1tDl00FhZO5JrAkMKw== dependencies: "@babel/runtime" "^7.16.3" "@types/jsonwebtoken" "~9.0.0"