refactor: one eslint task per workspace (#63835)

This commit is contained in:
Oliver Eyton-Williams
2025-11-21 14:51:46 +01:00
committed by GitHub
parent c9e83c5c6a
commit 1e0805fd72
74 changed files with 1813 additions and 2307 deletions
+28 -3
View File
@@ -1,9 +1,34 @@
{
"$schema": "https://turborepo.com/schema.json",
"tasks": {
"lint": {
"dependsOn": ["^lint"]
"lint": {},
"@freecodecamp/client#lint": {
"dependsOn": [
"@freecodecamp/curriculum#compile",
"create:env",
"build:scripts"
]
},
"//#lint": {}
"@freecodecamp/gatsby-source-challenges#lint": {
"dependsOn": ["@freecodecamp/curriculum#compile"]
},
"@freecodecamp/scripts-lint#lint": {
"dependsOn": ["@freecodecamp/client#create:trending"],
"inputs": [
"$TURBO_DEFAULT$",
"$TURBO_ROOT$/client/i18n/locales/english/*"
]
},
"//#lint": {
"dependsOn": [
"@freecodecamp/shared#compile",
"@freecodecamp/curriculum#build"
]
},
"compile": {},
"create:trending": { "cache": false },
"create:env": { "dependsOn": ["@freecodecamp/curriculum#compile"] },
"build": { "dependsOn": ["compile"] },
"build:scripts": {}
}
}