3 description: JavaScript linter
4 # ESLint infra handles its own path filtering, so just include cwd
7 # When adding to this list, consider updating hooks_js_format.py as well.
8 extensions: ['mjs', 'js', 'jsm', 'json', 'jsx', 'html', 'sjs', 'xhtml']
11 - '.eslintrc-test-paths.js'
13 - 'tools/lint/eslint/**'
14 # Files that can influence global variables
15 - 'browser/base/content/nsContextMenu.js'
16 - 'browser/base/content/utilityOverlay.js'
17 - 'browser/components/customizableui/content/panelUI.js'
18 - 'browser/components/downloads/content/downloads.js'
19 - 'browser/components/downloads/content/indicator.js'
20 - 'testing/mochitest/tests/SimpleTest/EventUtils.js'
21 - 'testing/mochitest/tests/SimpleTest/MockObjects.js'
22 - 'testing/mochitest/tests/SimpleTest/SimpleTest.js'
23 - 'testing/mochitest/tests/SimpleTest/WindowSnapshot.js'
24 - 'toolkit/components/printing/content/printUtils.js'
25 - 'toolkit/components/viewsource/content/viewSourceUtils.js'
26 - 'toolkit/content/contentAreaUtils.js'
27 - 'toolkit/content/editMenuOverlay.js'
28 - 'toolkit/content/globalOverlay.js'