A Gulp task wrapper for linting TypeScript files in Ionic projects using TSLint. This package (v1.1.0) simplifies integrating TSLint into an Ionic build pipeline. It exposes a single function accepting options for source globs, TSLint configuration, reporter type, and reporter options. The release cadence is low; no updates since 2016. Compared to using gulp-tslint directly, this package provides Ionic-specific defaults like 'app/**/*.ts', but is largely unnecessary as it tightly couples to an older Ionic toolchain. Note that TSLint itself is deprecated in favor of ESLint with TypeScript plugins, and this package has no active maintenance.
npm install ionic-gulp-tslintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a Gulp task that lints TypeScript files using the default tslint function with custom source and configuration.
Migrate to ESLint with @typescript-eslint/parser and @typescript-eslint/eslint-plugin. Use community Gulp plugins like gulp-eslint.
Refer to gulp-tslint documentation: reporter property is a string, reportOptions object. Also ensure tslintOptions fields match expected.
Explicitly set the src option to match your TypeScript files.
Omit the tslint option; it's ignored. Use configuration and rulesDirectory only.
Use const tslint = require('ionic-gulp-tslint');Install tslint: npm install tslint --save-dev
Use 'verbose', 'json', 'full', or 'msbuild'.