2895 Commits

Author SHA1 Message Date
Jeff Williams
4524af7a09 enable JSHint's "latedef" test 2012-07-06 07:22:00 -07:00
Jeff Williams
534d82b84a Merge remote-tracking branch 'upstream/master' into jshint-clean-v2 2012-07-05 22:26:54 -07:00
Michael Mathews
4ac7f4b488 Throw an error if user provides a command line arg value when none is allowed. Closes #142 2012-07-05 22:23:49 +01:00
Michael Mathews
494af17d90 Allow function to coerce command line arguments to a preferred type. Closes #143 2012-07-05 22:10:07 +01:00
Michael Mathews
4ead9aa4f9 Merge pull request #140 from hegemonic/ce287745f15f420ec31006e6435e4b4505bca0ee
Make JSDoc JSHint-clean (part 2)
2012-07-05 13:00:50 -07:00
Michael Mathews
110644f3e2 Merge pull request #141 from hegemonic/strict-fix
--strict option doesn't work correctly
2012-07-05 12:42:46 -07:00
Jeff Williams
0fd9a3fee1 replace broken --strict option with working --lenient option
also fixes the test so that console.log actually works after it runs.
2012-07-05 00:00:03 -07:00
Jeff Williams
d8c1392ca8 Merge remote-tracking branch 'upstream/master' into jshint-clean-v2 2012-07-04 17:22:23 -07:00
Jeff Williams
ce287745f1 enable JSDoc's "trailing" test 2012-07-04 16:27:06 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00
Michael Mathews
ff78852907 Resolve merge conflict. 2012-07-05 00:21:54 +01:00
Michael Mathews
5321ee903f Merge pull request #139 from hegemonic/77f505f2a16b3cde0c9cad966b610abfac111b29
Make JSDoc JSHint-clean (part 1)
2012-07-04 16:10:15 -07:00
Jeff Williams
24b3c1114f enable JSHint's "nonew" test (no fixes necessary) 2012-07-04 16:07:19 -07:00
Jeff Williams
3f13364ec2 enable JSHint's "noarg" test (no fixes necessary) 2012-07-04 16:06:01 -07:00
Jeff Williams
c60f68286f enable JSHint's "newcap" test 2012-07-04 16:05:08 -07:00
Jeff Williams
dabb0b4410 enable JSHint's "immed" test 2012-07-04 16:01:55 -07:00
Jeff Williams
769a71298e enable JSHint's "forin" test 2012-07-04 15:59:33 -07:00
Michael Mathews
901d17baa3 Small tweaks required to get ready for upgrade to rhino 1.7r4. 2012-07-04 23:53:19 +01:00
Jeff Williams
324af73dcf enable JSHint's "curly" test 2012-07-04 15:19:31 -07:00
Jeff Williams
40898c19a1 enable JSHint's "bitwise" test 2012-07-04 15:06:11 -07:00
Jeff Williams
77f505f2a1 don't use destructuring assignment
this fixes a JSHint error that cannot be suppressed.
2012-07-04 14:34:46 -07:00
Jeff Williams
f7aacfd80c escape - in regexp
this fixes a JSHint error that cannot be suppressed.
2012-07-04 08:14:17 -07:00
Jeff Williams
dac7203816 don't use each() to iterate over an array, and remove another unnecessary semicolon
this fixes a JSHint error that cannot be suppressed.
2012-07-03 19:07:19 -07:00
Jeff Williams
9ade2a2fe2 remove unnecessary semicolon
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:55:25 -07:00
Jeff Williams
366c33ffe6 fix comment that totally freaked out JSHint
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:53:38 -07:00
Jeff Williams
a54b51e276 detab files to eliminate mixed spaces/tabs
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:40:15 -07:00
Jeff Williams
ee858cc894 replace "unsafe" character with HTML entity
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:31:03 -07:00
Jeff Williams
43a1c9ea8b don't silently fall through in a switch statement
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:29:04 -07:00
Jeff Williams
356ac2a6c4 move function declaration outside of conditional block
this fixes a JSHint error that cannot be suppressed.
2012-07-03 18:24:07 -07:00
Jeff Williams
da39bdd302 rename Object.prototype.hasOwnProperty alias to hasOwnProp
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:45:44 -07:00
Jeff Williams
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Jeff Williams
16bee54b4c whoops, fix a silly mistake in the JSHint test (+ cleanup) 2012-07-03 17:13:13 -07:00
Jeff Williams
6a5c2f07d4 add JSHint to the tree, with all JSHint tests disabled 2012-07-03 16:42:59 -07:00
Michael Mathews
81f145708d Merge pull request #138 from hegemonic/strict-option
add a strict validation option that controls whether validation errors are fatal (issue #134)
2012-07-03 15:28:42 -07:00
Michael Mathews
afb2a3226a Merge pull request #137 from hegemonic/circular-refs
Parser creates circular references in enums
2012-07-03 15:26:31 -07:00
Michael Mathews
1899713e33 Merge pull request #133 from hegemonic/parser-exception
Fix parser.js so it doesn't throw exceptions when parsing itself
2012-07-03 15:20:58 -07:00
Jeff Williams
c095b6e20c add a strict validation option (defaults to true) that controls whether validation errors are fatal (issue #134) 2012-07-02 22:52:46 -07:00
Jeff Williams
5f23be1251 use doop() to break circular refs in enums, and add test for circular refs in enums 2012-07-02 20:49:26 -07:00
Jeff Williams
08da5ce4f6 move doop() function to doop.js 2012-07-02 20:48:08 -07:00
Jeff Williams
06c73c157d fix parser.js so it doesn't throw exceptions when parsing itself 2012-07-01 16:26:09 -07:00
Michael Mathews
aad1a85ffd Added fix for spaced filepaths from @benblank windows cmd to the bash version. Closes Issue #130. 2012-06-27 22:10:11 +01:00
Michael Mathews
6d914ee30e Added support for including README.md content on the output index page. Closes #128 2012-06-21 22:46:32 +01:00
Michael Mathews
b23811db6c Merge branch 'master' of github.com:jsdoc3/jsdoc 2012-06-21 21:10:08 +01:00
Michael Mathews
c29e4e3309 Add support for default configuration values. Closes Issue #129. References Issue #126. 2012-06-21 21:09:40 +01:00
Michael Mathews
f84484a5e8 Merge pull request #127 from benblank/windows
Fix broken Windows support
2012-06-16 16:06:20 -07:00
Ben Blank
a3c2147e17 make allowances for Windows-style paths when testing 2012-06-16 15:41:31 -07:00
Ben Blank
378572ae32 SHIFT doesn't seeem to affect %* 2012-06-16 14:13:24 -07:00
Ben Blank
e7dd88da46 restore parity between jsdoc and jsdoc.cmd 2012-06-16 11:56:03 -07:00
Ben Blank
79dc7afd87 don't barf on paths without spaces (resolves jsdoc3#115) 2012-06-16 11:03:56 -07:00
Michael Mathews
23d03835f7 Fixed confusing readmes that implied the entire configuration JSON should be replaced by a few entries. Protected against exception thrown when some config entries were missing. Closes Issue #126 2012-06-15 07:59:21 +01:00