-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Fix linting issues #22062
Fix linting issues #22062
Conversation
RNTester/e2e/sanity.test.js
Outdated
@@ -30,7 +30,7 @@ describe('Sanity', () => { | |||
await element(by.text('OK')).tap(); | |||
}); | |||
|
|||
it(`Two buttons with JustifyContent:'space-between' should be tappable`, async () => { | |||
it('Two buttons with JustifyContent:\'space-between\' should be tappable', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linter would be happy with double quotes here and then you don't need to escape the inner ones.
it('Two buttons with JustifyContent:\'space-between\' should be tappable', async () => { | |
it("Two buttons with JustifyContent:'space-between' should be tappable", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Thanks for these fixes! |
@ignacioola merged commit ae8ec39 into |
Summary: Fixes lots of ESLint warnings. Many of them where in PR #20877 by janicduplessis which requested to split the linting fixes from configuration and package changes. I solved only the issues that I was most certain about but I would love to get hands on all of them with a little bit of input. Pull Request resolved: facebook/react-native#22062 Differential Revision: D12889447 Pulled By: TheSavior fbshipit-source-id: 35f7a08104a5b859c860afdde4af2b32c0685c50
Summary: Fixes lots of ESLint warnings. Many of them where in PR #20877 by janicduplessis which requested to split the linting fixes from configuration and package changes. I solved only the issues that I was most certain about but I would love to get hands on all of them with a little bit of input. Pull Request resolved: facebook/react-native#22062 Differential Revision: D12889447 Pulled By: TheSavior fbshipit-source-id: 35f7a08104a5b859c860afdde4af2b32c0685c50
Summary: Fixes lots of ESLint warnings. Many of them where in PR facebook#20877 by janicduplessis which requested to split the linting fixes from configuration and package changes. I solved only the issues that I was most certain about but I would love to get hands on all of them with a little bit of input. Pull Request resolved: facebook#22062 Differential Revision: D12889447 Pulled By: TheSavior fbshipit-source-id: 35f7a08104a5b859c860afdde4af2b32c0685c50
Fixes lots of ESLint warnings. Many of them where in PR #20877 by @janicduplessis which requested to split the linting fixes from configuration and package changes.
I solved only the issues that I was most certain about but I would love to get hands on all of them with a little bit of input.
Test Plan:
Run linting from the React Native project:
And see less linting issues than before.
Release Notes:
[INTERNAL] [ENHANCEMENT] [eslint] - Fix eslint issues