grunt-lint-bash

Grunt task for validating bash scripts

npm install grunt-lint-bash
8 downloads in the last week
32 downloads in the last month

grunt-lint-bash

Grunt task for validating bash scripts. This is not really a lint tool, it simply checks validity with bash -n.

Getting started

This plugin requires Grunt ~0.4.0

npm install grunt-lint-bash --save-dev
grunt.loadNpmTasks('grunt-lint-bash');

Usage

grunt.initConfig({
  bashlint: {
    options: { force: true },
    src: ['**/*.sh']
  }
});

grunt.loadNpmTasks('grunt-lint-bash');

Options

force

Type: Boolean Default value: false

Set force to true to report errors but not fail the task.

License

MIT

npm loves you