gulp-i18n-lint2
v1.0.3
Published
Validate i18n keys and it's attributes
Downloads
2
Readme
Gulp-I18N-Lint2
A simple lint job for I18N files extracted by gulp-i18n-extract.
Installation
Install gulp-i18n-lint2
using npm into your local repository.
npm install gulp-i18n-lint2 --save-dev
Usage
Setup a gulp task for i18n-lint
.
const gulp = require('gulp');
const validator = require('gulp-i18n-lint2');
gulp.task('i18n-lint', function() {
return gulp.src('./locale/i18n.json')
.pipe(validator("<Your Module Name>"));
});