mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-23 10:21:40 +00:00
Add script 'npm run lint:fix' to fix trivial lint errors
Bug: T247004 Change-Id: Id40b82f64a5c29af4a8e2c7935623df6761d25b1
This commit is contained in:
parent
834f4f837f
commit
71ec758beb
|
@ -3,6 +3,7 @@
|
|||
"scripts": {
|
||||
"test": "npm -s run lint && npm run doc",
|
||||
"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:js": "eslint --cache --max-warnings 0 .",
|
||||
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
||||
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
||||
|
|
Loading…
Reference in a new issue