Skip to content

Commit

Permalink
Eslint fixes. var to const/let, additional fixes and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Hansen committed Feb 17, 2021
1 parent 274bea4 commit 2243aa8
Show file tree
Hide file tree
Showing 9 changed files with 273 additions and 269 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ language: node_js
after_success: npm run coverage
node_js:
- 10
- 12
- 14
- node
- lts/*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Those two resolvers are expected to return an object containing the resolved val
Also the resolve function is not passed **mergeSchemas**, but an object **mergers** that contains mergers for each of the related keywords. So properties get passed an object like this:

```js
var mergers = {
const mergers = {
properties: function mergeSchemas(schemas, childSchemaName){...},
patternProperties: function mergeSchemas(schemas, childSchemaName){...},
additionalProperties: function mergeSchemas(schemas){...},
Expand Down
Loading

0 comments on commit 2243aa8

Please sign in to comment.