aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc15
1 files changed, 11 insertions, 4 deletions
diff --git a/.eslintrc b/.eslintrc
index ca29564..1ea88c5 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,5 +1,15 @@
{
- "extends": "eslint-config-hapi",
+ "parserOptions": {
+ "ecmaVersion": 2019,
+ "sourceType": "module"
+ },
+ "env": {
+ "es6": true,
+ "browser": true
+ },
+ "extends": [
+ "@hapi/eslint-config-hapi"
+ ],
"rules": {
"indent": [
2,
@@ -7,8 +17,5 @@
],
"no-undef": 2,
"require-yield": 0
- },
- "parserOptions": {
- "sourceType": "module"
}
}