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

Upgrade ESLint so we can use JSX Fragment syntax #16328

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Aug 9, 2019

Now that we're using Babel 7, this is the last blocker.

@@ -65,6 +60,9 @@ module.exports = {
'no-var': ERROR,
strict: ERROR,

// Enforced by Prettier
'max-len': OFF,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was getting some weird syntax error in a transitive module. Google didn't turn up anything so I decided to turn it off since the length is enforced by Prettier, anyway.

Copy link
Contributor

Choose a reason for hiding this comment

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

Prettier won’t warn for long strings tho, and won’t rewrite them either. Which... may be fine?

Copy link
Contributor

Choose a reason for hiding this comment

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

fwiw, this also yelled at me for long line comments, which prettier doesn't touch

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll add a comment so the next person who looks at it knows why I turned it off.

@facebook facebook deleted a comment from sizebot Aug 9, 2019
@acdlite
Copy link
Collaborator Author

acdlite commented Aug 9, 2019

^ Oops didn't mean to delete that. Sizebot says the base commit is broken because the coverage went down slightly after the Babel 7 PR.

@sizebot
Copy link

sizebot commented Aug 9, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

Now that we're using Babel 7, this is the last blocker.
@acdlite acdlite force-pushed the upgrade-eslint branch 3 times, most recently from 6a170a4 to 3402eac Compare August 9, 2019 19:47
@acdlite acdlite merged commit 0bd0c52 into facebook:master Aug 9, 2019
NMinhNguyen referenced this pull request in enzymejs/react-shallow-renderer Jan 29, 2020
Now that we're using Babel 7, this is the last blocker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants