Skip to content

Commit ec130dc

Browse files
committed
chore: putout: actions: lint ☘️
1 parent f65c96c commit ec130dc

File tree

30 files changed

+34
-1
lines changed

30 files changed

+34
-1
lines changed

packages/operator-filesystem/lib/filesystem.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ const {
1111
} = require('@putout/operate');
1212

1313
const maybeFS = require('./maybe-fs');
14+
1415
const {
1516
arrayExpression,
1617
stringLiteral,
1718
objectProperty,
1819
isProgram,
1920
objectExpression,
2021
} = types;
22+
2123
const isString = (a) => typeof a === 'string';
2224
const {isArray} = Array;
2325
const maybeArray = (a) => isArray(a) ? a : [a];

packages/plugin-apply-overrides/lib/apply-overrides.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const {
55
operator,
66
template,
77
} = require('putout');
8+
89
const {
910
returnStatement,
1011
blockStatement,
@@ -14,6 +15,7 @@ const {
1415
isBlockStatement,
1516
assignmentPattern,
1617
} = types;
18+
1719
const {replaceWith} = operator;
1820

1921
const createOverrides = template('const %%overrides%% = overrides');

packages/plugin-convert-assignment-to-declaration/lib/convert-assignment-to-declaration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const {
66
isIdentifier,
77
variableDeclaration,
88
} = types;
9+
910
const {
1011
replaceWith,
1112
getBinding,

packages/plugin-convert-object-assign-to-merge-spread/lib/convert-object-assign-to-merge-spread.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const {
77
isSpreadElement,
88
spreadElement,
99
} = types;
10+
1011
const {compare, replaceWith} = operator;
1112

1213
module.exports.report = () => `Use merge spread instead of 'Object.assign()'`;

packages/plugin-eslint-plugin/lib/apply-flat-config-to-rule-tester/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const {
66
identifier,
77
objectProperty,
88
} = types;
9+
910
const {traverseProperties} = operator;
1011

1112
module.exports.report = () => `Use FlatConfig in RuleTester`;

packages/plugin-eslint/lib/apply-match-to-flat/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const {
55
operator,
66
types,
77
} = require('putout');
8+
89
const {
910
identifier,
1011
callExpression,
@@ -14,6 +15,7 @@ const {
1415
isStatement,
1516
objectExpression,
1617
} = types;
18+
1719
const {
1820
insertBefore,
1921
remove,

packages/plugin-eslint/lib/convert-plugins-array-to-object/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const {
77
isIdentifier,
88
objectProperty,
99
} = types;
10+
1011
const {extract, replaceWith} = operator;
1112

1213
const COMPUTED = false;

packages/plugin-eslint/lib/convert-rc-to-flat/rc-to-flat/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ const {
55
types,
66
template,
77
} = require('putout');
8+
89
const {
910
objectProperty,
1011
objectExpression,
1112
arrayExpression,
1213
identifier,
1314
spreadElement,
1415
} = types;
16+
1517
const {
1618
replaceWith,
1719
getProperties,

packages/plugin-extract-keywords-from-variables/lib/extract-keywords-from-variables.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const {
1818
isBlockStatement,
1919
arrowFunctionExpression,
2020
} = types;
21+
2122
const {
2223
removeParens,
2324
remove,

packages/plugin-extract-sequence-expressions/lib/extract-sequence-expressions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const {
66
blockStatement,
77
returnStatement,
88
} = types;
9+
910
const {
1011
replaceWithMultiple,
1112
toExpression,

0 commit comments

Comments
 (0)