UNPKG

@putout/plugin-remove-empty

Version:

🐊Putout plugin adds ability to find and remove blocks with empty body

16 lines (13 loc) 362 B
'use strict'; const block = require('./block'); const staticBlock = require('./static-block'); const pattern = require('./pattern'); const nestedPattern = require('./nested-pattern'); const argument = require('./argument'); module.exports.rules = { block, 'static-block': staticBlock, pattern, 'nested-pattern': nestedPattern, argument, };