Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to disable Firefox Android checks #2685

Open
DevilishSpirits opened this issue Mar 20, 2023 · 1 comment
Open

Allow to disable Firefox Android checks #2685

DevilishSpirits opened this issue Mar 20, 2023 · 1 comment

Comments

@DevilishSpirits
Copy link

Is this a feature request or a bug?

This is a feature request. The 7.6.0 release updated to an addons-linter that checks API availability on Android. It generates a warning on my webextension that make use of APIs that are supported on the desktop version only.

It is not possible to state that a webextension is desktop-only so the linter cannot guess that information. In order to workaround this, I suggest adding an option to list targeted platforms and disable checks on platform not in this list to allow desktop-only webextension to pass linting.

What is the current behavior?

My desktop-only webextension doesn't pass linting because I use an API not available on Firefox Android that I don't target.

What is the expected or desired behavior?

Linting should succeed without warnings after telling web-ext lint that I don't target Android.

@willdurand
Copy link
Member

Could you please share the output of the lint command? At least the bits related to Android?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants