grunt-lint-bash

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-lint-bash

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • oxyc