Skip to content

Commit c7a7c66

Browse files
committed
[[CHORE]] Revert "Add codes to errors generated by quit()"
JSHint's emission of the `code` property of errors from the internal `quit` function is derived from code first contributed by Nikolay S. Frantsev <[email protected]>. That contributor could not be reached to sign JSHint's Contributor License Agreement. Revert their contribution to the application logic (preserving the corresponding MIT-licensed test code) so that it may be re-written under the terms of the Contributor License Agreement. Revert the changes introduced by 537dcbd
1 parent e6ad7a2 commit c7a7c66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/jshint.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ var JSHINT = (function() {
365365
character: token.from,
366366
message: message + " (" + percentage + "% scanned).",
367367
raw: message,
368-
code: code,
369368
a: a,
370369
b: b
371370
};
@@ -6526,7 +6525,6 @@ var JSHINT = (function() {
65266525
JSHINT.errors.push({
65276526
scope : "(main)",
65286527
raw : err.raw,
6529-
code : err.code,
65306528
reason : err.reason,
65316529
line : err.line || nt.line,
65326530
character : err.character || nt.from

0 commit comments

Comments
 (0)