-
Notifications
You must be signed in to change notification settings - Fork 6
Remove support for using JSX without React #25
Conversation
…ad-docs/brisk-docs into dpisani/AFP-234-standard-babel-config
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.
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", |
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.
Can we pass options as suggested here:
https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/402
instead of turning this rule off?
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.
Tracked as AFP-238
@@ -24,6 +22,7 @@ const AllPackagesNavContent = ({ data }) => ( | |||
<HeaderSection> | |||
{({ css }) => ( | |||
<div | |||
// eslint-disable-next-line emotion/jsx-import |
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.
Can we add a description of this and what this is?
This is one step to having a consistent babel configuration across the repo