jscs-dev / node-jscs

:arrow_heading_up: JavaScript Code Style checker (unmaintained)
https://jscs-dev.github.io
MIT License
4.97k stars 515 forks source link

Destructuring with default values in parameters throws an error. #2277

Closed graingert closed 8 years ago

graingert commented 8 years ago
function constructor(args) {
  const { response = 1 } = args;
}

https://github.com/graingert/jscs-error/tree/3ddf0c27f2f49923b9e5615663ef163fc565d055

markelog commented 8 years ago

You need to remove shrinkwrap file