Closed
Description
What version of this package are you using?
14.3.3
What operating system, Node.js, and npm version?
Node 12.15.0 - NPM 6.13.4
What happened?
standard --fix
not fix some problem:
Root.js:46:7: Expected indentation of 4 space characters but found 6
const PrivateRoute = ({ component: Component, ...rest }) => (
<Route
{...rest}
render={props =>
!isAuth() ? (
<Redirect to={{ pathname: '/', state: { from: props.location } }} />
) : (
<Component {...props} />
)} {/* line 46 */}
/>
)
If I change the indentation to 4 spaces, I get the following error:
Root.js:46:1: Expected indentation of 6 spaces but found 4
The error is cyclical.
Metadata
Assignees
Type
Projects
Status
Done