2019-02-10 21:25:29 +01:00
|
|
|
module.exports = {
|
2022-07-07 02:23:37 +02:00
|
|
|
"env": {
|
2019-02-10 21:25:29 +01:00
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
2022-07-07 02:23:37 +02:00
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"parserOptions": {
|
2020-08-19 11:50:26 +02:00
|
|
|
"ecmaVersion": 2020,
|
2022-07-07 02:23:37 +02:00
|
|
|
"sourceType": "module"
|
2019-02-10 21:25:29 +01:00
|
|
|
},
|
2022-07-07 02:23:37 +02:00
|
|
|
"rules": {
|
|
|
|
"no-console": "off",
|
|
|
|
"no-empty": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
"no-unused-vars": "warn"
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"DEFINE_VERSION": "readonly",
|
|
|
|
"DEFINE_GLOBAL_HASH": "readonly",
|
|
|
|
// only available in sw.js
|
|
|
|
"DEFINE_UNHASHED_PRECACHED_ASSETS": "readonly",
|
|
|
|
"DEFINE_HASHED_PRECACHED_ASSETS": "readonly",
|
|
|
|
"DEFINE_HASHED_CACHED_ON_REQUEST_ASSETS": "readonly"
|
2019-02-10 21:25:29 +01:00
|
|
|
}
|
2020-08-19 11:50:26 +02:00
|
|
|
};
|