Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenanceādevelopers should switch to Vite or other modern alternatives.
@putout/plugin-remove-empty
Advanced tools
šPutout plugin adds ability to find and remove blocks with empty body
šPutout plugin adds ability to find and remove:
empty block statements
;empty patterns
;empty imports
;empty arguments
;empty exports
;npm i @putout/plugin-remove-empty
{
"rules": {
"remove-empty/block": "on",
"remove-empty/pattern": "on",
"remove-empty/argument": "on",
"remove-empty/export": "on",
"remove-empty/import": ["on", {
"ignore": []
}]
}
}
-if (2 > 3) {}
-const [] = array;
-const {} = object;
-export {};
-import 'abc';
module.exports = ({rule, plugin, msg, options}, {}) => {
};
module.exports = ({rule, plugin, msg, options}) => {
};
MIT
FAQs
šPutout plugin adds ability to find and remove blocks with empty body
The npm package @putout/plugin-remove-empty receives a total of 10,705 weekly downloads. As such, @putout/plugin-remove-empty popularity was classified as popular.
We found that @putout/plugin-remove-empty demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenanceādevelopers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.