Skip to content

[NO QA]Ignore all PropTypes.arrayOf(PropTypes.object) - #10448

Merged
luacmartins merged 2 commits into
mainfrom
andrew-lint
Aug 18, 2022
Merged

[NO QA]Ignore all PropTypes.arrayOf(PropTypes.object)#10448
luacmartins merged 2 commits into
mainfrom
andrew-lint

Conversation

@AndrewGable

Copy link
Copy Markdown
Contributor

Details

It seems like some other change upgraded lint to now check for PropTypes.arrayOf(PropTypes.object) as being forbid-prop-types. This ignores all of those prop types to make lint pass.

Fixed Issues

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

Tests

  • Verify lint test passes

@AndrewGable
AndrewGable requested a review from a team as a code owner August 18, 2022 15:56
@AndrewGable AndrewGable self-assigned this Aug 18, 2022
@melvin-bot

melvin-bot Bot commented Aug 18, 2022

Copy link
Copy Markdown

Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers!

@melvin-bot
melvin-bot Bot requested review from NikkiWines and removed request for a team August 18, 2022 15:57
@AndrewGable

Copy link
Copy Markdown
Contributor Author

I tried tweaking the rules object in eslintrc and was unable to get something that worked for this specific error, so this is the best solution I could come up with. Let me know if you can think of a better one.

@luacmartins luacmartins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for fixing this!

@luacmartins

Copy link
Copy Markdown
Contributor

Merging to fix linting issues in App!

@luacmartins
luacmartins merged commit 25a7a90 into main Aug 18, 2022
@luacmartins
luacmartins deleted the andrew-lint branch August 18, 2022 16:06
@OSBotify

Copy link
Copy Markdown
Contributor

✋ 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
Copy Markdown
Contributor

🚀 Deployed to staging by @luacmartins in version: 1.1.89-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 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