Bug 42446 - Allow inline ucslint overrides
Allow inline ucslint overrides
Status: RESOLVED DUPLICATE of bug 33736
Product: UCS
Classification: Unclassified
Component: ucslint
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-20 14:53 CEST by Florian Best
Modified: 2019-05-21 13:51 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-09-20 14:53:45 CEST
It seems ucslint.overrides can only be specified for a complete file.
If I now ignore something with high relevance because of a error/false-positive in ucslint all other errors are ignored, too.

E:0001-2: 00ucs-school-slave-check-ou.inst: join script contains 1 lines with missing "$@"

I don't know which line this refers to but it should be possible to add a comment:
... # ucslint-ignore: 0001-2
Comment 1 Philipp Hahn univentionstaff 2019-05-21 13:51:53 CEST
(In reply to Florian Best from comment #0)
> It seems ucslint.overrides can only be specified for a complete file.

No, see: Bug #22475 comment 1

> If I now ignore something with high relevance because of a
> error/false-positive in ucslint all other errors are ignored, too.
> 
> E:0001-2: 00ucs-school-slave-check-ou.inst: join script contains 1 lines
> with missing "$@"
> 
> I don't know which line this refers to but it should be possible to add a
> comment:
> ... # ucslint-ignore: 0001-2

See Bug #33736

*** This bug has been marked as a duplicate of bug 33736 ***