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

Bug: T247004
Change-Id: I4187799d56c1bae537730af832fe35c655e8ec22
This commit is contained in:
AronDemian 2020-03-05 22:26:20 +01:00
parent 7d42117f7f
commit ecf7f811e6
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",
"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/",