2019-01-28 17:49:25 +00:00
|
|
|
{
|
|
|
|
"env": {
|
2019-01-28 17:56:40 +00:00
|
|
|
"browser": true,
|
2019-01-28 17:49:25 +00:00
|
|
|
"node": false,
|
2022-01-18 20:12:53 +00:00
|
|
|
// Don't use `webextensions` because it enables the browser global.
|
|
|
|
// We want to use globalThis.browser instead:
|
|
|
|
// https://github.com/mozilla/webextension-polyfill/pull/351
|
2019-01-28 17:49:25 +00:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
// Allow the `module` global, but not the `require(…)` function
|
|
|
|
"module": false,
|
2022-01-18 20:12:53 +00:00
|
|
|
"chrome": true,
|
2019-01-28 17:49:25 +00:00
|
|
|
},
|
2019-01-28 17:56:40 +00:00
|
|
|
}
|