Closed aronchick closed 9 months ago
OK - so it looks like the issue was this:
"extends": ["react-app", "wesbos/typescript"],
Which I now switched to this:
"extends": ["wesbos/typescript"],
Which led to the following problem (pasted here for google searchers):
1:1 error Resolve error: typescript with invalid interface loaded as resolver import/no-self-import
Which I fixed by updating the settings
section:
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
},
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
}
},
Resolved!
I've been hammering my head against this for a few days now:
Here's the package.json:
Here's the .erlintrc
I don't even see where the plugins this would be pulling from! :(