Turn off bool prop namig lint
This commit is contained in:
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user