Skip to content
check

GitHub Action

web-ext lint

v1 Latest version

web-ext lint

check

web-ext lint

Lint WebExtension with annotations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: web-ext lint

uses: freaktechnik/web-ext-lint@v1

Learn more about this action in freaktechnik/web-ext-lint

Choose a version

web-ext lint Action

This action runs web-ext lint and reports the results in annotated form, when possible.

Inputs

extension-root

Root directory of the extension to lint (the folder containing manifest.json). Defaults to the current working directory. Note that web-ext will run in the context of the current working directory.

verbose

If the output should include the long descriptions of the linting results, set this to true. Else only the short message is reported. Default: false

self-hosted

Set to true to disable linting rules only relevant to listed extensions. Default: false

privileged

Set to true to disable the error when using privileged manifest fields. Default: false

Example usage

uses: freaktechnik/web-ext-lint@v1