check-file-naming-convention plugin for gulp
First, install gulp-check-file-naming-convention as a development dependency:
npm install --save-dev gulp-check-file-naming-conventionThen, add it to your gulpfile.js:
var check-file-naming-convention = require("gulp-check-file-naming-convention");
gulp.src("./src/*.ext")
.pipe(check-file-naming-convention({
caseName: 'camelCase'
}));Type: String
The case you wish to check.
| available case |
|---|
| upperCase |
| upperCaseFirst |
| lowerCase |
| sentenceCase |
| titleCase |
| camelCase |
| pascalCase |
| snakeCase |
| paramCase |
| dotCase |
| pathCase |
| constantCase |
| swapCase |