@Nevware21 grunt-eslint-ts

Grunt-eslint-ts provides a Grunt-compatible wrapper for running eslint
using the @typescript-eslint
parser for processing TypeScript files, and provides some additional options that improves the TypeScript development workflow.
Grunt-eslint-ts-plugin Features
TBD...
Unsupported Grunt features
- Path Mapping feature as it is not supported by
tsc
from the command-line - Grunt
dest
target property, use the src
options instead. - Grunt
files
property for identifying files to be compiled (*.ts), planned future feature (#18 - [Feature] Add support for Grunt files object)
Quickstart
Install the npm packare: npm install @nevware21/grunt-eslint-ts --save-dev
Package | Descriptpion |
---|
ESLint | npm install eslint --save-dev - if you don't have ESLint installed in your project, run |
TypeScript | npm install typescript --save-dev - if you don't have TypeScript installed in your project, run |
GruntJS | npm install grunt --save-dev - if you don't have GruntJS installed in your project |
Grunt-Cli | npm install grunt-cli --save-dev - Suggested, if you have never used Grunt on your system |
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
Mininimal
module.exports = function(grunt) {
grunt.initConfig({
eslint-ts: {
default : {
tsconfig: './tsconfig.json'
}
}
});
grunt.loadNpmTasks("@nevware21/grunt-eslint-ts");
grunt.registerTask("default", ["eslint-ts"]);
};
Contributing
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
Release History
See The ChangeLog