You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently set up a new project that uses React with the latest versions of everything, and there are two leankit/react rules that were preventing eslint from running. I changed "react/display-name": [ 2, { "acceptTranspilerName": true } ] to "react/display-name": [ 2, { "ignoreTranspilerName": true } ], and "react/jsx-key": [ 2, 2 ] to "react/jsx-key": 2. According to the eslint-plugin-react docs, ignoreTranspilerName is the correct property name. However, I couldn't figure out what the implications of changing "react/jsx-key" or what its valid values are.
The text was updated successfully, but these errors were encountered:
I recently set up a new project that uses React with the latest versions of everything, and there are two leankit/react rules that were preventing eslint from running. I changed
"react/display-name": [ 2, { "acceptTranspilerName": true } ]
to"react/display-name": [ 2, { "ignoreTranspilerName": true } ]
, and"react/jsx-key": [ 2, 2 ]
to"react/jsx-key": 2
. According to the eslint-plugin-react docs,ignoreTranspilerName
is the correct property name. However, I couldn't figure out what the implications of changing"react/jsx-key"
or what its valid values are.The text was updated successfully, but these errors were encountered: