Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/agent/api/ReportingAPIForTesting.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* oxlint-disable no-unused-vars */
import { Token } from "./Token";
import { Event } from "./Event";
import { ReportingAPI, ReportingAPIResponse } from "./ReportingAPI";
Expand Down
2 changes: 1 addition & 1 deletion library/agent/api/ReportingAPIThatThrows.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* oxlint-disable no-unused-vars */
import { ReportingAPI, ReportingAPIResponse } from "./ReportingAPI";
import { Token } from "./Token";
import { Event } from "./Event";
Expand Down
2 changes: 1 addition & 1 deletion library/agent/logger/LoggerNoop.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* oxlint-disable no-unused-vars */
import { Logger } from "./Logger";

export class LoggerNoop implements Logger {
Expand Down
3 changes: 3 additions & 0 deletions library/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import eslintConfigPrettier from "eslint-config-prettier/flat";
import oxlint from "eslint-plugin-oxlint";

export default defineConfig([
{ files: ["**/*.{js,mjs,cjs,ts}"] },
Expand Down Expand Up @@ -59,4 +60,6 @@ export default defineConfig([
"@typescript-eslint/no-unused-vars": "off",
},
},
// Disable rules already covered by oxlint
...oxlint.configs["flat/recommended"], // oxlint should be the last one
]);
2 changes: 1 addition & 1 deletion library/helpers/ip-matcher/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class Network {
bravo = network;
} else {
alpha = network.duplicate().next();
// eslint-disable-next-line @typescript-eslint/no-this-alias
// oxlint-disable-next-line no-this-alias
bravo = this;
}

Expand Down
Loading