Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

shellcheck (a wrapper for npm)

All I've done is wrap koalaman's shellcheck in a package.json.

Why?

Sometimes there is no other option than to add a shell script to your node package.

This wrapper allows you to "lint" JS and SH altogether.

How?

Installing the package downloads the latest version of shellcheck from the official servers.

npm install --dev shellcheck

Now you can call shellcheck from your npm scripts in package.json.

{
  "scripts": {
    "lint-js": "eslint --cache --ignore-path .gitignore .",
    "lint-sh": "shellcheck **/*.sh",
    "lint": "lint-js && lint-sh"
  }
}

License

MIT http://gunar.mit-license.org

About

npm wrapper for shellcheck

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages