Skip to content

Commit

Permalink
XMLRPC-Client: Fix prettier eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed Aug 19, 2024
1 parent c3f5b61 commit d663faf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion projects/typescript-xmlrpc/src/lib/date_formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ export class DateFormatter {
/**
* Regular Expression that dissects ISO 8601 formatted strings into an array of parts.
*/
// eslint-disable-next-line max-len
/* eslint-disable max-len */
static ISO8601 = new RegExp(
'([0-9]{4})([-]?([0-9]{2}))([-]?([0-9]{2}))(T([0-9]{2})(((:?([0-9]{2}))?((:?([0-9]{2}))?(.([0-9]+))?))?)(Z|([+-]([0-9]{2}(:?([0-9]{2}))?)))?)?',
);
/* eslint-enable max-len */

colons = true;
hyphens = false;
Expand Down
3 changes: 2 additions & 1 deletion projects/typescript-xmlrpc/src/lib/deserializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,11 @@ function convertValue(element: Element): XmlRpcTypes {
case 'array':
return convertArray(valueChildren[0]);
default:
// eslint-disable-next-line max-len
/* eslint-disable max-len */
throw Error(
'Tag name of the single child of value needs to be i4, int, boolean, string, double, dateTime.iso8607, base64, struct or array!',
);
/* eslint-enable max-len */
}
}

Expand Down

0 comments on commit d663faf

Please sign in to comment.