From 0117a4fd58ef16013b38d07b309dc973cbac4527 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 1 Aug 2023 14:16:56 +0300 Subject: [PATCH] packages: add lint:fix --- apps/api/package.json | 3 ++- apps/web/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/api/package.json b/apps/api/package.json index bad0739..097947d 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -18,7 +18,8 @@ "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", - "test:e2e": "jest --config ./test/jest-e2e.json" + "test:e2e": "jest --config ./test/jest-e2e.json", + "lint:fix": "eslint --fix" }, "dependencies": { "@fastify/cookie": "^8.0.0", diff --git a/apps/web/package.json b/apps/web/package.json index b509adf..366fc3c 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "lint:fix": "next lint -- --fix" }, "dependencies": { "@fontsource/montserrat": "^4.5.13",