{"id":41209,"library":"gulp-ux-lint","title":"gulp-ux-lint","description":"Gulp plugin for ux-lint, a linting tool for JavaScript and similar files, version 1.4.0. This plugin integrates ux-lint into Gulp build pipelines, providing both reporting and optional automatic fixing of lint errors. It is Banno/Jack Henry-specific and not actively maintained; the last release was in 2015. Compared to more general linters like ESLint, this plugin is specialized for UX linting and has a narrow use case. It expects a .lintrc configuration file and supports plugin-specific options passed via the options object.","status":"maintenance","version":"1.4.0","language":"javascript","source_language":"en","source_url":"https://github.com/Banno/gulp-ux-lint","tags":["javascript","banno","gulpplugin","lint","linter"],"install":[{"cmd":"npm install gulp-ux-lint","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-ux-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-ux-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; plugin requires Gulp to function","package":"gulp","optional":false},{"reason":"Core linting library; plugin wraps ux-lint","package":"ux-lint","optional":false}],"imports":[{"note":"CommonJS only; no default ESM export. Use require.","wrong":"import lint from 'gulp-ux-lint';","symbol":"default","correct":"var lint = require('gulp-ux-lint');"},{"note":"lint is a function that returns a transform stream; must be called as a function.","wrong":"gulp.task('default', function() { return gulp.src('src/*.js').pipe(lint); });","symbol":"lint","correct":"gulp.task('default', function() { return gulp.src('src/*.js').pipe(lint()); });"},{"note":"Options are passed as an object argument to the lint function; no separate method for fix.","wrong":".pipe(lint.fix())","symbol":"options","correct":".pipe(lint({ fix: true }))"}],"quickstart":{"code":"var gulp = require('gulp');\nvar lint = require('gulp-ux-lint');\n\ngulp.task('default', function() {\n  return gulp.src('src/*.js')\n    .pipe(lint());\n});\n\ngulp.task('fix-files', function() {\n  return gulp.src('src/*.js')\n    .pipe(lint({ fix: true }));\n});","lang":"javascript","description":"Shows two Gulp tasks: one for reporting lint errors and one for automatically fixing them using the plugin."},"warnings":[{"fix":"Always call lint() with optional options object.","message":"The `lint` function must be called (e.g., `lint()`) not passed as a reference; otherwise it returns a function not a stream.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"For fix tasks, omit .pipe(gulp.dest()) as the plugin modifies files in place.","message":"When using `fix: true`, files are modified inline; do not pipe to `gulp.dest()` to avoid duplicate writes.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Replace with a more actively maintained linter and Gulp plugin.","message":"This package is no longer actively maintained; last release in 2015. Consider migrating to ESLint or other modern linters.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Ensure a .lintrc file exists in the project root or set extend: false and pass options explicitly.","message":"Configuration is read from `.lintrc` file by default; if the file is missing, the plugin will fail silently.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.4.0':20 '2015':56 'activ':49 'automat':36 'banno':95 'banno/jack':43 'build':29 'case':76 'compar':57 'configur':81 'error':40 'eslint':63 'expect':78 'file':18,82 'fix':37 'general':60 'gulp':2,5,28 'gulp-ux-lint':1 'gulpplugin':96 'henri':45 'henry-specif':44 'integr':23 'javascript':15,94 'last':52 'like':62 'lint':4,10,12,26,39,70,97 'linter':61,98 'lintrc':80 'maintain':50 'narrow':74 'object':93 'option':35,88,92 'pass':89 'pipelin':30 'plugin':6,22,65,86 'plugin-specif':85 'provid':31 'releas':53 'report':33 'similar':17 'special':67 'specif':46,87 'support':84 'tool':13 'use':75 'ux':3,9,25,69 'ux-lint':8,24 'version':19 'via':90","created_at":"2026-06-04T18:51:18.157826+00:00","updated_at":"2026-06-04T18:51:18.157826+00:00","problems":[{"fix":"Run 'npm install --save-dev gulp-ux-lint'","cause":"Package not installed","error":"Error: Cannot find module 'gulp-ux-lint'"},{"fix":"Ensure you use require('gulp-ux-lint') and then call lint() with parentheses.","cause":"Importing incorrectly as a class instead of calling require","error":"TypeError: lint is not a function"},{"fix":"Create a .lintrc file or set { extend: false } and pass options directly.","cause":"Missing configuration file","error":"Error: No .lintrc file found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Banno/gulp-ux-lint","github":"https://github.com/Banno/gulp-ux-lint","docs":null,"changelog":null,"pypi":null,"npm":"gulp-ux-lint","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}