mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 14:59:12 +02:00
10 lines
381 B
Markdown
10 lines
381 B
Markdown
# ESLint Example
|
|
|
|
## What it shows
|
|
|
|
A project configured to use the [Mozilla ESlint configuration](https://www.npmjs.com/package/eslint-plugin-mozilla). By using a linter on your extension source code you can be sure that you will only be writing JavaScript that is compatible with Firefox.
|
|
|
|
## How to use
|
|
|
|
* run `npm install` to install packages
|
|
* run `npm run lint` to use eslint |