Skip to content

Commit

Permalink
refactor: fix code style issues
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Correa Casablanca <[email protected]>
  • Loading branch information
castarco committed Apr 16, 2024
1 parent 832261a commit 5181a81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
11 changes: 5 additions & 6 deletions website/docs/config/project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -984,13 +984,12 @@ The [strategy](../concepts/task-inheritance#merge-strategies) to use when mergin

<HeadingApiLink to="/api/types/interface/TaskOptionsConfig#mutex" />

Creates an exclusive lock on a "virtual resource", preventing other tasks using
the same "virtual resource" from running concurrently.
Creates an exclusive lock on a "virtual resource", preventing other tasks using the same "virtual
resource" from running concurrently.

If you have many tasks that require exclusive access to a resource that can't be
tracked by Moon (like a database, an ignored file, a file that's not part of
the project, or a remote resource) you can use the `mutex` option to prevent them
from running at the same time.
If you have many tasks that require exclusive access to a resource that can't be tracked by Moon
(like a database, an ignored file, a file that's not part of the project, or a remote resource) you
can use the `mutex` option to prevent them from running at the same time.

```yaml title="moon.yml" {5}
tasks:
Expand Down
9 changes: 7 additions & 2 deletions website/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"extends": ["../tsconfig.options.json", "@docusaurus/tsconfig"],
"extends": [
"../tsconfig.options.json",
"@docusaurus/tsconfig"
],
"compilerOptions": {
"emitDeclarationOnly": true,
"noEmit": false,
"outDir": "../.moon/cache/types/website",
"verbatimModuleSyntax": false,
"baseUrl": ".",
"paths": {
"@site/*": ["./*"]
"@site/*": [
"./*"
]
}
},
"include": [
Expand Down

0 comments on commit 5181a81

Please sign in to comment.