UNPKG

@putout/plugin-remove-useless-arguments

Version:

🐊Putout plugin adds ability to find and remove useless arguments

8 lines (5 loc) 182 B
'use strict'; module.exports.report = () => `Avoid useless arguments in 'JSON.parse()'`; module.exports.replace = () => ({ 'JSON.parse(__a, null, __b)': 'JSON.parse(__a)', });