Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA] Update ESLint version #6583

Merged
merged 9 commits into from
Dec 8, 2021
Merged

[No QA] Update ESLint version #6583

merged 9 commits into from
Dec 8, 2021

Conversation

puneetlath
Copy link
Contributor

@puneetlath puneetlath commented Dec 3, 2021

Details

This is a follow up to #3133 in which we renamed our custom Text and Button components to ExpensifyText and ExpensifyButton. In Expensify/eslint-config-expensify#38 I added a rule to our ESLint configuration that throws an error if Text, Button or TextInput are imported from react-native. This is because we want our custom components used instead.

There are a handful of cases where we use Text, Button and TextInput in our code today. To keep this PR focused, I've just added comments in those cases to suppress the lint errors. And I've created follow up issues here and here to look into whether we can refactor those to use our ExpensifyText and ExpensiTextInput components instead.

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/187203

Tests

There aren't any changes to user-facing code. Just some comments added and an update of our ESLint version. However, I did click around generally in the app to make sure it still seemed to work.

QA Steps

No QA. There is nothing to test for this specifically.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image

Mobile Web

Desktop

iOS

Android

@puneetlath puneetlath self-assigned this Dec 3, 2021
@puneetlath puneetlath changed the title Update ESLint version [No QA] Update ESLint version Dec 3, 2021
@puneetlath puneetlath marked this pull request as ready for review December 3, 2021 22:47
@puneetlath puneetlath requested a review from a team as a code owner December 3, 2021 22:47
@MelvinBot MelvinBot requested review from madmax330 and removed request for a team December 3, 2021 22:47
madmax330
madmax330 previously approved these changes Dec 7, 2021
@madmax330
Copy link
Contributor

Merge conflicts

@puneetlath
Copy link
Contributor Author

Fixed.

@puneetlath
Copy link
Contributor Author

@madmax330 ready for you again whenever you have a chance!

@madmax330 madmax330 merged commit d28716a into main Dec 8, 2021
@madmax330 madmax330 deleted the puneet-eslint-update branch December 8, 2021 16:09
@OSBotify
Copy link
Contributor

OSBotify commented Dec 8, 2021

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

OSBotify commented Dec 8, 2021

🚀 Deployed to staging by @madmax330 in version: 1.1.18-4 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants