Opened 7 years ago

Last modified 4 years ago

#56040 new enhancement

Move some checks out of lint --nitpick

Reported by: l2dy (Zero King) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

https://github.com/macports/macports-ports/pull/187#issuecomment-275543295

Isn't the point of port lint --nitpick that these additional checks are not mandatory? If we start asking to adhere to them we could just enable them all by default.

Some checks e.g. trailing whitespaces and missing newline at end of file should be mandatory.

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In ab5797a69bf146857f01946a0dfdd5dc37a791c9/macports-base (master):

Move trailing newline lint check out of nitpick

This isn't a nitpick. Portfiles are supposed to be text files and text
files according to POSIX must end with the newline character.

See: #56040

Note: See TracTickets for help on using tickets.