fix: eslint (#8185)

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
This commit is contained in:
Aaron 2025-12-05 17:33:51 +07:00 committed by GitHub
parent 82c970ac4b
commit 85d90030cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
138 changed files with 5054 additions and 4747 deletions

View file

@ -1,3 +0,0 @@
build/*
dist/*
out/*

View file

@ -1,4 +0,0 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
};

View file

@ -1,6 +1,10 @@
.turbo
.next
.vercel
out/
dist/
.next/
.react-router/
.turbo/
.vite/
build/
dist/
node_modules/
out/
pnpm-lock.yaml
storybook-static/

View file

@ -1,6 +0,0 @@
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc"]
}

View file

@ -14,11 +14,11 @@
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check:lint": "eslint . --max-warnings 62",
"check:lint": "eslint . --max-warnings=1131",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
"fix:lint": "eslint . --fix",
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\"",
"check:format": "prettier --check .",
"fix:lint": "eslint . --fix --max-warnings=1131",
"fix:format": "prettier --write .",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
@ -28,9 +28,7 @@
"file-type": "^21.0.0"
},
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.1.3",
"tsdown": "catalog:",
"typescript": "catalog:"
},

View file

@ -77,3 +77,5 @@ export default class DashboardService extends APIService {
});
}
}
export { DashboardService };

View file

@ -102,3 +102,5 @@ export default class WebhookService extends APIService {
});
}
}
export { WebhookService };

View file

@ -6,3 +6,5 @@ export default class IntakeService extends APIService {
super(BASE_URL || API_BASE_URL);
}
}
export { IntakeService };

View file

@ -16,3 +16,5 @@ export default class IntakeIssueService extends APIService {
});
}
}
export { IntakeIssueService };

View file

@ -1,5 +1,9 @@
{
"extends": "@plane/typescript-config/react-library.json",
"compilerOptions": {
"exactOptionalPropertyTypes": false,
"noUnusedLocals": false
},
"include": ["./src"],
"exclude": ["dist", "build", "node_modules"]
}