https://github.com/oxyc/grunt-lint-bash
Grunt task to validate bash scripts
https://github.com/oxyc/grunt-lint-bash
Last synced: about 1 year ago
JSON representation
Grunt task to validate bash scripts
- Host: GitHub
- URL: https://github.com/oxyc/grunt-lint-bash
- Owner: oxyc
- Created: 2013-01-06T15:43:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-29T11:27:08.000Z (about 13 years ago)
- Last Synced: 2025-03-23T04:23:55.798Z (about 1 year ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
```javascript
grunt.loadNpmTasks('grunt-lint-bash');
```
## Usage
```javascript
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