1.1.1 • Published 11 years ago

mkjs v1.1.1

Weekly downloads
4
License
-
Repository
github
Last release
11 years ago

Usage

Creates a file with IIFE and JSHint boilerplate.

mkjs /tmp/hello.js
vim /tmp/hello.js

/tmp/hello.js:

/*jshint node:true es5:true browser:true jquery:true
onevar:true indent:2 laxcomma:true laxbreak:true
eqeqeq:true immed:true undef:true unused:true latedef:true */
(function () {
  "use strict";

}());

Configuration

You can create ~/.mkjsrc.js that contains the configuration you want to use

vim ~/.mkjsrc.js

~/.mkjsrc.js

module.exports = {
    jshint = {
      browser: true
    }
};
1.1.1

11 years ago

1.1.0

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago