From 0070d7aa2e0f289c151686f8e4a7d8fa4f1cdcdc Mon Sep 17 00:00:00 2001 From: Yuan Qing Lim Date: Sun, 22 Oct 2023 17:04:04 +0800 Subject: [PATCH] Edit `fix` and `lint` scripts --- package.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ba3a14ca1..03f93387c 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,8 @@ "build": "turbo run build", "bump-dependencies": "tsx scripts/bump-dependencies.ts @figma/plugin-typings @typescript-eslint/eslint-plugin eslint-config-yuanqing eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort eslint-plugin-sort-keys-fix prettier stylelint-config-yuanqing", "clean": "turbo run clean && rimraf --glob '*.log' 'packages/*/.turbo' build node_modules/.cache/turbo", - "fix": "turbo run fix && concurrently npm:fix:js npm:fix:json", - "fix:js": "eslint --fix 'scripts/**/*.ts'", - "fix:json": "prettier --loglevel error --write '*.json'", - "lint": "turbo run lint && npm run lint:js", - "lint:js": "eslint 'scripts/**/*.ts'", + "fix": "turbo run fix && eslint --fix 'scripts/**/*.ts'", + "lint": "turbo run lint && eslint 'scripts/**/*.ts'", "postinstall": "simple-git-hooks && tsx scripts/patch-figma-plugin-typings.ts && npm run build", "prepackages-publish": "turbo run fix lint test build", "packages-publish": "lerna publish from-package",