Registry / devops / grunt-coffee-lint

grunt-coffee-lint

JSON →
library0.0.1jsnpmunverified

A Grunt plugin to lint CoffeeScript files using coffee-lint. Currently at version 0.0.1 with no active development since 2013. Works only with Grunt ~0.4.1 and CoffeeScript. Not compatible with modern Node.js or Grunt versions. Lacks configuration options and has poor error reporting compared to alternatives like grunt-contrib-coffeelint.

npm install grunt-coffee-lint
INSTALL
IMPORT
SIG · GRUNT-COFFEE-LINT
G
grunt-coffee-lint
devopsjavascriptv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

coffeelint
grunt.loadNpmTasks('grunt-coffee-lint');
require('grunt-coffee-lint');
Grunt plugins are loaded via grunt.loadNpmTasks, not required directly.

Basic Grunt configuration to lint CoffeeScript files using grunt-coffee-lint plugin.

// Gruntfile.js module.exports = function(grunt) { grunt.initConfig({ coffeelint: { app: ['src/**/*.coffee'], options: { configFile: 'coffeelint.json' } } }); grunt.loadNpmTasks('grunt-coffee-lint'); grunt.registerTask('default', ['coffeelint']); };
Debug
Known issues
breakingOnly compatible with Grunt ~0.4.1. Not compatible with Grunt 1.x.
fix
Use grunt-contrib-coffeelint or update to modern Grunt.
affects: >=1.0.0
deprecatedPackage has not been updated since 2013. Unmaintained and abandoned.
fix
Switch to grunt-contrib-coffeelint or eslint with CoffeeScript parser.
affects: *
gotchaNo README or documentation available.
fix
Refer to source code on GitHub for usage: git://github.com/geta6/grunt-coffee-lint
affects: *
gotchaCoffeeScript linting is outdated. Modern CoffeeScript may produce false positives.
fix
Consider using ESLint with CoffeeScript plugin or migrate to JavaScript/TypeScript.
affects: *
Errors
Common errors & fixes
Warning: Task "coffeelint" not found. Use --force to continue.
Missing grunt.loadNpmTasks('grunt-coffee-lint') in Gruntfile.
fix
Add grunt.loadNpmTasks('grunt-coffee-lint'); to your Gruntfile.
Fatal error: Cannot find module 'grunt-coffee-lint'
grunt-coffee-lint is not installed in node_modules.
fix
Run: npm install grunt-coffee-lint --save-dev
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies
gruntrequiredpeer dependency required for Grunt plugin compatibility
Agent activity
8 hits · last 30 days
node
8
Resources
grunt-coffee-lint — npm install grunt-coffee-lint · libregistry