aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:07:52 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:07:52 +0200
commit8b25c58124f87421fd3da836b884f338f33a8113 (patch)
tree2a6a7ebf5b7f02fd47b0187367b9e77d3f65016d /.eslintrc
parentae85c067634676251e812765c81adfdef8f85f9d (diff)
Update docs and tooling
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc44
1 files changed, 11 insertions, 33 deletions
diff --git a/.eslintrc b/.eslintrc
index bb7120d..2b34ba8 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,41 +1,19 @@
{
+ "parserOptions": {
+ "ecmaVersion": 2021
+ },
+ "extends": [
+ "@hapi/eslint-config-hapi"
+ ],
"rules": {
"indent": [
2,
2
],
- "quotes": [
- 2,
- "single"
- ],
- "linebreak-style": [
- 2,
- "unix"
- ],
- "semi": [
- 2,
- "always"
- ],
- "no-trailing-spaces": [
- 2,
- {
- "skipBlankLines": false
- }
- ],
- "eqeqeq": [
- 2,
- "allow-null"
- ],
- "consistent-return": 2,
- "curly": 2,
- "dot-location": [2, "property"],
- "guard-for-in": 2,
- "no-extra-bind": 2
- },
- "env": {
- "es6": true,
- "node": true,
- "browser": true
+ "no-undef": 2,
+ "require-yield": 0
},
- "extends": "eslint:recommended"
+ "ignorePatterns": [
+ "tap-snapshots"
+ ]
}