包详细信息

file-name-linter

winniehell5.5kMIT不推荐使用1.1.0

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

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

lint, files, naming, conventions

自述文件

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