Replies: 5 comments 9 replies
-
What will the authorization system look like if I am the author/contributor/collaborator of the filter?
So, for me, something like a GPG key-encoded variable remains, so that the abused key generation period is more than 12 months. In addition, it is important to remember that, for example, LibreWolf one external list added to the base of stock and active for all. Then the linter there can stay active as there is no checking of remote controlled resources (assets.json) in your repository. |
Beta Was this translation helpful? Give feedback.
-
I see the tooltip in linter says On another note, could you make linter loop when cycling through the results so we can go from the last to first one like we can in search? Occasionally, the counter will misbehave showing less errors than it should (I think it mostly happens when deleting lines). Which means when removing errors the counter can go down to zero (hiding search arrows) while invalid filters are still there. When you go to them manually and remove/fix them the counter will go negative. When the counter reaches 0 again (e.g. by pasting an invalid/incompatible filter) the arrows will be hidden again. They work correctly even if the counter is off so I think it'd be better if they didn't disappear. I know this is a minor issue, as the counter will be corrected on refresh, but I'm reporting in case this is an easy fix. The issue is caused or at least can be easily reproduced by the use of an exclamation mark. Example 1:
Example 2:
|
Beta Was this translation helpful? Give feedback.
-
Should such a line not display an error? |
Beta Was this translation helpful? Give feedback.
-
@gorhill regarding your comment about inefficient procedural filters... Could you perhaps add warnings to linter about inefficient filters? E.g.:
Something along the lines of:
|
Beta Was this translation helpful? Give feedback.
-
Minor issue. uBO only detects errors inside the |
Beta Was this translation helpful? Give feedback.
-
I am seeing issues being opened in other projects on the basis of what the linter reports. I didn't create the linter as a tool to use to burden other projects with all errors reported by the linter.
Some errors are legitimate and should be reported to list maintainers. But the majority of errors I see highlighted by the linter are just uBO stumbling onto a filter syntax which is valid in other content blockers, but not in uBO. It's fine, uBO discards those filters it doesn't understand, but filter list authors shouldn't be burdened with these linter errors, they did nothing wrong.
It's normal that filter list authors may want to support more than one content blockers, and it's not an issue for uBO to deal with incompatible filter syntax from other content blockers.
Reporting filters which are invalid but should be in uBO is ok, but reporting filters which are not meant to be dealt with by uBO is not right, that is not the purpose of the linter.
If I keep seeing this sort of burdensome issues being open in external projects I will make the linter enabled only for filter list authors.
Mainly this comment is to use as public reference for people who use the linter as a tool to open burdesome GitHub issues, which are issues out of control of external projects.
Beta Was this translation helpful? Give feedback.
All reactions