Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Move some configuration files out of the repository root (#64303)

Finn Evers2328e18cacdc
diff --git a/livekit.yaml b/.config/livekit.yaml
similarity index 100%
rename from livekit.yaml
rename to .config/livekit.yaml
diff --git a/lychee.toml b/.config/lychee.toml
similarity index 100%
rename from lychee.toml
rename to .config/lychee.toml
diff --git a/typos.toml b/.config/typos.toml
similarity index 100%
rename from typos.toml
rename to .config/typos.toml
diff --git a/renovate.json b/.github/renovate.json
similarity index 100%
rename from renovate.json
rename to .github/renovate.json
diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml
index ace3c0729e7..a92e303c598 100644
--- a/.github/workflows/deploy_docs.yml
+++ b/.github/workflows/deploy_docs.yml
@@ -109,7 +109,7 @@ jobs:
- name: deploy_docs::lychee_link_check
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
with:
- args: --no-progress --exclude '^http' './docs/src/**/*'
+ args: --config .config/lychee.toml --no-progress --exclude '^http' './docs/src/**/*'
fail: true
jobSummary: false
- name: deploy_docs::install_mdbook
@@ -126,7 +126,7 @@ jobs:
- name: deploy_docs::lychee_link_check
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
with:
- args: --no-progress --exclude '^http' 'target/deploy/docs'
+ args: --config .config/lychee.toml --no-progress --exclude '^http' 'target/deploy/docs'
fail: true
jobSummary: false
- name: deploy_docs::docs_deploy_steps::deploy_to_cf_pages
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index dbce5d5c695..2f1b2956499 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -171,7 +171,7 @@ jobs:
- name: run_tests::check_style::check_for_typos
uses: crate-ci/typos@2d0ce569feab1f8752f1dde43cc2f2aa53236e06
with:
- config: ./typos.toml
+ config: ./.config/typos.toml
- name: run_tests::fetch_ts_query_ls
run: gh release download v3.15.1 --repo ribru17/ts_query_ls --pattern ts_query_ls-x86_64-unknown-linux-gnu.tar.gz --dir "$GITHUB_WORKSPACE"
env:
@@ -755,7 +755,7 @@ jobs:
- name: deploy_docs::lychee_link_check
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
with:
- args: --no-progress --exclude '^http' './docs/src/**/*'
+ args: --config .config/lychee.toml --no-progress --exclude '^http' './docs/src/**/*'
fail: true
jobSummary: false
- name: deploy_docs::install_mdbook
@@ -772,7 +772,7 @@ jobs:
- name: deploy_docs::lychee_link_check
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
with:
- args: --no-progress --exclude '^http' 'target/deploy/docs'
+ args: --config .config/lychee.toml --no-progress --exclude '^http' 'target/deploy/docs'
fail: true
jobSummary: false
timeout-minutes: 60
diff --git a/.zed/settings.json b/.zed/settings.json
index 10f37b3f525..5a19c3c3184 100644
--- a/.zed/settings.json
+++ b/.zed/settings.json
@@ -1,5 +1,8 @@
{
"languages": {
+ "Docker Compose": {
+ "tab_size": 2,
+ },
"Markdown": {
"tab_size": 2,
"formatter": "prettier",
diff --git a/compose.yml b/compose.yml
index 17f6f51293d..10433d2a75b 100644
--- a/compose.yml
+++ b/compose.yml
@@ -20,4 +20,4 @@ services:
- 7881:7881
- 7882:7882/udp
volumes:
- - ./livekit.yaml:/livekit.yaml
+ - ./.config/livekit.yaml:/livekit.yaml
diff --git a/debug.plist b/debug.plist
deleted file mode 100644
index e09573c9d1c..00000000000
--- a/debug.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>com.apple.security.get-task-allow</key>
- <true/>
- </dict>
-</plist>
diff --git a/script/check-links b/script/check-links
index 259ce1d1b9b..f662305b183 100755
--- a/script/check-links
+++ b/script/check-links
@@ -25,8 +25,8 @@ cargo install lychee
cd "$(dirname "$0")/.."
if [ "$check_mode" = "all" ]; then
- lychee --no-progress './docs/src/**/*'
+ lychee --config .config/lychee.toml --no-progress './docs/src/**/*'
else
- lychee --exclude '^http' './docs/src/**/*'
+ lychee --config .config/lychee.toml --exclude '^http' './docs/src/**/*'
fi
#
diff --git a/script/clippy b/script/clippy
index 2919abfb9d5..a43168dea6c 100755
--- a/script/clippy
+++ b/script/clippy
@@ -15,7 +15,7 @@ if [[ -z "${GITHUB_ACTIONS+x}" ]]; then
cargo shear --locked --deny-warnings
which typos >/dev/null 2>&1 || exit 0
- typos --config typos.toml
+ typos --config .config/typos.toml
which buf >/dev/null 2>&1 || exit 0
buf lint crates/proto/proto
diff --git a/tooling/xtask/src/tasks/workflows/deploy_docs.rs b/tooling/xtask/src/tasks/workflows/deploy_docs.rs
index 7871022f770..507261ddec6 100644
--- a/tooling/xtask/src/tasks/workflows/deploy_docs.rs
+++ b/tooling/xtask/src/tasks/workflows/deploy_docs.rs
@@ -52,7 +52,10 @@ pub(crate) fn lychee_link_check(dir: &str) -> Step<Use> {
"lychee-action",
"82202e5e9c2f4ef1a55a3d02563e1cb6041e5332",
) // v2.4.1
- .add_with(("args", format!("--no-progress --exclude '^http' '{dir}'")))
+ .add_with((
+ "args",
+ format!("--config .config/lychee.toml --no-progress --exclude '^http' '{dir}'"),
+ ))
.add_with(("fail", true))
.add_with(("jobSummary", false))
}
diff --git a/tooling/xtask/src/tasks/workflows/run_tests.rs b/tooling/xtask/src/tasks/workflows/run_tests.rs
index 033562863ea..d5b633b6e20 100644
--- a/tooling/xtask/src/tasks/workflows/run_tests.rs
+++ b/tooling/xtask/src/tasks/workflows/run_tests.rs
@@ -427,7 +427,7 @@ fn check_style() -> NamedJob {
"typos",
"2d0ce569feab1f8752f1dde43cc2f2aa53236e06",
) // v1.40.0
- .with(("config", "./typos.toml"))
+ .with(("config", "./.config/typos.toml"))
}
named::job(