diff --git a/.eslintrc b/.eslintrc index c1b9116..7fe23a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -24,10 +24,12 @@ "warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true } ], - "no-useless-catch": "warn" + "no-useless-catch": "warn", + "@typescript-eslint/no-extra-semi": "off", + "@typescript-eslint/no-non-null-assertion": "off" }, "settings": {}, "globals": { "__DEV__": true } -} \ No newline at end of file +} diff --git a/package.json b/package.json index ae33a96..6d8f550 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} src test --fix", + "lint": "eslint --ext .{js,jsx,ts,tsx} examples src test --fix", "prebuild": "run-s clean", "predev": "run-s clean", "pretest": "run-s build", @@ -34,7 +34,8 @@ "pre-commit": "lint-staged", "test": "run-p test:*", "test:unit": "ava", - "test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check" + "test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check", + "test:eslint": "eslint --ext .{js,jsx,ts,tsx} examples src test" }, "dependencies": { "@anthropic-ai/sdk": "^0.4.3",