{"id":25690,"library":"gulp-coffeelint","title":"gulp-coffeelint","description":"Gulp plugin for CoffeeLint, version 0.6.0. It lints CoffeeScript files within a gulp pipeline, supporting custom rule files, inline options, literate CoffeeScript, and custom rules. It integrates with CoffeeLint's built-in and external reporters, and includes 'fail' and 'failOnWarning' reporters for task failure. Commonly used in legacy CoffeeScript projects, but no longer actively maintained. Key differentiators: seamless gulp integration, auto-discovery of coffeelint.json config, and per-file result properties.","status":"maintenance","version":"0.6.0","language":"javascript","source_language":"en","source_url":"https://github.com/janraasch/gulp-coffeelint","tags":["javascript","gulpplugin","lint","coffee","coffeelint","coffeescript","coffee-script","codeconventions"],"install":[{"cmd":"npm install gulp-coffeelint","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-coffeelint","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-coffeelint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency: requires CoffeeLint to be installed","package":"coffeelint","optional":false},{"reason":"default reporter when none specified","package":"coffeelint-stylish","optional":true}],"imports":[{"note":"CommonJS module; ESM not supported.","wrong":"import coffeelint from 'gulp-coffeelint';","symbol":"gulp-coffeelint","correct":"const coffeelint = require('gulp-coffeelint');"}],"quickstart":{"code":"const gulp = require('gulp');\nconst coffeelint = require('gulp-coffeelint');\n\ngulp.task('lint', function() {\n  return gulp.src('./src/*.coffee')\n    .pipe(coffeelint())\n    .pipe(coffeelint.reporter('coffeelint-stylish'))\n    .pipe(coffeelint.reporter('fail'));\n});","lang":"javascript","description":"Sets up a gulp task that lints CoffeeScript files, uses stylish reporter, and fails on error."},"warnings":[{"fix":"Migrate to ESLint or similar.","message":"CoffeeScript and CoffeeLint are largely obsolete; consider migrating to JavaScript/TypeScript with ESLint.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Always return the stream from the gulp task (e.g., 'return gulp.src(...).pipe(...)').","message":"When using 'fail' reporter, ensure the stream is returned from the task, otherwise gulp may not detect failure.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Implement a constructor accepting an errorReport and a publish method.","message":"Custom reporters must follow CoffeeLint's reporter interface (constructor and publish method).","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'0.6.0':9 'activ':58 'auto':66 'auto-discoveri':65 'built':35 'built-in':34 'codeconvent':86 'coffe':80,84 'coffee-script':83 'coffeelint':3,7,32,81 'coffeelint.json':69 'coffeescript':12,25,53,82 'common':49 'config':70 'custom':19,27 'differenti':61 'discoveri':67 'extern':38 'fail':42 'failonwarn':44 'failur':48 'file':13,21,74 'gulp':2,4,16,63 'gulp-coffeelint':1 'gulpplugin':78 'includ':41 'inlin':22 'integr':30,64 'javascript':77 'key':60 'legaci':52 'lint':11,79 'liter':24 'longer':57 'maintain':59 'option':23 'per':73 'per-fil':72 'pipelin':17 'plugin':5 'project':54 'properti':76 'report':39,45 'result':75 'rule':20,28 'script':85 'seamless':62 'support':18 'task':47 'use':50 'version':8 'within':14","created_at":"2026-05-01T13:46:04.241231+00:00","updated_at":"2026-05-01T13:46:04.241231+00:00","problems":[{"fix":"Install coffeelint-stylish: npm install --save-dev coffeelint-stylish","cause":"The default reporter is not installed as a dependency.","error":"Error: Cannot find module 'coffeelint-stylish'"},{"fix":"Use .pipe(coffeelint().reporter(...)) or .pipe(coffeelint()).pipe(coffeelint.reporter(...))","cause":"Forgetting to call coffeelint() before .reporter().","error":"TypeError: coffeelint.reporter is not a function"},{"fix":"Create a valid coffeelint.json in your project root or pass optFile option.","cause":"Missing or incorrect config file path.","error":"Error: Failed to load coffeelint config file coffeelint.json"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/janraasch/gulp-coffeelint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gulp-coffeelint","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}