* Fix plugin-transform-block-scoping const violations Fixes #13245 * Replace `a++` with `+a` where const violation * Remove assignment where const violation * Remove assignment for `&&=`, `||=`, `??=` where const violation * Shorten test
@babel/plugin-transform-block-scoping
Compile ES2015 block scoping (const and let) to ES5
See our website @babel/plugin-transform-block-scoping for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-block-scoping
or using yarn:
yarn add @babel/plugin-transform-block-scoping --dev