fix: replace eslint with oxlint (#8677)

* fix: replace eslint with oxlint

* chore: adding max warning

* fix: formatting
This commit is contained in:
sriram veeraghanta 2026-03-03 00:46:05 +05:30 committed by GitHub
parent 41abaffc6e
commit c5542438a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 439 additions and 2466 deletions

View file

@ -17,10 +17,10 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --max-warnings=1131",
"check:lint": "oxlint --max-warnings=6 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",
"fix:lint": "eslint . --cache --cache-location node_modules/.cache/eslint/ --fix --max-warnings=1131",
"fix:lint": "oxlint --fix .",
"fix:format": "oxfmt .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},

View file

@ -18,9 +18,6 @@ export class ModuleLinkService extends APIService {
* Creates an instance of ModuleLinkService.
* @param {string} baseURL - The base URL for the API endpoints
*/
constructor(baseURL: string) {
super(baseURL);
}
/**
* Creates a new module link.

View file

@ -10,10 +10,6 @@ import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/
import { APIService } from "../api.service";
export class ModuleService extends APIService {
constructor(baseURL: string) {
super(baseURL);
}
async workspaceModulesList(workspaceSlug: string): Promise<IModule[]> {
return this.get(`/api/workspaces/${workspaceSlug}/modules/`)
.then((response) => response?.data)

View file

@ -10,10 +10,6 @@
import { APIService } from "../api.service";
export class ModuleOperationService extends APIService {
constructor(baseURL: string) {
super(baseURL);
}
/**
* Add issues to a module
* @param {string} workspaceSlug - The slug of the workspace