Skip to content

Update eslint and turbo configs for devhub #2738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged
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
9 changes: 8 additions & 1 deletion apps/developer-hub/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
export { nextjs as default } from "@cprussin/eslint-config";
import { nextjs } from "@cprussin/eslint-config";

export default [
...nextjs,
{
ignores: [".source/**"],
},
];
6 changes: 4 additions & 2 deletions apps/developer-hub/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
"fix:lint": {
"dependsOn": [
"//#install:modules",
"^build",
"build",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two shouldn't actually be needed since this is just a virtual task and has no implementation other than triggering other tasks

"fix:lint:eslint",
"fix:lint:stylelint"
]
},
"fix:lint:eslint": {
"dependsOn": ["//#install:modules", "^build"],
"dependsOn": ["//#install:modules", "^build", "build"],
"cache": false
},
"fix:lint:stylelint": {
Expand All @@ -32,7 +34,7 @@
"dependsOn": ["test:lint:eslint", "test:lint:stylelint"]
},
"test:lint:eslint": {
"dependsOn": ["//#install:modules", "^build"]
"dependsOn": ["//#install:modules", "^build", "build"]
},
"test:lint:stylelint": {
"dependsOn": ["//#install:modules"]
Expand Down
Loading