using react eslint plugin rule code example
Example: eslint version check in react
<div className={'sidebarOption ${selected && "sidebarOption--active"}'}>
<div className={'sidebarOption ${selected && "sidebarOption--active"}'}>