chore: refactor eslint to oxlint (#151)
Reviewed-on: #151 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #151.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -52,9 +52,6 @@ web_modules/
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional stylelint cache
|
||||
.stylelintcache
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
import { defineConfig } from "oxlint";
|
||||
|
||||
export default defineConfig({});
|
||||
+4
-6
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user