forked from Satoxyan/firefox-second-sidebar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
38 lines (37 loc) · 1.04 KB
/
eslint.config.mjs
File metadata and controls
38 lines (37 loc) · 1.04 KB
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
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",
gNavToolbox: "readonly",
openTrustedLinkIn: "readonly",
AppConstants: "readonly",
BrowserCommands: "readonly",
Cc: "readonly",
Ci: "readonly",
ContextualIdentityService: "readonly",
CustomizableUI: "readonly",
ChromeUtils: "readonly",
Favicons: "readonly",
FullZoom: "readonly",
IOUtils: "readonly",
NetUtil: "readonly",
PathUtils: "readonly",
Services: "readonly",
SessionStore: "readonly",
SidebarController: "readonly",
UC_API: "readonly",
ZoomManager: "readonly",
},
},
},
pluginJs.configs.recommended,
];