Skip to content

Commit 7480aa3

Browse files
authored
refactor(lib/validator): prefix unused param with underscore (#755)
Signed-off-by: Frazer Smith <[email protected]>
1 parent 69419af commit 7480aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/validator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Validator {
2121
keyword: 'fjs_type',
2222
type: 'object',
2323
errors: false,
24-
validate: (type, date) => {
24+
validate: (_type, date) => {
2525
return date instanceof Date
2626
}
2727
})

0 commit comments

Comments
 (0)