diff options
| -rw-r--r-- | NEWS | 1 | ||||
| -rwxr-xr-x | sbolint | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,7 @@ sbolint: - Having multiple *.SlackBuild files is now an error. - doinst.sh must not use chmod. - doinst.sh must not refer to $PKG (it won't be set when it runs). +- SlackBuild scripts must not call 'npm audit fix'. sbopkglint: - Package which bundle their own glibc in /opt no longer trigger @@ -1617,6 +1617,8 @@ sub check_script { } } elsif(/^[^#]*(SLCKFLAGS|PRGMAN|PGK)/) { log_warning("$file:$lineno: $1 looks like a typo"); + } elsif(/^[^#]*npm\s+audit\s+fix/) { + log_error("$file:$lineno: scripts must not call 'npm audit fix'"); } if(/^[^#]*<documentation>/) { |
