1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

misc/ls-lint: New port: Directory and filename linter

This commit is contained in:
Yuri Victorovich 2023-08-29 00:31:57 -07:00
parent 55ba1c456c
commit 3708d3db52
4 changed files with 36 additions and 0 deletions

View File

@ -246,6 +246,7 @@
SUBDIR += locale-en_DK
SUBDIR += localedata
SUBDIR += logsurfer
SUBDIR += ls-lint
SUBDIR += lscolors
SUBDIR += lsix
SUBDIR += lv

20
misc/ls-lint/Makefile Normal file
View File

@ -0,0 +1,20 @@
PORTNAME= ls-lint
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.1
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Directory and filename linter
WWW= https://ls-lint.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/loeffel-io/ls-lint/v2
GO_TARGET= ./cmd/ls_lint
PLIST_FILES= bin/ls_lint
.include <bsd.port.mk>

5
misc/ls-lint/distinfo Normal file
View File

@ -0,0 +1,5 @@
TIMESTAMP = 1693291932
SHA256 (go/misc_ls-lint/ls-lint-v2.0.1/v2.0.1.mod) = 81e884b8096e9dfe0d6f55aa790edef7397cd27ab3ab9bc70ee22e05ecf909a6
SIZE (go/misc_ls-lint/ls-lint-v2.0.1/v2.0.1.mod) = 154
SHA256 (go/misc_ls-lint/ls-lint-v2.0.1/v2.0.1.zip) = 94edb33f4c93f63214ddea52554c10d52945fc681a0ad0e293fd67f564757a5c
SIZE (go/misc_ls-lint/ls-lint-v2.0.1/v2.0.1.zip) = 56799

10
misc/ls-lint/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
ls-lint is an extremely fast directory and filename linter.
Features:
* Minimal setup with simple rules managed in one single .ls-lint.yml file.
* Works for directory and file names - all extensions supported - full unicode
support.
* Incredibly fast - lints thousands of files and directories in milliseconds.
* Support for Windows, MacOS and Linux + NPM Package + GitHub Action & Docker
Image.
* Almost zero third-party dependencies (only go-yaml and doublestar).