Skip to content

Commit f8a6058

Browse files
committed
get rid of file-wide eslint-disable in favor of targetted overrides
1 parent 6cb701b commit f8a6058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint no-unused-vars: "off" */
2-
31
try {
42
module.exports = require('./es6/Template');
53
} catch (ignored) {
@@ -15,6 +13,7 @@ try {
1513
// calledAsTemplateTagQuick unless that function has
1614
// returned true.
1715

16+
// eslint-disable-next-line no-unused-vars
1817
module.exports = function (sqlStrings) {
1918
// This might be reached if client code is transpiled down to
2019
// ES5 but this module is not.
@@ -26,6 +25,7 @@ try {
2625
*
2726
* @return {boolean} always false in ES<6 compatibility mode.
2827
*/
28+
// eslint-disable-next-line no-unused-vars
2929
module.exports.calledAsTemplateTagQuick = function (firstArg, nArgs) {
3030
return false;
3131
};

0 commit comments

Comments
 (0)