diff --git a/.eslintrc b/.eslintrc index 9785b3d..1325171 100644 --- a/.eslintrc +++ b/.eslintrc @@ -18,8 +18,10 @@ ] }, "env": { + "node": true, "browser": true, - "jquery": true + "jquery": true, + "amd": true }, "extends": "eslint:recommended" } \ No newline at end of file diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js index 41ea591..e714cf9 100644 --- a/jquery.matchHeight.js +++ b/jquery.matchHeight.js @@ -4,7 +4,7 @@ * License: MIT */ -;(function(factory) { +;(function(factory) { // eslint-disable-line no-extra-semi 'use strict'; if (typeof define === 'function' && define.amd) { // AMD @@ -16,7 +16,7 @@ // Global factory(jQuery); } -})(function($) { // eslint-disable-line no-extra-semi +})(function($) { /* * internal */