diff --git a/frontend/package.json b/frontend/package.json index 9d1d1be2181..455d28940a0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,7 +12,8 @@ "dev": "yarn clean && yarn plugin-stats && ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode development --watch --progress", "build": "yarn clean && yarn plugin-stats && NODE_ENV=production ts-node -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/webpack --mode=production", "coverage": "jest --coverage .", - "lint": "eslint --ext .js,.jsx,.ts,.tsx --color .", + "eslint": "eslint --ext .js,.jsx,.ts,.tsx --color", + "lint": "yarn eslint .", "test": "jest", "debug-test": "node --inspect-brk node_modules/.bin/jest --runInBand", "webdriver-update": "webdriver-manager update --gecko=false", diff --git a/frontend/packages/kubevirt-plugin/package.json b/frontend/packages/kubevirt-plugin/package.json index fbd3ffd432a..2d0405cff8e 100644 --- a/frontend/packages/kubevirt-plugin/package.json +++ b/frontend/packages/kubevirt-plugin/package.json @@ -3,6 +3,9 @@ "version": "0.0.0-fixed", "description": "Kubevirt - Virtual machines addon for Kubernetes", "private": true, + "scripts": { + "lint": "yarn --cwd ../.. eslint packages/kubevirt-plugin" + }, "dependencies": { "@console/internal": "0.0.0-fixed", "@console/plugin-sdk": "0.0.0-fixed",