Add curly: 'error'
to eslintrc and fix linting
This commit is contained in:
parent
c2be9e6f3a
commit
7c0f5a356e
5 changed files with 21 additions and 10 deletions
|
@ -45,8 +45,9 @@ const fakeAPI = {
|
|||
msg.timestamp === undefined ||
|
||||
msg.relay !== undefined ||
|
||||
msg.destination !== undefined
|
||||
)
|
||||
) {
|
||||
throw new Error('Invalid message');
|
||||
}
|
||||
|
||||
messagesSentMap[
|
||||
`${destination}.${messageArray[i].destinationDeviceId}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue