diff --git a/package.json b/package.json index 8c4f7b9c3b..faca2058e8 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,9 @@ "ci:regression": "grunt test-regression --verbose", "setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true", "lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'", + "lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js'", "lint:test": "eslint -c core/test/.eslintrc.json --ignore-path core/test/.eslintignore 'core/test/**/*.js'", - "lint": "yarn lint:server && yarn lint:test", + "lint": "yarn lint:server && yarn lint:frontend && yarn lint:test", "posttest": "yarn lint", "fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../", "postinstall": "cpy node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js core/server/public/"