I have created a react app from the Create React App getting started guide with --template typescript.
https://create-react-app.dev/docs/getting-started/
I have extended my config to use ESLint.
package.json:
{
"eslintConfig": {
"extends": ["react-app", "shared-config"],
"rules": {
"additional-rule": "warn"
},
"overrides": [
{
"files": ["**/*.ts?(x)"],
"rules": {
"additional-typescript-only-rule": "warn"
}
}
]
}
}
https://create-react-app.dev/docs/setting-up-your-editor/
ESLint works perfectly when running npm run build and shows up in Chrome Developer Console but within Visual Studio I get the following error:
(ESLint) Failed to load config "shared-config" to extend from. Referenced from: <package.json PATH>
How can I make this work?
