aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/package.json
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-04-13 18:41:40 +0200
committersonartech <sonartech@sonarsource.com>2022-04-19 20:03:07 +0000
commitc214244948913c538933b63a3479db7c1102c0c4 (patch)
tree616016461b62370e5a2725233d328de7e585b02b /server/sonar-web/package.json
parent36a8b6ed6eaf2b595d4b4e4cb85fd96d555249a0 (diff)
downloadsonarqube-c214244948913c538933b63a3479db7c1102c0c4.tar.gz
sonarqube-c214244948913c538933b63a3479db7c1102c0c4.zip
[NO JIRA] Do not fail eslint task on eslint findings
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r--server/sonar-web/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 8df1496ed3b..1047305a8ca 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -122,7 +122,7 @@
"format-check": "prettier --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report/eslint-report.json src/main/js",
- "lint-report-ci": "yarn install --immutable && eslint --ext js,ts,tsx -f json -o eslint-report/eslint-report.json src/main/js",
+ "lint-report-ci": "yarn install --immutable && eslint --ext js,ts,tsx -f json -o eslint-report/eslint-report.json src/main/js || yarn lint",
"ts-check": "tsc --noEmit",
"validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
"validate-ci": "yarn install --immutable && yarn test --coverage --maxWorkers=4 --ci",