Use oxlint instead of eslint

- Less dev dependencies
- Much faster
- More helpful output
- More sane defaults
- Easier config
This commit is contained in:
Hans Ott 2025-10-09 18:03:45 +02:00
parent 7603a29182
commit 41ab4b1edb
8 changed files with 164 additions and 3318 deletions

View file

@ -1,3 +1,4 @@
// oxlint-disable no-console
import { auditChanges } from "@aikidosec/safe-chain/scanning";
// Bun Security Scanner for Safe-Chain

View file

@ -4,7 +4,7 @@
"scripts": {
"test": "node --test --experimental-test-module-mocks 'src/**/*.spec.js'",
"test:watch": "node --test --watch --experimental-test-module-mocks 'src/**/*.spec.js'",
"lint": "eslint ."
"lint": "oxlint"
},
"bin": {
"aikido-npm": "bin/aikido-npm.js",

View file

@ -1,3 +1,4 @@
// oxlint-disable no-console
import chalk from "chalk";
import ora from "ora";
import { createInterface } from "readline";