I usually create js files so this is my first time creating jsx files. Is there some lint settings I need to change to prevent it from giving me errors?
I only have this written in the Header component:
```import React from "react";
const Header = () => {
return (
<h1>Header</h1>
)
}
export default Header;
You are using deprecated "babel-eslint". Try with "@babel/eslint-parser"
https://github.com/eslint/eslint-scope/issues/77#issuecomment-1133775347
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.