From 8ddfa5e04c92c89b181f5ed8c75d7074a970314a Mon Sep 17 00:00:00 2001 From: Paul-Louis Hery Date: Tue, 4 Aug 2026 18:26:27 +0200 Subject: [PATCH] Fix lint and run it in CI --- .github/workflows/CI.yml | 1 + src/types/v1/entities.v1.types.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 77b1338..15b1c10 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,6 +17,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci + - run: npm run lint - run: npm run build - run: npm test env: diff --git a/src/types/v1/entities.v1.types.ts b/src/types/v1/entities.v1.types.ts index b038b8b..46b13a6 100644 --- a/src/types/v1/entities.v1.types.ts +++ b/src/types/v1/entities.v1.types.ts @@ -111,10 +111,10 @@ export interface PollPositionV1 { /** See GeoJSON. */ export type CoordinateV1 = { coordinates: number[]; - type: "Point"; + type: 'Point'; } | { coordinates: number[][][]; - type: "Polygon"; + type: 'Polygon'; } export interface PlaceV1 {