mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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:
parent
5e028c76f4
commit
25407dcaf5
@ -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." );
|
||||
}
|
||||
|
@ -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",
|
||||
|
@ -6,7 +6,7 @@ function nodeName( elem, name ) {
|
||||
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return nodeName;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user