diff --git a/CHANGELOG.md b/CHANGELOG.md index fcd3010b2f..f93609f772 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Redirect from simple product using url_path - @benjick (#3804) - Mount app in 'beforeResolve' if it's not dispatched in 'onReady' - @gibkigonzo (#3669) +### Changed / Improved +- Changed pre commit hook to use NODE_ENV production to check for debugger statements - @resubaka (#3686) + ## [1.11.0-rc.2] - 2019.10.31 ### Added diff --git a/package.json b/package.json index 1f17eafbcf..0b66dcbeba 100755 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "test:unit:watch": "jest -c test/unit/jest.conf.js --watch", "test:e2e": "cypress open", "test:e2e:ci": "cypress run", - "lint": "eslint --ext .js,.vue,.ts core src --fix", + "lint": "cross-env NODE_ENV=production eslint --ext .js,.vue,.ts core src --fix", "lerna": "lerna" }, "dependencies": {