Skip to content

ama-ch/grunt-gjshint

Repository files navigation

grunt-gjshint

My sample linting project.
http://ama-ch.hatenablog.com/entry/2013/04/21/160208

Features

  • Grunt project.
  • Linting JavaScript files with JSHint + Google Closure Linter.
  • Watch and lint only changed files.
  • Notify results with grunt-notify.

Usage

Before running Closure Linter, install python-gflags if you need.

$ easy_install python-gflags

Linting with JSHint:

$ grunt jshint:all

Linting with Closure Linter:

$ grunt gjslint:all

Fixing gjslint errors automatically:

$ grunt fixjsstyle:all

Linting with JSHint + Closure Linter (default task):

$ grunt

Watch and notify:

$ grunt watch

License

About

JSHint + Closure Linter + Grunt + Watch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published