Merge "Add script 'npm run lint:fix:js' and 'lint:fix:styles', remove 'lint:fix'"
This commit is contained in:
commit
3618a6dede
|
@ -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/",
|
||||
|
|
Loading…
Reference in New Issue