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
Even though addons-linter supports disabling specific rules, it seems that there is no way to use this feature when invoking web-ext lint. Based on a very quick glance at the code, maybe fixing this is as simple as adding disableLinterRules here?
// This mimics the first command line argument from yargs, which should be
// the directory to the extension.
_: [sourceDir],
};
The only workaround seems to be to ignore whole files, but this is undesirable for the same reason it's undesirable in other linters like eslint: it runs the risk of missing other rule violations in the ignored file.
The text was updated successfully, but these errors were encountered:
Even though addons-linter supports disabling specific rules, it seems that there is no way to use this feature when invoking
web-ext lint
. Based on a very quick glance at the code, maybe fixing this is as simple as addingdisableLinterRules
here?web-ext/src/cmd/lint.js
Lines 32 to 48 in 61464c8
The only workaround seems to be to ignore whole files, but this is undesirable for the same reason it's undesirable in other linters like eslint: it runs the risk of missing other rule violations in the ignored file.
The text was updated successfully, but these errors were encountered: