Skip to content

Commit

Permalink
⬆️ Upgrade lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Mar 15, 2024
1 parent 81d4920 commit 8ae896f
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 630 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"format:check": "prettier --check package.json .prettierrc .vscode .eslintrc.cjs .github *.md"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitest/browser": "^0.34.6",
"eslint": "^8.35.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-svelte": "^2.30.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/inference/src/HfInference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import * as tasks from "./tasks";
import type { Options, RequestArgs } from "./types";
import type { DistributiveOmit } from "./utils/distributive-omit";

/* eslint-disable @typescript-eslint/no-empty-interface */
/* eslint-disable @typescript-eslint/no-unsafe-declaration-merging */

type Task = typeof tasks;

type TaskWithNoAccessToken = {
Expand Down Expand Up @@ -60,8 +63,6 @@ export class HfInferenceEndpoint {
}
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface HfInference extends TaskWithNoAccessToken {}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface HfInferenceEndpoint extends TaskWithNoAccessTokenNoModel {}
1 change: 0 additions & 1 deletion packages/widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"@tailwindcss/forms": "^0.5.7",
"@types/node": "20",
"autoprefixer": "^10.4.16",
"eslint": "^8.28.0",
"postcss": "^8.4.31",
"publint": "^0.1.9",
"svelte": "^3.59.2",
Expand Down
Loading

0 comments on commit 8ae896f

Please sign in to comment.