Skip to content

Commit

Permalink
chore: bump lab
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Oct 23, 2024
1 parent 053a6fc commit 6f5a974
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict';

const HapiPlugin = require('@hapi/eslint-plugin');

module.exports = [
{
ignores: ['node_modules/**', 'test/templates/**']
},
...HapiPlugin.configs.module
];
2 changes: 1 addition & 1 deletion lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ module.exports = class Manager {
try {
var data = await Utils.readFile(template, { encoding: settings.encoding });
}
catch (err) {
catch {
throw Boom.badImplementation('Failed to read view file: ' + template);
}

Expand Down
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
"template",
"hapi"
],
"eslintConfig": {
"extends": [
"plugin:@hapi/module"
]
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@hapi/bounce": "^3.0.1",
Expand All @@ -27,9 +22,9 @@
},
"devDependencies": {
"@hapi/code": "^9.0.3",
"@hapi/eslint-plugin": "^6.0.0",
"@hapi/hapi": "^21.2.1",
"@hapi/lab": "^25.1.2",
"@hapi/eslint-plugin": "^7.0.0",
"@hapi/hapi": "^21.3.10",
"@hapi/lab": "^26.0.0",
"@types/node": "^14.18.48",
"babel-core": "^6.0.0",
"babel-plugin-transform-react-jsx": "^6.0.0",
Expand Down

0 comments on commit 6f5a974

Please sign in to comment.