ESLint - no-unused-expressions in ReactJS
问题 Getting a ESLint error when copiling with babel: Line 28: Expected an assignment or function call and instead saw an expression no-unused-expressions Line 29: Expected an assignment or function call and instead saw an expression no-unused-expressions Any idea how to get rid of these whilst making my timer still work as intended? Or have you got a better way of me doing my timer? class RequestTimer extends Component { constructor(props) { super(props); this.state = { seconds: 0, minutes: 0,