Skip to content

Commit

Permalink
Merge pull request #151 from poap-xyz/github-run-lint
Browse files Browse the repository at this point in the history
Run lint on Github workflow
  • Loading branch information
jm42 authored Nov 27, 2024
2 parents 728bd38 + d4f30fd commit 8d260e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Run checks

on:
pull_request:
Expand All @@ -25,5 +25,8 @@ jobs:
- name: Build packages
run: yarn build

- name: Run lint
run: yarn lint

- name: Run tests
run: yarn test
4 changes: 4 additions & 0 deletions packages/moments/src/client/MomentsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ export class MomentsClient {
media.fileBinary,
url,
media.fileType,
// FIXME the given function could return a promise but
// - moments api provider doesn't expect a fouth argument
// - poap moments api accepts a function that does not returns a promise
// eslint-disable-next-line @typescript-eslint/no-misused-promises
onFileUploadProgress,
);

Expand Down
1 change: 1 addition & 0 deletions packages/utils/src/queries/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export function createAddressFilter(
: {};
}

// eslint-disable-next-line complexity
export function createNotNullAddressFilter(
key: string,
filterZeroAddress = true,
Expand Down

0 comments on commit 8d260e7

Please sign in to comment.