Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Remove support for using JSX without React #25

Merged
merged 9 commits into from
Mar 26, 2019

Conversation

dpisani-atl
Copy link
Contributor

This is one step to having a consistent babel configuration across the repo

pyupew
pyupew previously approved these changes Mar 26, 2019
Copy link
Contributor

@Noviny Noviny left a comment

Choose a reason for hiding this comment

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

Two small changes to keep me happy.

.eslintrc Outdated
"emotion/jsx-import": "error",
"react/jsx-filename-extension": "off",
"react/require-default-props": "off",
"jsx-a11y/anchor-is-valid": "off",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we pass options as suggested here:

https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/402

instead of turning this rule off?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tracked as AFP-238

@@ -24,6 +22,7 @@ const AllPackagesNavContent = ({ data }) => (
<HeaderSection>
{({ css }) => (
<div
// eslint-disable-next-line emotion/jsx-import
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a description of this and what this is?

@dpisani-atl dpisani-atl merged commit fce89ba into master Mar 26, 2019
@dpisani-atl dpisani-atl deleted the dpisani/AFP-234-standard-babel-config branch March 26, 2019 04:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants