2019-02-11 01:55:29 +05:30
|
|
|
module.exports = {
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"parserOptions": {
|
2020-08-19 15:20:26 +05:30
|
|
|
"ecmaVersion": 2020,
|
2019-02-11 01:55:29 +05:30
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
2021-02-12 01:38:43 +05:30
|
|
|
"no-console": "off",
|
2021-05-20 14:41:57 +05:30
|
|
|
"no-empty": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
2021-06-14 22:43:42 +05:30
|
|
|
"no-unused-vars": "warn"
|
2021-12-01 21:57:13 +05:30
|
|
|
},
|
|
|
|
"globals": {
|
2021-12-09 21:07:31 +05:30
|
|
|
"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-11 01:55:29 +05:30
|
|
|
}
|
2020-08-19 15:20:26 +05:30
|
|
|
};
|