chore: auto-commit task -
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
$schema: 'https://moonrepo.dev/schema/config/v2.json'
|
||||
|
||||
# Global task templates — each project must explicitly inherit via workspace.inheritedTasks
|
||||
# In moon v2, these define reusable task templates
|
||||
tasks:
|
||||
lint:
|
||||
command: biome
|
||||
args:
|
||||
- check
|
||||
- '--diagnostic-level=error'
|
||||
- .
|
||||
options:
|
||||
runFromWorkspaceRoot: false
|
||||
inputs:
|
||||
- 'src/**/*'
|
||||
- '*.js'
|
||||
- '*.mjs'
|
||||
- '*.ts'
|
||||
- '*.mts'
|
||||
|
||||
format:
|
||||
command: biome
|
||||
args:
|
||||
- format
|
||||
- '--write'
|
||||
- .
|
||||
options:
|
||||
runFromWorkspaceRoot: false
|
||||
inputs:
|
||||
- 'src/**/*'
|
||||
- '*.js'
|
||||
- '*.mjs'
|
||||
- '*.ts'
|
||||
- '*.mts'
|
||||
@@ -1,3 +1,5 @@
|
||||
$schema: 'https://moonrepo.dev/schema/config/v2.json'
|
||||
|
||||
# Moon Workspace Configuration
|
||||
projects:
|
||||
- 'services/*'
|
||||
|
||||
Reference in New Issue
Block a user