Files

ESLint Example

What it shows

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.

How to use it

This requires NodeJS and npm.

  • Change into the example directory and run npm install to install all dependencies.
  • Execute npm run lint to view a report of any coding errors.