mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: one eslint task per workspace (#63835)
This commit is contained in:
committed by
GitHub
parent
c9e83c5c6a
commit
1e0805fd72
+28
-3
@@ -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": {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user