2 releases

0.0.2 Apr 25, 2024
0.0.1 Apr 22, 2024

#450 in Filesystem

MIT license

12KB
271 lines

dslint

The linter for directory structure convention written in Rust

Supporting Features

  • Directory & File name Linting 🚀
  • Wildcard search with glob expressions 😄

Examples

ls:
  # Rules under specific directory
  src/**/*: ["app", "components", "*.ts" ]

  # Example for Fractal Directory Structure
  /**/src/**/*: ["app", "components", "*.ts" ]


# Linting Target
target:
- src/* # All files & directories under the src directory

# Ignore specific folders & files
ignore:
- node_modules
- .env*
- .git*
- .git/**

Dependencies

~2–2.7MB
~58K SLoC