Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
enforcin jscs jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jun 8, 2015
1 parent 695d250 commit a046dd7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
15 changes: 15 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{
"plugins": [
"jscs-jsdoc"
],
"jsDoc": {
"checkAnnotations": true,
"checkParamNames": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"requireNewlineAfterDescription": true,
"checkTypes": "capitalizedNativeCase",
"enforceExistence": "exceptExports"
},

"requireCurlyBraces": [
"else",
"for",
Expand Down
6 changes: 3 additions & 3 deletions dist/angular-locker.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
/**
* Check browser support
*
* @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js#L38-L47
* @see github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js#L38-L47
* @param {String} driver
*
* @return {Boolean}
Expand Down Expand Up @@ -588,11 +588,11 @@
/**
* Check browser support
*
* @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js#L38-L47
* @see github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js#L38-L47
* @param {String} driver
* @return {Boolean}
*/
supported: function (driver) {
supported: function(driver) {
return this._checkSupport(driver);
},

Expand Down
Loading

0 comments on commit a046dd7

Please sign in to comment.