Merge resin-lint linting and fixing steps into one

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-02-06 18:20:54 +00:00 committed by Balena CI
parent 85aaf77e44
commit 6d543b79ff

View File

@ -56,8 +56,8 @@
"catch-uncommitted": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts catch-uncommitted",
"ci": "npm run test && catch-uncommitted",
"watch": "gulp watch",
"prettify": "resin-lint --typescript --fix automation/ lib/ typings/ tests/ && prettier --write \"{lib,tests,automation,typings}/**/*.js\" --config ./node_modules/resin-lint/config/.prettierrc",
"lint": "resin-lint lib/ tests/ && resin-lint --typescript automation/ lib/ typings/ tests/",
"prettify": "prettier --write \"{lib,tests,automation,typings}/**/*.js\" --config ./node_modules/resin-lint/config/.prettierrc",
"lint": "resin-lint lib/ tests/ && resin-lint --typescript --fix automation/ lib/ typings/ tests/",
"prepublishOnly": "npm run build"
},
"keywords": [