Bug 1874684 - Part 6: Limit day length calculations to safe integers. r=mgaudet
[gecko.git] / tools / lint / eslint.yml
blobb54d328e05accb1c905b39e71c31de2109a98d91
1 ---
2 eslint:
3     description: JavaScript linter
4     # ESLint infra handles its own path filtering, so just include cwd
5     include: ['.']
6     exclude: []
7     # When adding to this list, consider updating hooks_js_format.py as well.
8     extensions: ['mjs', 'js', 'jsm', 'json', 'jsx', 'html', 'sjs', 'xhtml']
9     support-files:
10         - '**/.eslintrc.js'
11         - '.eslintrc-test-paths.js'
12         - '.eslintignore'
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'
29     type: external
30     payload: eslint:lint
31     setup: eslint:setup