5 votes
Accepted

Why is ESLint not working properly for Lightning Web Components in VS Code and how to make it work?

This may be because of a change in version 48.2.0 of the extensions that was released on Feb 20. Changelog Remove automatic configuration of eslint.nodePath and eslintrc.json To get it back, there ...
mberry's user avatar
  • 66
2 votes

@api setter invalid reassignment of public property

An LWC should not directly update its API properties as covered in the documentation: Using getters and setters ensures that the public API contract is easily enforced. Don’t change the value of a ...
Phil W's user avatar
  • 36.2k
1 vote
Accepted

Terminal error (esLint) related to hasOwnProperty when compiling

It looks like this is Lint error (just a notifier for any missing ";" or extra spaces or other stuff..). It won't break code in most cases. But helps to keep code clean. I used this ...
LuizEduardoMPF's user avatar
1 vote

How to resolve @lwc/lwc/no-unknown-wire-adapters linting errors in LWC?

Through trial and error I found a config that seems to work, basically upgrading eslint-plugin-lwc and eslint-config-lwc to 1.0.0 (and downgrading eslint-plugin-jest to avoid a dependency version ...
Jelle van Geuns's user avatar
1 vote

Why is ESLint not working properly for Lightning Web Components in VS Code and how to make it work?

You get this error because eslint is not able to find salesforce/eslint-config-lwc module. You need to install eslint and related config modules on every project, or you can install them globally. ...
steals's user avatar
  • 1,243

Only top scored, non community-wiki answers of a minimum length are eligible