Skip to content

Latest commit

 

History

History

eslint-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.