Skip to content
Proyek

Tentang

Linter direktori dan nama file yang sangat cepat untuk menata sistem file proyek Anda.

Sistem dan infrastruktur

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+3
dalam 1 bulan
+3

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli
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

Jelajahi proyek terkait

Memuat…