file-name-linter

1.1.0 • Public • Published

file-name-linter

node module that validates if the file names in one or more directories match a convention

Build status coverage report NPM version

Goals

  • no external dependencies in production environment
  • small size (currently less than 0.2 MB)
  • simple config (see example config)
  • allow custom file name patterns
  • check all file extensions
  • 100% test coverage

Alternatives

eslint-plugin-filenames

  • 3 dependencies (0.2 MB)
  • only checks JavaScript files
  • can't check file extensions

fnlint

fs-lint

  • 6 dependencies (2.2 MB)
  • can't check file extensions
  • no support for custom file name patterns
  • unsure about test coverage

name-lint

  • 2 dependencies (0.4 MB)
  • can't check file extensions
  • unsure about test coverage

rubocop

  • only checks Ruby files
  • can't check file extensions

Package Sidebar

Install

npm i file-name-linter

Weekly Downloads

635

Version

1.1.0

License

MIT

Unpacked Size

85.3 kB

Total Files

22

Last publish

Collaborators

  • winniehell