https://github.com/freaktechnik/web-ext-lint
Github Action for linting web extensions
https://github.com/freaktechnik/web-ext-lint
Last synced: over 1 year ago
JSON representation
Github Action for linting web extensions
- Host: GitHub
- URL: https://github.com/freaktechnik/web-ext-lint
- Owner: freaktechnik
- License: mit
- Created: 2021-02-04T00:38:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T17:28:03.000Z (over 2 years ago)
- Last Synced: 2024-04-11T00:14:47.954Z (over 2 years ago)
- Language: JavaScript
- Size: 35.7 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```yaml
uses: freaktechnik/web-ext-lint@v1
```