Skip to content

Commit

Permalink
Target for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
becseya committed Feb 10, 2023
1 parent e44b466 commit 5f7e496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ export function parseUnsafeNmeaSentence(sentence: string): UnsafePacket {
}


export function getUnsafePacketId(packet: UnsafePacket) : string {
export function getUnsafePacketId(packet: UnsafePacket): string {
return (packet.sentenceId === "?") ? packet.originalPacketId : packet.sentenceId;
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"scripts": {
"build": "npm run lint && tsc",
"lint": "tslint *.ts codecs/*.ts examples/*.ts tests/*.ts",
"lint-fix": "npm run lint -- --fix",
"prepublish": "npm run test",
"test": "npm run build && mocha -R tap dist/tests"
},
Expand Down

0 comments on commit 5f7e496

Please sign in to comment.