vector-im-hydrogen-web/.eslintrc.js

26 lines
674 B
JavaScript
Raw Permalink Normal View History

2019-02-10 21:25:29 +01:00
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2020,
2019-02-10 21:25:29 +01:00
"sourceType": "module"
},
"rules": {
2021-02-11 21:08:43 +01:00
"no-console": "off",
"no-empty": "off",
"no-prototype-builtins": "off",
"no-unused-vars": "warn"
2021-12-01 17:27:13 +01:00
},
"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
}
};