Skip to content

Commit

Permalink
#15: add jshint flag for esversion 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcg committed Dec 2, 2022
1 parent ce11893 commit b49a80b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/Subtag.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* @author Matthew Caruana Galizia <m@m.cg>
* @author Matthew Caruana Galizia <mattcg@gmail.com>
* @license MIT: http://mattcg.mit-license.org/
* @copyright Copyright (c) 2013, Matthew Caruana Galizia
*/

/*jshint node:true*/
/*jshint node:true, esversion: 6*/

'use strict';

Expand Down Expand Up @@ -33,7 +33,7 @@ class Subtag {
err.code = code;
err.subtag = subtag;
throw err;
};
}

types = index[subtag];
if (!types) {
Expand Down
4 changes: 2 additions & 2 deletions lib/Tag.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* @author Matthew Caruana Galizia <m@m.cg>
* @author Matthew Caruana Galizia <mattcg@gmail.com>
* @license MIT: http://mattcg.mit-license.org/
* @copyright Copyright (c) 2013, Matthew Caruana Galizia
*/

/*jshint node:true*/
/*jshint node:true, esversion: 6*/

'use strict';

Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* @author Matthew Caruana Galizia <m@m.cg>
* @author Matthew Caruana Galizia <mattcg@gmail.com>
* @license MIT: http://mattcg.mit-license.org/
* @copyright Copyright (c) 2013, Matthew Caruana Galizia
*/

/*jshint node:true*/
/*jshint node:true, esversion: 6*/

'use strict';

Expand Down

0 comments on commit b49a80b

Please sign in to comment.