Skip to content

Commit

Permalink
style: linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robmcguinness committed Feb 12, 2022
1 parent 6c952c1 commit 19de338
Show file tree
Hide file tree
Showing 41 changed files with 526 additions and 713 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.json
@@ -1,5 +1,5 @@
{
"extends": ["eslint:recommended", "prettier"],
"extends": ["eslint:recommended", "plugin:@hapi/module", "prettier"],
"env": {
"node": true,
"es6": true
Expand All @@ -8,6 +8,10 @@
"ecmaVersion": 12
},
"rules": {
"no-console": 0
"eqeqeq": 0,
"no-shadow": 0,
"strict": 0,
"no-console": 0,
"@hapi/scope-start": 0
}
}
9 changes: 9 additions & 0 deletions .vscode/launch.json
Expand Up @@ -40,6 +40,15 @@
"console": "integratedTerminal",
"disableOptimisticBPs": true
},
{
"type": "node",
"request": "launch",
"name": "start options",
"program": "${workspaceFolder}/examples/options.js",
"skipFiles": ["<node_internals>/**/*.js"],
"console": "integratedTerminal",
"disableOptimisticBPs": true
},
{
"type": "node",
"request": "launch",
Expand Down
1 change: 1 addition & 0 deletions examples/assets/extendedjoi.js
@@ -1,4 +1,5 @@
const Joi = require('joi');

const customJoi = Joi.extend(joi => ({
type: 'number',
base: joi.number(),
Expand Down

0 comments on commit 19de338

Please sign in to comment.