frontend wf restrict warnings (#1655)

This commit is contained in:
Ruslan Ibragimov 2022-02-22 13:53:32 +03:00 committed by GitHub
parent cc926b2fc9
commit 9cfbf20b70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -42,7 +42,7 @@ jobs:
- name: Linter - name: Linter
run: | run: |
cd kafka-ui-react-app/ cd kafka-ui-react-app/
npm run lint npm run lint:CI
- name: Tests - name: Tests
run: | run: |
cd kafka-ui-react-app/ cd kafka-ui-react-app/

View file

@ -55,6 +55,7 @@
"build": "react-scripts build", "build": "react-scripts build",
"lint": "eslint --ext .tsx,.ts src/", "lint": "eslint --ext .tsx,.ts src/",
"lint:fix": "eslint --ext .tsx,.ts src/ --fix", "lint:fix": "eslint --ext .tsx,.ts src/ --fix",
"lint:CI": "eslint --ext .tsx,.ts src/ --max-warnings=0",
"test": "react-scripts test", "test": "react-scripts test",
"test:CI": "CI=true npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false", "test:CI": "CI=true npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
"eject": "react-scripts eject", "eject": "react-scripts eject",