aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
committerBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
commit7741a3cc37662ab2ff9606bdaffc0317b79a8dd9 (patch)
tree1bee45d2821debe3c6e7e2ab40250218d251097a /.eslintrc
parentbb8d5ef47baf7ad16a1bc58526f81ce332b090d6 (diff)
Use new lib componentsHEADmain
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"
}
}