summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc18
1 files changed, 15 insertions, 3 deletions
diff --git a/.eslintrc b/.eslintrc
index e38a8dd..1ea88c5 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,9 +1,21 @@
{
- "extends": "eslint-config-hapi",
+ "parserOptions": {
+ "ecmaVersion": 2019,
+ "sourceType": "module"
+ },
+ "env": {
+ "es6": true,
+ "browser": true
+ },
+ "extends": [
+ "@hapi/eslint-config-hapi"
+ ],
"rules": {
"indent": [
- "error",
+ 2,
2
- ]
+ ],
+ "no-undef": 2,
+ "require-yield": 0
}
}