Fix CI: exclude test files from lint, mock db.js in jira test for runner env
This commit is contained in:
@@ -78,7 +78,7 @@ install-frontend:
|
||||
lint-frontend:
|
||||
stage: lint
|
||||
script:
|
||||
- cd frontend && npx eslint src/ --max-warnings 0
|
||||
- cd frontend && npx eslint src/ --ignore-pattern '**/__tests__/**' --ignore-pattern '**/*.test.js' --max-warnings 0
|
||||
needs:
|
||||
- install-frontend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user