Source code

Revision control

Other Tools

1
---
2
eslint:
3
description: JavaScript linter
4
# ESLint infra handles its own path filtering, so just include cwd
5
include: ['.']
6
exclude: []
7
extensions: ['js', 'jsm', 'jsx', 'xul', 'html', 'xhtml']
8
support-files:
9
- '**/.eslintrc.js'
10
- '.eslintignore'
11
- 'tools/lint/eslint/**'
12
# Files that can influence global variables
13
- 'browser/base/content/nsContextMenu.js'
14
- 'browser/base/content/utilityOverlay.js'
15
- 'browser/components/customizableui/content/panelUI.js'
16
- 'browser/components/downloads/content/downloads.js'
17
- 'browser/components/downloads/content/indicator.js'
18
- 'testing/mochitest/tests/SimpleTest/EventUtils.js'
19
- 'testing/mochitest/tests/SimpleTest/MockObjects.js'
20
- 'testing/mochitest/tests/SimpleTest/SimpleTest.js'
21
- 'testing/mochitest/tests/SimpleTest/WindowSnapshot.js'
22
- 'toolkit/components/printing/content/printUtils.js'
23
- 'toolkit/components/viewsource/content/viewSourceUtils.js'
24
- 'toolkit/content/contentAreaUtils.js'
25
- 'toolkit/content/editMenuOverlay.js'
26
- 'toolkit/content/globalOverlay.js'
27
- 'toolkit/modules/Services.jsm'
28
type: external
29
payload: eslint:lint
30
setup: eslint:setup