File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 65
65
"disallowSpacesInsideParentheses" : true ,
66
66
67
67
"disallowMultipleLineBreaks" : true ,
68
- "disallowNewlineBeforeBlockStatements" : true
68
+ "disallowNewlineBeforeBlockStatements" : true ,
69
+ "disallowSpaceBeforeComma" : true ,
70
+ "disallowSpaceBeforeSemicolon" : true ,
71
+
72
+ "jsDoc" : {
73
+ "checkAnnotations" : true ,
74
+ "checkParamNames" : true ,
75
+ "requireParamTypes" : true ,
76
+ "checkRedundantParams" : true ,
77
+ "checkReturnTypes" : true ,
78
+ "checkRedundantReturns" : true ,
79
+ "requireReturnTypes" : true ,
80
+ "checkTypes" : true ,
81
+ "checkRedundantAccess" : " enforceLeadingUnderscore" ,
82
+ "leadingUnderscoreAccess" : true ,
83
+ "requireHyphenBeforeDescription" : true ,
84
+ "requireNewlineAfterDescription" : true ,
85
+ "requireParamDescription" : true
86
+ }
69
87
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ono (Oh No!)
13
13
[ ![ Bower] ( http://img.shields.io/bower/v/ono.svg )] ( #bower )
14
14
[ ![ License] ( https://img.shields.io/npm/l/ono.svg )] ( LICENSE )
15
15
16
- [ ![ Sauce Test Status ] ( https://saucelabs.com/browser-matrix/bigstickcarpet-ono.svg )] ( https://saucelabs.com/u/bigstickcarpet-ono )
16
+ [ ![ Browser Compatibility ] ( https://saucelabs.com/browser-matrix/bigstickcarpet-ono.svg )] ( https://saucelabs.com/u/bigstickcarpet-ono )
17
17
18
18
Features
19
19
--------------------------
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ beforeEach(function() {
40
40
/**
41
41
* Invokes the given function for each {@link Ono} method
42
42
*
43
- * @param {function } fn
43
+ * @param {function } fn - The function that's invoked for each method
44
44
*/
45
45
function forEachMethod ( fn ) {
46
46
var ono = require ( '../' ) ;
@@ -67,7 +67,7 @@ function forEachMethod(fn) {
67
67
/**
68
68
* Asserts that a JSON-serialized Error has the expected properties & values.
69
69
*
70
- * @param {object } expected
70
+ * @param {object } expected - The expected properties & values
71
71
* @returns {function }
72
72
*/
73
73
function matchesJSON ( expected ) {
You can’t perform that action at this time.
0 commit comments