You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: