chore(style): modify eslint rules (#1011)

* chore(style): use strict rules

* chore: modify position

* chore(style): warn about `console.log` and `==`

* fix: fix `console.log` error

* Update CropperDiv.js

* Update HomePage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
q1anx1
2022-08-13 00:04:18 +08:00
committed by GitHub
parent 6676cc8ff3
commit a741c5179a
5 changed files with 14 additions and 9 deletions

View File

@ -207,6 +207,7 @@ class ForgetPage extends React.Component {
hidden={this.state.current !== 0}
ref={this.form}
name="step1"
// eslint-disable-next-line no-console
onFinishFailed={(errorInfo) => console.log(errorInfo)}
initialValues={{
application: application.name,