diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index d3e7149..0000000 --- a/.eslintrc +++ /dev/null @@ -1,15 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "plugins": [ - "@typescript-eslint" - ], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended" - ], - "rules": { - "no-console": 2 - } -} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 608dd9d..a5b6cfe 100644 --- a/.gitignore +++ b/.gitignore @@ -52,9 +52,6 @@ web_modules/ # Optional npm cache directory .npm -# Optional eslint cache -.eslintcache - # Optional stylelint cache .stylelintcache diff --git a/bun.lockb b/bun.lockb index 7971288..012e58f 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/oxlint.config.mts b/oxlint.config.mts new file mode 100644 index 0000000..1044644 --- /dev/null +++ b/oxlint.config.mts @@ -0,0 +1,3 @@ +import { defineConfig } from "oxlint"; + +export default defineConfig({}); diff --git a/package.json b/package.json index cf4fa06..84b8347 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,15 @@ { "scripts": { "build": "bun build --minify --target bun --outdir dist --sourcemap src/main.ts", - "check:code": "eslint src/ --ext .ts", + "check:code": "oxlint", "check:spell": "cspell --config cspell.code.json **/*.ts", "start": "bun run src/main.ts" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "5.62.0", - "@typescript-eslint/parser": "5.62.0", + "@types/bun": "latest", "cspell": "10.0.1", - "eslint": "8.57.1", - "typescript": "6.0.3", - "@types/bun": "latest" + "oxlint": "1.74.0", + "typescript": "6.0.3" }, "dependencies": { "env-var": "7.5.0",