Closed
Description
This simple configuration makes jsx-tag-spacing
crash:
'react/jsx-tag-spacing': 1
A quick fix is:
'react/jsx-tag-spacing': [1, {}]
Error:
TypeError: Error while loading rule 'react/jsx-tag-spacing': Cannot read property 'hasOwnProperty' of undefined
at Object.create ([...]/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js:208:60)