Skip to content

Commit

Permalink
Improve linting
Browse files Browse the repository at this point in the history
  • Loading branch information
j3lte committed Dec 6, 2023
1 parent bf44a22 commit 0402cd7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Check linting
if: matrix.os == 'ubuntu-latest'
run: deno lint
run: deno task lint

- name: Tests
run: deno task test
Expand Down
1 change: 0 additions & 1 deletion src/utils/qs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ type Options = {
prefix?: string;
};

// deno-lint-ignore ban-types
export type Param = string | number | boolean | object | Array<Param>;
export type Params = Array<Param> | Record<string, Param>;

Expand Down
1 change: 1 addition & 0 deletions test/Query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Deno.test("SodaQuery (request)", async () => {
const geojsonEmpty = await query6.executeGeoJSON();
assertEquals(geojsonEmpty.error, null);
assertNotEquals(geojsonEmpty.data, null);
// deno-lint-ignore no-explicit-any
assertEquals((geojsonEmpty.data as any).features.length, 0);

await mockFetch(
Expand Down

0 comments on commit 0402cd7

Please sign in to comment.