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",