Files
DocsGPT/.editorconfig
T
arc53-machine 53facb460c chore: add Zed project config, .editorconfig and shared pyright settings
- .zed/settings.json: ruff + basedpyright for Python (no format on save, the
  tree is not ruff-format clean), ESLint fixes then Prettier for the frontend,
  scan exclusions for caches and build outputs, .jwt_secret_key as private
- .zed/tasks.json: dev services, API, worker, frontend, pytest/vitest for the
  current file or test, linting, uv lock + requirements export
- .zed/debug.json: debugpy targets matching .vscode/launch.json
- .editorconfig: whitespace rules for every editor
- [tool.pyright] in pyproject.toml: venv, import root and excludes shared by
  pyright, basedpyright and Pylance
- .gitignore: track only the shared files under .zed/
- CONTRIBUTING: editor setup section; fix the stale ESLint config path
2026-09-21 16:10:31 +01:00

34 lines
687 B
INI

# https://editorconfig.org — shared whitespace rules for every editor.
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.{py,pyi}]
indent_size = 4
max_line_length = 120
[*.{sh,ps1,ini,toml}]
indent_size = 4
[{Dockerfile,Dockerfile.*,*.dockerfile}]
indent_size = 4
# Two trailing spaces are a hard line break in Markdown.
[*.{md,mdx}]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
# Generated or vendored; leave as produced.
[{uv.lock,package-lock.json,docsgpt/requirements*.txt}]
indent_size = unset
insert_final_newline = unset
trim_trailing_whitespace = unset