Skip to content

Commit 27493f2

Browse files
committed
chore(deps): update package.json adobe dependencies
- fix eslint issues
1 parent 754ff98 commit 27493f2

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.eslintrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,15 @@
22
"extends": ["@adobe/eslint-config-aio-lib-config"],
33
"parserOptions": {
44
"ecmaVersion": 2020
5+
},
6+
"rules": {
7+
"jsdoc/tag-lines": [
8+
// The Error level should be `error`, `warn`, or `off` (or 2, 1, or 0)
9+
"error",
10+
"never",
11+
{
12+
"startLines": null
13+
}
14+
]
515
}
616
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"generate-docs": "npm run typings && npm run jsdoc"
1919
},
2020
"dependencies": {
21-
"@adobe/aio-lib-core-config": "^3.0.0",
22-
"@adobe/aio-lib-core-logging": "^2.0.0",
23-
"@adobe/aio-lib-env": "^2.0.0",
21+
"@adobe/aio-lib-core-config": "^5",
22+
"@adobe/aio-lib-core-logging": "^3",
23+
"@adobe/aio-lib-env": "^3",
2424
"ajv": "^8.12.0",
2525
"ajv-formats": "^2.1.1",
2626
"fs-extra": "^9.0.1",

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ async function load (options = {}) {
205205
* @param {object} options options
206206
* @param {boolean} options.throws defaults to false, if true throws on validation error instead of returning the error
207207
* @throws if not valid
208+
* @returns {object} keys: valid (boolean), errors (array)
208209
*/
209210
async function validate (coalescedAppConfigObj, options = {}) {
210211
const throws = options.throws === undefined ? false : options.throws

0 commit comments

Comments
 (0)