-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Syntax nits to make IntelliJ happy #417
Conversation
@@ -206,7 +202,10 @@ const ATTRIBUTE_TO_JSX_PROP_MAP = [ | |||
'srcSet', | |||
'tabIndex', | |||
'useMap', | |||
].reduce((obj, x) => ((obj[x.toLowerCase()] = x), obj), { for: 'htmlFor' }) |
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.
IntelliJ was complaining about comma expressions
@@ -975,6 +974,7 @@ export function compiler( | |||
|
|||
const createElementFn = options.createElement || React.createElement | |||
|
|||
// JSX custom pragma |
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.
Not adding // noinspection JSUnusedLocalSymbols
since it'd probably break the eslint override, but at least explaining what's going on
@probablyup wdyt? |
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.
LGTM
@ikonst looks like this PR is marked as a draft, anything else you were planning on doing to it? |
Nope, I think it's good to merge. |
React.Props
type is deprecated