Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergonz committed Sep 22, 2024
1 parent dc0ee0f commit 6cb51bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/lib/perf_bench/fixtures/fixture-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const wtf = `Daenerys Stormborn of the House Targaryen, First of Her Name, the U
export function createHeros(count: number) {
const data: SnapshotInOf<Hero>[] = []
let i = 0
let even = true
let even = true // eslint-disable-line @typescript-eslint/no-unused-vars
let n1
let n2
let n3
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/test/patch/patch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe("onPatches and applyPatches", () => {
runUnprotected(() => {
p.x = p.x // eslint-disable-line no-self-assign
p.arr[0] = p.arr[0] // eslint-disable-line no-self-assign
p.p2!.y = p.p2!.y
p.p2!.y = p.p2!.y // eslint-disable-line no-self-assign
})

expect(pPatches).toMatchInlineSnapshot(`[]`)
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/test/snapshot/getSnapshot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ test("reactive snapshots", () => {
// no op
runUnprotected(() => {
p.x = p.x // eslint-disable-line no-self-assign
p.p2!.y = p.p2!.y
p.p2!.y = p.p2!.y // eslint-disable-line no-self-assign
})
expect(pResult.length).toBe(3)
expect(p2Result.length).toBe(1)
Expand Down

0 comments on commit 6cb51bf

Please sign in to comment.