From bf1e36f5ebc97dd54030f6977273f5ada866fc6d Mon Sep 17 00:00:00 2001 From: Dung Huynh Duc Date: Fri, 13 Sep 2024 19:14:48 +0800 Subject: [PATCH] chore: format code --- .github/ISSUE_TEMPLATE/sweep-template.yml | 2 +- .luarc.json | 11 +++-------- cspell.json | 13 +++---------- renovate.json | 4 +--- sweep.yaml | 4 ++-- 5 files changed, 10 insertions(+), 24 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/sweep-template.yml b/.github/ISSUE_TEMPLATE/sweep-template.yml index 98811de..09212ab 100644 --- a/.github/ISSUE_TEMPLATE/sweep-template.yml +++ b/.github/ISSUE_TEMPLATE/sweep-template.yml @@ -1,5 +1,5 @@ name: Sweep Issue -title: 'Sweep: ' +title: "Sweep: " description: For small bugs, features, refactors, and tests to be handled by Sweep, an AI-powered junior developer. labels: sweep body: diff --git a/.luarc.json b/.luarc.json index c32c083..da8138e 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,9 +1,4 @@ { - "diagnostics.globals": [ - "describe", - "it" - ], - "diagnostics.disable": [ - "undefined-field" - ] -} \ No newline at end of file + "diagnostics.globals": ["describe", "it"], + "diagnostics.disable": ["undefined-field"] +} diff --git a/cspell.json b/cspell.json index d740418..656c834 100644 --- a/cspell.json +++ b/cspell.json @@ -10,13 +10,6 @@ "addWords": true } ], - "dictionaries": [ - "cspell-tool" - ], - "ignorePaths": [ - "node_modules", - "dist", - "build", - "/cspell-tool.txt" - ] -} \ No newline at end of file + "dictionaries": ["cspell-tool"], + "ignorePaths": ["node_modules", "dist", "build", "/cspell-tool.txt"] +} diff --git a/renovate.json b/renovate.json index 39a2b6e..4bd832f 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ] + "extends": ["config:base"] } diff --git a/sweep.yaml b/sweep.yaml index 785e3fb..a13053a 100644 --- a/sweep.yaml +++ b/sweep.yaml @@ -11,7 +11,7 @@ rules: - "Variable and function names should be meaningful and descriptive." # This is the branch that Sweep will develop from and make pull requests to. Most people use 'main' or 'master' but some users also use 'dev' or 'staging'. -branch: 'main' +branch: "main" # By default Sweep will read the logs and outputs from your existing Github Actions. To disable this, set this to false. gha_enabled: True @@ -21,7 +21,7 @@ gha_enabled: True # Example: # # description: sweepai/sweep is a python project. The main api endpoints are in sweepai/api.py. Write code that adheres to PEP8. -description: '' +description: "" # This sets whether to create pull requests as drafts. If this is set to True, then all pull requests will be created as drafts and GitHub Actions will not be triggered. draft: False