diff --git a/build/release/dist.js b/build/release/dist.js index 65e8d0eb0..c8f7116bd 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -106,7 +106,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 2994e9ef7..ae4ed13ef 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@babel/plugin-transform-for-of": "7.4.3", "commitplease": "3.2.0", "core-js-bundle": "3.0.0", - "eslint-config-jquery": "2.0.0", + "eslint-config-jquery": "3.0.0", "eslint-plugin-import": "2.18.2", "grunt": "1.0.4", "grunt-babel": "8.0.0", diff --git a/src/core/nodeName.js b/src/core/nodeName.js index 7d38916b7..ac90c6075 100644 --- a/src/core/nodeName.js +++ b/src/core/nodeName.js @@ -2,6 +2,6 @@ function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); -}; +} export default nodeName; diff --git a/src/css/isAutoPx.js b/src/css/isAutoPx.js index a55d5bbcc..ca9b35aca 100644 --- a/src/css/isAutoPx.js +++ b/src/css/isAutoPx.js @@ -30,6 +30,6 @@ function isAutoPx( prop ) { // 2. The prop is not empty. return ralphaStart.test( prop ) && rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) ); -}; +} export default isAutoPx; diff --git a/src/css/var/getStyles.js b/src/css/var/getStyles.js index e55da23ef..d25af6752 100644 --- a/src/css/var/getStyles.js +++ b/src/css/var/getStyles.js @@ -12,4 +12,4 @@ export default function( elem ) { } return view.getComputedStyle( elem ); -}; +} diff --git a/src/css/var/isHiddenWithinTree.js b/src/css/var/isHiddenWithinTree.js index 0cc163178..c88747827 100644 --- a/src/css/var/isHiddenWithinTree.js +++ b/src/css/var/isHiddenWithinTree.js @@ -17,4 +17,4 @@ export default function( elem, el ) { return elem.style.display === "none" || elem.style.display === "" && jQuery.css( elem, "display" ) === "none"; -}; +} diff --git a/src/css/var/swap.js b/src/css/var/swap.js index e720fff9b..f5d8f23ab 100644 --- a/src/css/var/swap.js +++ b/src/css/var/swap.js @@ -17,4 +17,4 @@ export default function( elem, options, callback ) { } return ret; -}; +} diff --git a/src/data/var/acceptData.js b/src/data/var/acceptData.js index 4fc47b30a..6b154c5b3 100644 --- a/src/data/var/acceptData.js +++ b/src/data/var/acceptData.js @@ -10,4 +10,4 @@ export default function( owner ) { // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); -}; +} diff --git a/src/traversing/var/dir.js b/src/traversing/var/dir.js index b34bfa4d4..3729d9b73 100644 --- a/src/traversing/var/dir.js +++ b/src/traversing/var/dir.js @@ -13,4 +13,4 @@ export default function( elem, dir, until ) { } } return matched; -}; +} diff --git a/src/traversing/var/siblings.js b/src/traversing/var/siblings.js index 910b35a7c..fe51094bd 100644 --- a/src/traversing/var/siblings.js +++ b/src/traversing/var/siblings.js @@ -8,4 +8,4 @@ export default function( n, elem ) { } return matched; -}; +} diff --git a/src/var/isWindow.js b/src/var/isWindow.js index fa64581ee..25f22dbe3 100644 --- a/src/var/isWindow.js +++ b/src/var/isWindow.js @@ -1,3 +1,3 @@ export default function isWindow( obj ) { return obj != null && obj === obj.window; -}; +}