Skip to content

Commit 8921416

Browse files
committed
chore: putout: actions: lint ☘️
1 parent e90001e commit 8921416

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

packages/engine-loader/lib/load/load.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ function getPath(namespace, type, name) {
4949
return [path, customRequire];
5050
}
5151

52-
const {PUTOUT_YARN_PNP = 'putout'} = process.env;
52+
const {
53+
PUTOUT_YARN_PNP = 'putout',
54+
} = process.env;
5355

5456
const createCustomRequire = once(() => createRequire(require.resolve(PUTOUT_YARN_PNP)));
5557
const createPutoutRequire = once(() => createRequire(require.resolve('putout')));

packages/formatter-progress-bar/lib/progress-bar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const dir = process.cwd();
1414
const formatErrorsCount = (a) => a ? red(a) : OK;
1515

1616
const {stderr} = process;
17-
const {PUTOUT_PROGRESS_BAR = '1'} = process.env;
17+
const {
18+
PUTOUT_PROGRESS_BAR = '1',
19+
} = process.env;
1820

1921
export default ({name, options, places, index, count, filesCount, errorsCount}) => {
2022
const {color = BLUE, minCount = 0} = options;

packages/test/lib/processor/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ const buildOptions = ({options, plugins, processors}) => ({
4545
const addDot = (a) => a ? `.${a}` : '';
4646

4747
const fail = (t, message) => {
48-
const {__putout_test_fail = t.fail} = global;
48+
const {
49+
__putout_test_fail = t.fail,
50+
} = global;
4951
return __putout_test_fail(message);
5052
};
5153

packages/test/lib/test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ global.__putout_test_fs = {
3636
const isUpdate = () => Boolean(Number(process.env.UPDATE));
3737

3838
const fail = (t, message) => {
39-
const {__putout_test_fail = t.fail} = global;
39+
const {
40+
__putout_test_fail = t.fail,
41+
} = global;
4042
return __putout_test_fail(message);
4143
};
4244

0 commit comments

Comments
 (0)