Skip to content
Projekte

Über uns

Ein extrem schneller Linter für Verzeichnisse und Dateinamen, der für mehr Struktur im Dateisystem deines Projekts sorgt.

Systeme und Infrastruktur

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+1
in 15 days
+3
in 1 month
+3

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original
logo

ls-lint

An extremely fast directory and filename linter - Bring some structure to your project filesystem

CI Version npm npm License

  • Minimal setup with simple rules managed in one single or multiple .ls-lint.yml files
  • 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 + Homebrew + Docker
  • Reliable since 2020 - trusted by open source projects from Ansible, Buildkite, ByteDance, Huawei, Philips, Red Hat, Renovate and many more
  • Almost zero third-party dependencies (only go-yaml and doublestar)

Announcements

v2.3.0 is here: https://ls-lint.org/blog/announcements/v2.3.0.html

Documentation

The full documentation can be found at ls-lint.org

Demo

Configuration .ls-lint.yml

ls:
  packages/*/{src,__tests__}:
    .js: kebab-case
    .ts: camelCase | PascalCase
    .d.ts: camelCase
    .spec.ts: camelCase | PascalCase
    .mock.ts: camelCase

  components/*:
    .ts: regex:${0}
    tests:
      .*: exists:0
      .test.ts: regex:${1}

ignore:
  - node_modules

Result

command

Logo

Logo created by Studio Ajot

License

ls-lint is open-source software licensed under the MIT license.

FOSSA Status

Ähnliche Projekte entdecken

Wird geladen…