Skip to content

Commit 0f62275

Browse files
committed
feature: @putout/plugin-variables: add
1 parent 0843996 commit 0f62275

File tree

115 files changed

+129
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+129
-127
lines changed

README.md

Lines changed: 1 addition & 1 deletion

packages/plugin-destructuring/README.md

Lines changed: 18 additions & 0 deletions

packages/plugin-destructuring/lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as applyObject from './apply-object/index.js';
33
import * as applyArray from './apply-array/index.js';
44
import * as removeUselessObject from './remove-useless-object/index.js';
55
import * as removeUselessArguments from './remove-useless-arguments/index.js';
6+
import * as removeUselessVariables from './remove-useless-variables/index.js';
67
import * as splitNested from './split-nested/index.js';
78
import * as splitCall from './split-call/index.js';
89
import * as mergeProperties from './merge-properties/index.js';
@@ -12,6 +13,7 @@ export const rules = {
1213
'apply-array': applyArray,
1314
'remove-useless-object': removeUselessObject,
1415
'remove-useless-arguments': removeUselessArguments,
16+
'remove-useless-variables': removeUselessVariables,
1517
'convert-object-to-array': convertObjectToArray,
1618
'split-nested': splitNested,
1719
'split-call': splitCall,

packages/plugin-remove-useless-variables/lib/destruct/fixture/assign.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/assign.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/destruct-fix.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/destruct-fix.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/destruct.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/destruct.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/not-first.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/not-first.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/not-one.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/not-one.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/references.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/references.js

File renamed without changes.

packages/plugin-remove-useless-variables/lib/destruct/fixture/spread-fix.js renamed to packages/plugin-destructuring/lib/remove-useless-variables/fixture/spread-fix.js

File renamed without changes.

0 commit comments

Comments
 (0)