-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy patheslint.config.mjs
60 lines (59 loc) · 1.86 KB
/
eslint.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import globals from "globals";
import pluginJs from "@eslint/js";
/** @type {import('eslint').Linter.Config[]} */
export default [
{
languageOptions: {
globals: {
...globals.browser,
checkForMiddleClick: "readonly",
delayedStartupPromise: "readonly",
gBrowser: "readonly",
gCustomizeMode: "readonly",
gContextMenu: "readonly",
gIdentityHandler: "readonly",
gNavToolbox: "readonly",
gPermissionPanel: "readonly",
gProtectionsHandler: "readonly",
gSync: "readonly",
gTabsPanel: "readonly",
gUnifiedExtensions: "readonly",
gURLBar: "readonly",
openTrustedLinkIn: "readonly",
AboutReaderParent: "readonly",
BookmarkingUI: "readonly",
BookmarksEventHandler: "readonly",
BrowserCommands: "readonly",
BrowserPageActions: "readonly",
Cc: "readonly",
Ci: "readonly",
Components: "readonly",
ContentAnalysis: "readonly",
ContextualIdentityService: "readonly",
CustomizableUI: "readonly",
ChromeUtils: "readonly",
DownloadsIndicatorView: "readonly",
Favicons: "readonly",
FullPageTranslationsPanel: "readonly",
FullZoom: "readonly",
FirefoxViewHandler: "readonly",
MigrationUtils: "readonly",
NetUtil: "readonly",
PageActions: "readonly",
PageProxyClickHandler: "readonly",
PanelUI: "readonly",
PictureInPicture: "readonly",
PlacesCommandHook: "readonly",
PlacesMenu: "readonly",
PlacesToolbarHelper: "readonly",
PlacesUtils: "readonly",
Services: "readonly",
SidebarController: "readonly",
ShoppingSidebarParent: "readonly",
UC_API: "readonly",
ZoomManager: "readonly",
},
},
},
pluginJs.configs.recommended,
];