@wistia/eslint-config 0.32.1 → 0.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.32.1",
3
+ "version": "0.32.2",
4
4
  "packageManager": "yarn@4.1.0",
5
5
  "description": "Wistia's ESLint configurations",
6
6
  "main": "react.js",
@@ -633,7 +633,8 @@ module.exports = {
633
633
 
634
634
  // Disallow usage of referential-type variables as default param in functional component
635
635
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-object-type-as-default-prop.md
636
- 'react/no-object-type-as-default-prop': 'error',
636
+ // decision: there's an edge case issue this could prevent but it's not common enough to warrant the rule
637
+ 'react/no-object-type-as-default-prop': 'off',
637
638
 
638
639
  // This rule is deprecated. It was replaced by `react/sort-default-props`
639
640
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-sort-default-props.md