This shows how to configure a WebExtension with eslint to protect against writing JavaScript code that may be incompatible with modern versions of Firefox or Chrome.
npm install
to install all dependencies.npm run lint
to view a report of any coding errors.