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
commit8d2dfbab7667bef775f220f2d88c0f1f4aab7805 (patch)
tree1340085fb3e7b3282f0c572117f78c95fa70c775 /.eslintrc
parentb3847a2e355c1c5113eb99eb1a755535bd225998 (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"
+ ]
}