Skip to content

Commit 571e81e

Browse files
committed
chore: update version to 1.1.0 and refine build scripts
fix: improve error handling in commands and image processing - Changed error handling to use `unknown` type for better type safety - Updated error messages to ensure consistent formatting refactor: clean up unused imports and improve code readability - Removed unnecessary imports in extension.ts and provider.ts - Simplified variable declarations in commands.ts chore: add ESLint configuration for TypeScript and JavaScript - Introduced eslint.config.mts for better linting support - Updated ESLint and TypeScript dependencies in package.json
1 parent 6020fae commit 571e81e

File tree

9 files changed

+525
-90
lines changed

9 files changed

+525
-90
lines changed

eslint.config.mjs

Lines changed: 0 additions & 25 deletions
This file was deleted.

eslint.config.mts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import tseslint from "typescript-eslint";
4+
import { defineConfig } from "eslint/config";
5+
6+
export default defineConfig([
7+
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
8+
{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
9+
tseslint.configs.recommended,
10+
]);

0 commit comments

Comments
 (0)