Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/node/typescript/example.cjs/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jsonValidator.validate(serializedJson)
if (err instanceof CDX.Validation.MissingOptionalDependencyError) {
console.info('JSON validation skipped:', err)
} else {
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
})
Expand All @@ -87,7 +87,7 @@ xmlValidator.validate(serializedXML)
if (err instanceof CDX.Validation.MissingOptionalDependencyError) {
console.info('XML validation skipped:', err)
} else {
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
})
2 changes: 0 additions & 2 deletions examples/node/typescript/example.mjs/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ try {
if (err instanceof CDX.Validation.MissingOptionalDependencyError) {
console.info('JSON validation skipped:', err)
} else {
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
}
Expand All @@ -87,7 +86,6 @@ try {
if (err instanceof CDX.Validation.MissingOptionalDependencyError) {
console.info('XML validation skipped:', err)
} else {
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
}
1 change: 0 additions & 1 deletion src/serialize/xmlSerializer.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export class XmlSerializer extends XmlBaseSerializer {
if (err instanceof OptPlugError) {
throw new MissingOptionalDependencyError(err.message, err)
}
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
}
Expand Down
1 change: 0 additions & 1 deletion src/validation/jsonValidator.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ abstract class BaseJsonValidator extends BaseValidator {
if (err instanceof OptPlugError) {
throw new MissingOptionalDependencyError(err.message, err)
}
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
}
Expand Down
1 change: 0 additions & 1 deletion src/validation/xmlValidator.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export class XmlValidator extends BaseValidator {
if (err instanceof OptPlugError) {
throw new MissingOptionalDependencyError(err.message, err)
}
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err
}
}
Expand Down
10 changes: 5 additions & 5 deletions tools/code-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"node": ">=20.18"
},
"dependencies": {
"@eslint/js": "9.25.1",
"@eslint/js": "9.27.0",
"eslint": "9.14.0",
"eslint-config-love": "119.0.0",
"eslint-config-love": "120.0.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "50.6.11",
"eslint-plugin-jsdoc": "50.6.17",
"eslint-plugin-license-header": "0.8.0",
"eslint-plugin-n": "17.17.0",
"eslint-plugin-n": "17.18.0",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-tsdoc": "0.4.0",
"globals": "^16.0.0",
"neostandard": "0.12.1",
"typescript-eslint": "8.31.0"
"typescript-eslint": "8.32.1"
},
"scripts": {
"cs-fix": "npm exec -- eslint --fix ."
Expand Down