From 6ed20835f69608407b35e63b6ad20141162e4fb8 Mon Sep 17 00:00:00 2001 From: p-sw Date: Sat, 29 Jun 2024 22:05:09 +0900 Subject: [PATCH] ci: change lint script to run biomejs --- packages/cli/package.json | 16 ++++------------ packages/react/package.json | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 8742daa..627090e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -35,15 +35,9 @@ "engines": { "node": ">=18.0.0" }, - "files": [ - "/bin", - "/dist", - "/oclif.manifest.json" - ], + "files": ["/bin", "/dist", "/oclif.manifest.json"], "homepage": "https://ui.psw.kr", - "keywords": [ - "oclif" - ], + "keywords": ["oclif"], "license": "MIT", "main": "dist/index.js", "type": "module", @@ -51,9 +45,7 @@ "bin": "pswui", "dirname": "pswui", "commands": "./dist/commands", - "plugins": [ - "@oclif/plugin-help" - ], + "plugins": ["@oclif/plugin-help"], "topicSeparator": " ", "topics": { "hello": { @@ -64,7 +56,7 @@ "repository": "pswui/ui", "scripts": { "build": "shx rm -rf dist && tsc", - "lint": "eslint . --ext .ts", + "lint": "biome check --no-errors-on-unmatched", "prepack": "yarn build" }, "types": "dist/index.d.ts" diff --git a/packages/react/package.json b/packages/react/package.json index 25d4615..7e7de98 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build && cp ./404.html ./dist", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "lint": "biome check --no-errors-on-unmatched", "preview": "vite preview" }, "dependencies": {