eslint-plugin-pocket-fluff
eslint-plugin-pocket-fluff copied to clipboard
no-reassigned-consts doesn't deal with default parameters
https://github.com/betaorbust/eslint-plugin-no-reassigned-consts/issues/7
The plugin currently raises an error when destructuring with a default value.
const {bar='bar'} = foo; // Raises error 'bar is a constant and should not be reassigned'