From ecf7f811e65f425cd46605bac917010b7374aef1 Mon Sep 17 00:00:00 2001 From: AronDemian Date: Thu, 5 Mar 2020 22:26:20 +0100 Subject: [PATCH] Add script 'npm run lint:fix:js' and 'lint:fix:styles', remove 'lint:fix' Bug: T247004 Change-Id: I4187799d56c1bae537730af832fe35c655e8ec22 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 09ffd12..2f9ce5b 100644 --- a/package.json +++ b/package.json @@ -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/",