https://github.com/pine/grunt-zshlint
:white_check_mark: Validate `.zshrc`, `.zsh` files
https://github.com/pine/grunt-zshlint
Last synced: over 1 year ago
JSON representation
:white_check_mark: Validate `.zshrc`, `.zsh` files
- Host: GitHub
- URL: https://github.com/pine/grunt-zshlint
- Owner: pine
- License: mit
- Created: 2015-02-28T12:02:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T13:16:01.000Z (over 4 years ago)
- Last Synced: 2025-02-14T15:04:17.228Z (over 1 year ago)
- Language: LiveScript
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README-ja.md
- License: LICENSE
Awesome Lists containing this project
README
grunt-zshlint
-------------
[](https://www.npmjs.com/package/grunt-zshlint)
[](https://travis-ci.org/pine/grunt-zshlint)
[](https://david-dm.org/pine/grunt-zshlint)
[](https://david-dm.org/pine/grunt-zshlint#info=devDependencies)
[English](README.md) | 日本語
`.zshrc`, `.zsh` ファイルの文法を検証します。
このプラグインは、[grunt-lint-bash](https://github.com/oxyc/grunt-lint-bash) にインスパイアされ作成されました。
## 使い方
このプラグインを使うには [Grunt](http://gruntjs.com) (>= 0.4.5) と zsh が必要です。
```sh
$ npm install grunt-zshlint --save-dev
```
## 設定例
```js
grunt.initConfig({
zshlint: {
files: ['**/*.zsh']
}
});
grunt.loadNpmTasks('grunt-zshlint');
```
## オプション
### force
型: `Boolean`、初期値: `false`
`true` を設定した場合、エラーが発生した場合でもタスクを途中で終了しません。
## ライセンス
MIT ライセンス