Merge "Add script 'npm run lint:fix:js' and 'lint:fix:styles', remove 'lint:fix'"

This commit is contained in:
jenkins-bot 2020-03-18 19:26:11 +00:00 committed by Gerrit Code Review
commit 3618a6dede
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"build": "npm -s test && npm -s run doc",
"test": "npm -s run lint && tsc",
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
"lint:fix": "npm -s run lint:js -- --fix && npm -s run lint:styles -- --fix",
"lint:fix:js": "npm -s run lint:js -- --fix",
"lint:fix:styles": "npm -s run lint:styles -- --fix",
"lint:js": "eslint --cache --max-warnings 0 .",
"lint:styles": "stylelint \"**/*.{less,css}\"",
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",