Skip to content

Commit 8280b4e

Browse files
committed
fix: update eslint-config, fix eslint test issues
1 parent 435aa82 commit 8280b4e

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

.eslintrc

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

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
"author": "Adobe Inc.",
1818
"license": "Apache-2.0",
1919
"devDependencies": {
20-
"@adobe/eslint-config-aio-lib-config": "^2.0.0",
20+
"@adobe/eslint-config-aio-lib-config": "^2.0.1",
2121
"codecov": "^3.5.0",
22-
"eslint": "^8.22.0",
23-
"eslint-config-standard": "^17.0.0",
24-
"eslint-plugin-import": "^2.26.0",
25-
"eslint-plugin-jest": "^23.20.0",
26-
"eslint-plugin-jsdoc": "^37.9.7",
27-
"eslint-plugin-n": "^15.2.5",
22+
"eslint": "^8.47.0",
23+
"eslint-config-standard": "^17.1.0",
24+
"eslint-plugin-import": "^2.28.0",
25+
"eslint-plugin-jest": "^27.2.3",
26+
"eslint-plugin-jsdoc": "^42.0.0",
27+
"eslint-plugin-n": "^16.0.1",
2828
"eslint-plugin-node": "^11.1.0",
29-
"eslint-plugin-promise": "^6.0.0",
29+
"eslint-plugin-promise": "^6.1.1",
3030
"jest": "^29.5.0",
3131
"jsdoc-to-markdown": "^8.0.0",
3232
"tsd-jsdoc": "^2.4.0",
33-
"typescript": "^5.0.4"
33+
"typescript": "^5.1.6"
3434
},
3535
"files": [
3636
"src"

src/AioCoreSDKErrorWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function curryCreateClass (errorClassName, sdkName, message, BaseClass) {
4141
* Returns a function that updates the parameters specified.
4242
* This is used in ErrorWrapper.
4343
*
44-
* @param {object<string, Error>} codes an object that will map an error code to an Error class.
44+
* @param {Object<string, Error>} codes an object that will map an error code to an Error class.
4545
* @param {Map.<string, string>} messages a Map, that will map the error code to an error message
4646
* @returns {Function} an updater function
4747
*/

0 commit comments

Comments
 (0)