Registry / devops / gulp-lint-ls

gulp-lint-ls

JSON →
library0.1.0jsnpmunverified

Gulp plugin for lint-ls, enabling linting of LiveScript files within Gulp build pipelines. Version 0.1.0 is the initial release with no further updates. It provides a simple Gulp plugin wrapper around lint-ls for LiveScript linting. Limited adoption and no tests included; likely experimental or deprecated.

npm install gulp-lint-ls
INSTALL
IMPORT
SIG · GULP-LINT-LS
G
gulp-lint-ls
devopsjavascriptv0.1.0
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.

default
import ls from 'gulp-lint-ls'
const ls = require('gulp-lint-ls');
Package is CommonJS only; require is correct but import may fail in strict ESM environments.
ls
import ls from 'gulp-lint-ls'
import { ls } from 'gulp-lint-ls'
Default export, not named, so destructuring fails.
Plugin function
const ls = require('gulp-lint-ls'); gulp.src('./src/**/*.ls').pipe(ls());
gulp.src('./src/**/*.ls').pipe(ls);
Plugin must be called as a function (ls()) to work, not passed directly (ls).

Shows basic Gulp task with gulp-lint-ls to lint LiveScript files. Uses CommonJS require and invokes plugin as function.

const gulp = require('gulp'); const ls = require('gulp-lint-ls'); gulp.task('lint', function() { return gulp.src('./src/**/*.ls') .pipe(ls()) .pipe(gulp.dest('./lint-output')); });
Debug
Known issues
deprecatedPackage has not been updated since initial release; may be abandoned.
fix
Use alternative LiveScript linting tools or maintain fork.
affects: 0.1.0
gotchaPlugin must be called as a function (ls()) not just referenced (ls).
fix
Always invoke with parentheses: .pipe(ls())
affects: 0.1.0
gotchaPackage exports a single default function; named import (import { ls }) will fail.
fix
Use default import: import ls from 'gulp-lint-ls' or require('gulp-lint-ls').
affects: 0.1.0
Errors
Common errors & fixes
TypeError: ls is not a function
Importing plugin object directly without calling it as a function.
fix
Change .pipe(ls) to .pipe(ls())
SyntaxError: The requested module 'gulp-lint-ls' does not provide an export named 'ls'
Using named import { ls } instead of default import.
fix
Use import ls from 'gulp-lint-ls' instead of import { ls } from 'gulp-lint-ls'.
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies
gulpoptionalPeer dependency for Gulp plugin compatibility
lint-lsrequiredCore linting engine for LiveScript
Agent activity
4 hits · last 30 days
node
4
Resources
gulp-lint-ls — npm install gulp-lint-ls · libregistry