Closed RupertBarrow closed 1 year ago
@RupertBarrow , please include the command that you're trying to run.
@RupertBarrow , are you still experiencing this issue?
Oups, sorry @jfeingold35 , let me have a look ...
Well @jfeingold35 , I can't get ESLint to work any more in this repo. I'm stuck with :
ESLint: 8.50.0
ESLint couldn't find the config "@salesforce/eslint-config-lwc/recommended" to extend from. Please check that the name of the config is correct.
The config "@salesforce/eslint-config-lwc/recommended" was referenced from the config file in "/Users/.../.eslintrc.json".
If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.
I'm linting in a package/x directory in a mono repo, and it's looking for .eslintrc.json in the root directory; that's strange.
I've followed instructions here https://developer.salesforce.com/tools/vscode/en/lwc/linting and support here https://salesforce.stackexchange.com/questions/296012/why-is-eslint-not-working-properly-for-lightning-web-components-in-vs-code-and-h without success.
It's probably because I'm now in a monorepo with 4 packages/... directories to be linted separately. I am not active on this project for the moment, so I will leave this subject as it is. You can close the issue if you like.
Describe the bug In JavaScript/ES5+, specifying a custom LWC ESLint exclusion does not seem to be identified
To Reproduce Code : timer.js
ESLint configuration : eslintrc.json
Expected behavior Should not show an error
Screenshots
Desktop (please complete the following information):
Additional context I get a similar error with :
"Workaround": Have you found any ways to sidestep the problem? No
"Urgency": How severe is this problem? "Business stopping" vs "Not business-stopping". Not business-stopping