.eslintrc.js for react code example Example: eslint version check in react <div className={'sidebarOption ${selected && "sidebarOption--active"}'}>