Files
webextensions-examples/eslint-example/README.md

18 lines
474 B
Markdown

# ESLint Example
## What it shows
This shows how to configure a WebExtension with
[eslint](http://eslint.org/)
to protect against
writing JavaScript code that may be incompatible with modern versions of
Firefox or Chrome.
## How to use it
This requires [NodeJS](https://nodejs.org/en/) and [npm](http://npmjs.com/).
* 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.