This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/.eslintrc.js

27 lines
716 B
JavaScript
Raw Normal View History

2019-02-11 01:55:29 +05:30
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2020,
2019-02-11 01:55:29 +05:30
"sourceType": "module"
},
"rules": {
2021-02-12 01:38:43 +05:30
"no-console": "off",
"no-empty": "off",
"no-prototype-builtins": "off",
"no-unused-vars": "warn"
2021-12-01 21:57:13 +05:30
},
"globals": {
"DEFINE_VERSION": "readonly",
"DEFINE_GLOBAL_HASH": "readonly",
2022-05-12 15:23:29 +05:30
"DEFINE_PROJECT_DIR": "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
}
};