From 1db80b5600a7a7e3bfb0fa1e1fab753786fae8b6 Mon Sep 17 00:00:00 2001 From: Rares Mardare Date: Thu, 29 Feb 2024 11:22:41 +0200 Subject: [PATCH] Added --max-warnings=0 to eslint:fix command (#3971) `--max-warnings=0` to force fix any remaining eslint warnings (Some rules can't be forced fixed, by design) --- grafana-plugin/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-plugin/package.json b/grafana-plugin/package.json index 4a47d008..d3bd2d83 100644 --- a/grafana-plugin/package.json +++ b/grafana-plugin/package.json @@ -4,7 +4,7 @@ "description": "Grafana OnCall Plugin", "scripts": { "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --max-warnings=0 ./src ./e2e-tests", - "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx ./src ./e2e-tests", + "lint:fix": "eslint --max-warnings=0 --fix --cache --ext .js,.jsx,.ts,.tsx ./src ./e2e-tests", "stylelint": "stylelint ./src/**/*.{css,scss,module.css,module.scss}", "stylelint:fix": "stylelint --fix ./src/**/*.{css,scss,module.css,module.scss}", "build": "webpack -c ./webpack.config.ts --env production",