Skip to content

Commit

Permalink
Merge pull request #94 from Hunter275/biome-fixes-v2
Browse files Browse the repository at this point in the history
biome rules
  • Loading branch information
Hunter275 authored Jun 26, 2024
2 parents ad4b202 + bcbd2cf commit 15f5079
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"suspicious": {
"noAssignInExpressions": "warn"
},
"style": {
"noParameterAssign": "warn"
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshtastic/js",
"version": "2.3.6-0",
"version": "2.3.7-0",
"description": "Browser library for interfacing with meshtastic devices",
"license": "GPL-3.0-only",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/adapters/httpConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export class HttpConnection extends MeshDevice {
signal,
method: "GET",
headers: {
// biome-ignore lint/style/useNamingConvention: "Accept header requires PascalCase"
Accept: "application/x-protobuf",
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/transformHandler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { SimpleEventDispatcher } from "ste-simple-events";
import type { Logger } from "tslog";
import * as Protobuf from "../protobufs.js";
import * as Types from "../types.js";
import type { SimpleEventDispatcher } from "ste-simple-events";

export const transformHandler = (
log: Logger<unknown>,
Expand Down

0 comments on commit 15f5079

Please sign in to comment.