Turn off bool prop namig lint

This commit is contained in:
2020-12-18 21:54:15 +01:00
parent b04d630e5e
commit a78ba2ddde
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export default function Carousel({handleOpen, setHandleOpen, isMobile}) {
}
Carousel.propTypes = {
handleOpen: PropTypes.bool.isRequired, // eslint-disable-line react/boolean-prop-naming
handleOpen: PropTypes.bool.isRequired,
setHandleOpen: PropTypes.func.isRequired,
isMobile: PropTypes.bool.isRequired
}
+2 -1
View File
@@ -44,7 +44,8 @@
"react/no-danger": "warn",
"react/require-default-props": "warn",
"react/react-in-jsx-scope": "off",
"camelcase": "off"
"camelcase": "off",
"react/boolean-prop-naming" : "off"
}
}
}