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
|
# Optional npm cache directory
|
||||||
.npm
|
.npm
|
||||||
|
|
||||||
# Optional eslint cache
|
|
||||||
.eslintcache
|
|
||||||
|
|
||||||
# Optional stylelint cache
|
# Optional stylelint cache
|
||||||
.stylelintcache
|
.stylelintcache
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import { defineConfig } from "oxlint";
|
||||||
|
|
||||||
|
export default defineConfig({});
|
||||||
+4
-6
@@ -1,17 +1,15 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "bun build --minify --target bun --outdir dist --sourcemap src/main.ts",
|
"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",
|
"check:spell": "cspell --config cspell.code.json **/*.ts",
|
||||||
"start": "bun run src/main.ts"
|
"start": "bun run src/main.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "5.62.0",
|
"@types/bun": "latest",
|
||||||
"@typescript-eslint/parser": "5.62.0",
|
|
||||||
"cspell": "10.0.1",
|
"cspell": "10.0.1",
|
||||||
"eslint": "8.57.1",
|
"oxlint": "1.74.0",
|
||||||
"typescript": "6.0.3",
|
"typescript": "6.0.3"
|
||||||
"@types/bun": "latest"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"env-var": "7.5.0",
|
"env-var": "7.5.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user