Linter for YunoHost applications packages
Find a file
oleole39 7110959e51
Fix regex for source
Current regex will match any of the ten line after the official helper files starting with the string "source". 
Thus, in my specific case for which I declare a variable named source_filename="{...}", the linter will display a warning for it: `    ! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url)) `.
As it should be only interested in matching the command `source` (`source path/to/file`), a space should be appended to the current regex.
2024-02-19 22:13:30 +01:00
lib/nginxparser Fixed (most) linter complaints. 2023-09-07 23:11:03 +02:00
.gitignore Add generated files during linter execution in gitignore 2021-10-28 14:16:58 +02:00
LICENSE First commit. 2016-01-25 12:52:18 +01:00
package_linter.py Fix regex for source 2024-02-19 22:13:30 +01:00
README.md Remove not up-to-date README stuff 2021-05-23 16:32:54 +02:00
tox.ini Fixed (most) linter complaints. 2023-09-07 23:11:03 +02:00

YunoHost apps package linter

Static analyzer that checks for common issues in Yunohost apps

Usage

git clone https://github.com/YunoHost/package_linter
cd package_linter
git clone https://github.com/<organization>/<app>_ynh
./package_linter.py <app>_ynh