Skip to content

Commit 4aaee13

Browse files
committed
biome lint
1 parent d8217c8 commit 4aaee13

11 files changed

Lines changed: 13 additions & 69 deletions

config/babel-preset-extended.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const babelPresetReactApp = require('babel-preset-react-app');
33

44
// Extend babel-preset-react-app to accept custom jsxImportSource. This is required for things like @emotion/react
55

6-
module.exports = function (api, opts) {
6+
module.exports = (api, opts) => {
77
const original = babelPresetReactApp(api, opts);
88
const jsxImportSource = process.env.JSX_IMPORT_SOURCE;
99

config/env.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
const fs = require('fs');
124
const path = require('path');

config/getHttpsConfig.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
const fs = require('fs');
124
const path = require('path');

config/jest/babelTransform.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2014-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
const babelJest = require('babel-jest').default;
124

config/jest/cssTransform.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2014-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
// This is a custom Jest transformer turning style imports into empty objects.
124
// http://facebook.github.io/jest/docs/en/webpack.html

config/jest/fileTransform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict';
1+
22

33
const path = require('path');
44
const camelcase = require('camelcase');

config/modules.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
const fs = require('fs');
124
const path = require('path');

config/paths.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
// @remove-on-eject-begin
2-
/**
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
*
5-
* This source code is licensed under the MIT license found in the
6-
* LICENSE file in the root directory of this source tree.
7-
*/
8-
// @remove-on-eject-end
9-
'use strict';
1+
102

113
const path = require('path');
124
const fs = require('fs');

config/unityMiddleware.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
function registerUnityMiddleware(app) {
22
// Allow serving Unity builds
33
function contentEncodingShorthand(pattern, encoding) {
4-
app.get(pattern, function (req, res, next) {
4+
app.get(pattern, (req, res, next) => {
55
res.set('Content-Encoding', encoding);
66
next();
77
});
88
}
99

1010
function contentTypeShorthand(pattern, type) {
11-
app.get(pattern, function (req, res, next) {
11+
app.get(pattern, (req, res, next) => {
1212
res.set('Content-Type', type);
1313
next();
1414
});

config/webpack/persistentCache/createEnvironmentHash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict';
1+
22
const { createHash } = require('crypto');
33

44
module.exports = (env) => {

0 commit comments

Comments
 (0)