From e04e14c352a75d4532de426d268af68fbd2f6c95 Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Tue, 18 Jun 2024 10:21:13 +0200 Subject: [PATCH] Run web-ext lint in CI --- .github/workflows/ci.yml | 6 ++++-- extension/manifest.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6cbac5..b73e7b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,11 @@ jobs: - name: Code Style run: npm run cs-check - - name: Lint - run: npm run lint + - name: Code Lint + run: npm run lint + - name: Ext Lint + run: npx web-ext lint --warnings-as-errors --privileged --self-hosted --source-dir=extension/ test: runs-on: ubuntu-latest diff --git a/extension/manifest.json b/extension/manifest.json index c09e8d1..5c62643 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -9,7 +9,7 @@ "mozillaAddons" ], - "applications": { + "browser_specific_settings": { "gecko": { "id": "remote-settings-devtools@mozilla.com", "strict_min_version": "112.0",