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)
This commit is contained in:
parent
8b39546de0
commit
1db80b5600
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue