Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef4d6ca

Browse files
authored
Build: Update eslint-config-jquery, fix linting violations
Closesgh-4696Refjquery/eslint-config-jquery#15Refjquery/eslint-config-jquery#16
1 parentd96111e commitef4d6ca

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

‎build/release/dist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = function( Release, files, complete ) {
106106
awaitfs.writeFile(`${Release.dir.dist}/bower.json`,generateBower());
107107

108108
awaitfs.writeFile(`${Release.dir.dist}/README.md`,
109-
editReadme(readme,blogPostLink ));
109+
editReadme(readme,blogPostLink));
110110

111111
console.log("Files ready to add.");
112112
}

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@babel/plugin-transform-for-of":"7.4.3",
3030
"commitplease":"3.2.0",
3131
"core-js-bundle":"3.0.0",
32-
"eslint-config-jquery":"2.0.0",
32+
"eslint-config-jquery":"3.0.0",
3333
"eslint-plugin-import":"2.18.2",
3434
"grunt":"1.0.4",
3535
"grunt-babel":"8.0.0",

‎src/core/nodeName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ function nodeName( elem, name ) {
22

33
returnelem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase();
44

5-
};
5+
}
66

77
exportdefaultnodeName;

‎src/css/isAutoPx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ function isAutoPx( prop ) {
3030
// 2. The prop is not empty.
3131
returnralphaStart.test(prop)&&
3232
rautoPx.test(prop[0].toUpperCase()+prop.slice(1));
33-
};
33+
}
3434

3535
exportdefaultisAutoPx;

‎src/css/var/getStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export default function( elem ) {
1212
}
1313

1414
returnview.getComputedStyle(elem);
15-
};
15+
}

‎src/css/var/isHiddenWithinTree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export default function( elem, el ) {
1717
returnelem.style.display==="none"||
1818
elem.style.display===""&&
1919
jQuery.css(elem,"display")==="none";
20-
};
20+
}

‎src/css/var/swap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export default function( elem, options, callback ) {
1717
}
1818

1919
returnret;
20-
};
20+
}

‎src/data/var/acceptData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export default function( owner ) {
1010
// - Object
1111
// - Any
1212
returnowner.nodeType===1||owner.nodeType===9||!(+owner.nodeType);
13-
};
13+
}

‎src/traversing/var/dir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ export default function( elem, dir, until ) {
1313
}
1414
}
1515
returnmatched;
16-
};
16+
}

‎src/traversing/var/siblings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default function( n, elem ) {
88
}
99

1010
returnmatched;
11-
};
11+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp