diff --git a/apis/websocket/docs/0_development_environment.md b/apis/websocket/docs/0_development_environment.md index 85960a4..5443dd8 100644 --- a/apis/websocket/docs/0_development_environment.md +++ b/apis/websocket/docs/0_development_environment.md @@ -24,7 +24,7 @@ To start developing, you'll need to set up the development environment first. 4. Build packages/libraries ```sh - bun build:deps + bun build:libs ``` 5. Change your directory to this project's root diff --git a/apis/websocket/src/events/parseText.ts b/apis/websocket/src/events/parseText.ts index bfd7bb9..8fafbe1 100755 --- a/apis/websocket/src/events/parseText.ts +++ b/apis/websocket/src/events/parseText.ts @@ -17,6 +17,7 @@ const parseTextEventHandler: EventHandler = async ( try { const { intents } = await witClient.message(text, {}) + // eslint-disable-next-line @typescript-eslint/no-unused-vars const intentsWithoutIds = intents.map(({ id, ...rest }) => rest) await client.send({ diff --git a/package.json b/package.json index 102c106..ceab1ff 100755 --- a/package.json +++ b/package.json @@ -9,15 +9,14 @@ "packages/*" ], "scripts": { - "build": "bun task build", + "build": "turbo run build", + "watch": "turbo run watch", + "format": "prettier --write .", + "format:check": "prettier --check .", + "lint": "eslint .", + "lint:apply": "eslint --fix .", "commitlint": "commitlint --edit", - "format": "turbo run format", - "format:check": "turbo run format:check", - "lint": "turbo run lint", - "lint:apply": "turbo run lint:apply", - "watch": "bun task watch", - "task": "turbo run", - "t": "bun task", + "t": "turbo run", "prepare": "lefthook install" }, "repository": { diff --git a/turbo.json b/turbo.json index 263271e..cfafea5 100755 --- a/turbo.json +++ b/turbo.json @@ -9,18 +9,6 @@ "watch": { "dependsOn": ["^watch"], "outputMode": "errors-only" - }, - "format": { - "dependsOn": ["^format"], - "outputMode": "errors-only" - }, - "lint": { - "dependsOn": ["^lint"], - "outputMode": "errors-only" - }, - "lint:apply": { - "dependsOn": ["^lint:apply"], - "outputMode": "errors-only" } } }