From 25407dcaf5b103ea1055225be502127a34001adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 18 May 2020 22:25:49 +0200 Subject: [PATCH] Build: Update eslint-config-jquery, fix linting violations Closes gh-4696 Ref jquery/eslint-config-jquery#15 Ref jquery/eslint-config-jquery#16 (cherry picked from commit ef4d6ca6c3a1b276fedc27b1f3a18823276f01a3) --- build/release/dist.js | 2 +- package.json | 2 +- src/core/nodeName.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/release/dist.js b/build/release/dist.js index 3071e466e..2f9078d8c 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -110,7 +110,7 @@ module.exports = function( Release, files, complete ) { await fs.writeFile( `${ Release.dir.dist }/bower.json`, generateBower() ); await fs.writeFile( `${ Release.dir.dist }/README.md`, - editReadme( readme, blogPostLink ) ); + editReadme( readme, blogPostLink ) ); console.log( "Files ready to add." ); } diff --git a/package.json b/package.json index 58c5a988c..2ba3ccd96 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@babel/plugin-transform-for-of": "7.2.0", "commitplease": "3.2.0", "core-js": "2.6.5", - "eslint-config-jquery": "2.0.0", + "eslint-config-jquery": "3.0.0", "grunt": "1.0.3", "grunt-babel": "8.0.0", "grunt-cli": "1.3.2", diff --git a/src/core/nodeName.js b/src/core/nodeName.js index 2b216657b..ef1b80bcd 100644 --- a/src/core/nodeName.js +++ b/src/core/nodeName.js @@ -6,7 +6,7 @@ function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); -}; +} return nodeName;