From 71ec758beb68d5ea07cc5a4cd84af7300a3c431a Mon Sep 17 00:00:00 2001 From: AronDemian Date: Thu, 5 Mar 2020 22:23:16 +0100 Subject: [PATCH] Add script 'npm run lint:fix' to fix trivial lint errors Bug: T247004 Change-Id: Id40b82f64a5c29af4a8e2c7935623df6761d25b1 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 14ddb520b..2875582e5 100644 --- a/package.json +++ b/package.json @@ -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/",