From 4ff8389c92da25acfce596ce2d3d4f046b95196c Mon Sep 17 00:00:00 2001 From: Alexander Shelepenok Date: Fri, 22 Apr 2022 18:15:10 +0000 Subject: [PATCH] fix(scripts): add eslint to format:ts command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f17fe8a..bfedfb9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "clean": "rimraf .cache public", "format": "npm run format:ts && npm run format:scss", "format:scss": "stylelint \"src/**/*.scss\" --fix", - "format:ts": "prettier --write .", + "format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .", "lint": "npm run lint:ts && npm run lint:scss", "lint:commit": "commitlint --edit", "lint:scss": "stylelint \"src/**/*.scss\"",