We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7abe955 commit 5eba4fbCopy full SHA for 5eba4fb
lib/rules/jsx-props-no-spreading.js
@@ -77,7 +77,7 @@ module.exports = {
77
const ignoreExplicitSpread = (configuration.explicitSpread || DEFAULTS.explicitSpread) === OPTIONS.ignore;
78
const exceptions = configuration.exceptions || DEFAULTS.exceptions;
79
const isException = (tag, allExceptions) => allExceptions.indexOf(tag) !== -1;
80
- const isProperty = ({type}) => type === 'Property';
+ const isProperty = property => property.type === 'Property';
81
return {
82
JSXSpreadAttribute: function (node) {
83
const tagName = node.parent.name.name;
0 commit comments