From 154929d8e91608d6f0ff8f0eb14aa68b0880eb9d Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Thu, 1 Jun 2023 22:47:27 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 1 + .eslintrc | 12 ++++-------- package.json | 4 ++-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.eslintignore b/.eslintignore index e69de29..d163863 100644 --- a/.eslintignore +++ b/.eslintignore @@ -0,0 +1 @@ +build/ \ No newline at end of file diff --git a/.eslintrc b/.eslintrc index 7fe23a1..9a714bb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,12 +1,7 @@ { "parser": "@typescript-eslint/parser", - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended" - ], - "plugins": [ - "@typescript-eslint" - ], + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], + "plugins": ["@typescript-eslint"], "env": { "browser": false, "es6": true @@ -26,7 +21,8 @@ ], "no-useless-catch": "warn", "@typescript-eslint/no-extra-semi": "off", - "@typescript-eslint/no-non-null-assertion": "off" + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-explicit-any": "off" }, "settings": {}, "globals": { diff --git a/package.json b/package.json index f2c91a4..dc9fc38 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "build": "tsup", "dev": "tsup --watch", "clean": "del build", - "lint": "eslint --ext .{js,jsx,ts,tsx} examples src test --fix", + "lint": "eslint '**/*.ts' --fix", "prebuild": "run-s clean", "predev": "run-s clean", "pretest": "run-s build", @@ -35,7 +35,7 @@ "test": "run-p test:*", "test:unit": "ava", "test:prettier": "prettier **/*.{js,jsx,ts,tsx} --check", - "test:eslint": "eslint --ext .{js,jsx,ts,tsx} examples src test" + "test:eslint": "eslint '**/*.ts'" }, "dependencies": { "@anthropic-ai/sdk": "^0.4.3",