problem description
encountered a specification error while uploading git.
9:3 error Expected blank line between class members lines-between-class-members
the environmental background of the problems and what methods you have tried
read the error message should be the space in line 9 is not standard but has not found a solution.
related codes
import React, { PureComponent } from "react";
export default class HomePage extends PureComponent {
constructor(args) {
super(args);
this.state = {};
}
render() { // 9
return <div>HomePage</div>;
}
}
Thank you
< hr >this occurs when the ant-pro scaffolding generates a new page after the project is generated, and appears when uploading git