-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
30 lines (25 loc) · 943 Bytes
/
Copy path.editorconfig
File metadata and controls
30 lines (25 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# EditorConfig — https://editorconfig.org
# Codifies the whitespace conventions Vision relies on. There is intentionally no
# Prettier in this repo (ESLint-only), so this file is the source of truth for
# indentation across editors. Keep it in sync with how the code is actually written.
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# Frontend (React + TypeScript, under apps/frontend/src) is 4-space indented.
[apps/frontend/src/**.{ts,tsx,js,jsx,css}]
indent_size = 4
# Python (Alembic migrations + tooling config) — 4-space, ruff-formatted.
[*.py]
indent_size = 4
# Markdown may use trailing spaces as hard line breaks; leave them alone.
[*.md]
trim_trailing_whitespace = false
# Generated / vendored — don't fight their formatting.
[{bun.lock,*.min.js,*.min.css}]
trim_trailing_whitespace = false
insert_final_newline = ignore