Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 851c653

Browse files
generatedunixname89002005287564facebook-github-bot
generatedunixname89002005287564
authored andcommitted
Autofix allowlisted ESLint Rules
Differential Revision: D57739503 fbshipit-source-id: a22ff641f28e9e0651377dd27464d4c0c8cae6d7
1 parent 81a6b0a commit 851c653

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

moduleMap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @noflow
99
* @oncall i18n_fbt_js
1010
*/
11+
1112
'use strict';
1213

1314
const moduleMap = Object.assign(

packages/babel-plugin-fbt/src/getNamespacedArgs.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @noflow
1010
* @oncall i18n_fbt_js
1111
*/
12+
1213
'use strict';
1314

1415
/* eslint fb-www/comma-dangle: "off" */
@@ -49,13 +50,14 @@ const getNamespacedArgs = function (moduleName) {
4950
RequiredParamOptions,
5051
);
5152

52-
let paramChildren = filterEmptyNodes(node.children).filter(function (
53-
child,
54-
) {
55-
return (
56-
child.type === 'JSXExpressionContainer' || child.type === 'JSXElement'
57-
);
58-
});
53+
let paramChildren = filterEmptyNodes(node.children).filter(
54+
function (child) {
55+
return (
56+
child.type === 'JSXExpressionContainer' ||
57+
child.type === 'JSXElement'
58+
);
59+
},
60+
);
5961

6062
// <fbt:param> </fbt:param>
6163
// should be the equivalent of

packages/fb-tiger-hash/src/__tests__/Tiger-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
* @format
55
* @oncall i18n_fbt_js
66
*/
7+
78
'use strict';
9+
810
const Tiger = require('../Tiger');
911

1012
describe('Tiger hash', () => {

0 commit comments

Comments
 (0)