From 9cfbf20b70058a46827759348ce996a254ea8cec Mon Sep 17 00:00:00 2001 From: Ruslan Ibragimov <94184844+5hin0bi@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:53:32 +0300 Subject: [PATCH] frontend wf restrict warnings (#1655) --- .github/workflows/frontend.yaml | 2 +- kafka-ui-react-app/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 7dd97ebea7..4c36cda3d5 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -42,7 +42,7 @@ jobs: - name: Linter run: | cd kafka-ui-react-app/ - npm run lint + npm run lint:CI - name: Tests run: | cd kafka-ui-react-app/ diff --git a/kafka-ui-react-app/package.json b/kafka-ui-react-app/package.json index 265275e527..c4e237f187 100644 --- a/kafka-ui-react-app/package.json +++ b/kafka-ui-react-app/package.json @@ -55,6 +55,7 @@ "build": "react-scripts build", "lint": "eslint --ext .tsx,.ts src/", "lint:fix": "eslint --ext .tsx,.ts src/ --fix", + "lint:CI": "eslint --ext .tsx,.ts src/ --max-warnings=0", "test": "react-scripts test", "test:CI": "CI=true npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false", "eject": "react-scripts eject",