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 ef4d6ca6c3)
This commit is contained in:
Michał Gołębiowski-Owczarek 2020-05-18 22:25:49 +02:00 committed by Michał Gołębiowski-Owczarek
parent 5e028c76f4
commit 25407dcaf5
3 changed files with 3 additions and 3 deletions

View File

@ -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." );
}

View File

@ -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",

View File

@ -6,7 +6,7 @@ function nodeName( elem, name ) {
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
};
}
return nodeName;