Skip to content

Commit 2272568

Browse files
sweep2: add config files (.gitattributes mise.toml)
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 5e591d7 commit 2272568

2 files changed

Lines changed: 146 additions & 0 deletions

File tree

.gitattributes

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Auto-detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Denote all Python files as text
5+
*.py text
6+
7+
# Denote all shell scripts as text
8+
*.sh text
9+
10+
# Denote all Markdown files as text
11+
*.md text
12+
13+
# Denote all YAML files as text
14+
*.yaml text
15+
*.yml text
16+
17+
# Denote all JSON files as text
18+
*.json text
19+
20+
# Denote all TOML files as text
21+
*.toml text
22+
23+
# Denote all JavaScript/TypeScript files as text
24+
*.js text
25+
*.ts text
26+
*.jsx text
27+
*.tsx text
28+
29+
# Denote all HTML files as text
30+
*.html text
31+
32+
# Denote all CSS files as text
33+
*.css text
34+
35+
# Denote all Rust files as text
36+
*.rs text
37+
38+
# Denote all Java files as text
39+
*.java text
40+
41+
# Denote all Go files as text
42+
*.go text
43+
44+
# Denote all C/C++ files as text
45+
*.c text
46+
*.cpp text
47+
*.h text
48+
*.hpp text
49+
50+
# Denote all Lua files as text
51+
*.lua text
52+
53+
# Denote all Zig files as text
54+
*.zig text
55+
56+
# Line endings
57+
*.sh eol=lf
58+
*.py eol=lf
59+
*.md eol=lf
60+
*.yaml eol=lf
61+
*.yml eol=lf
62+
*.json eol=lf
63+
*.toml eol=lf
64+
*.js eol=lf
65+
*.ts eol=lf
66+
Makefile eol=lf
67+
Dockerfile eol=lf
68+
69+
# Language-specific attributes
70+
*.py diff=python
71+
*.js diff=javascript
72+
*.ts diff=typescript
73+
*.rs diff=rust
74+
*.go diff=go
75+
*.java diff=java
76+
*.zig diff=zig
77+
78+
# Linguist-specific overrides
79+
*.coq linguist-language=Coq
80+
*.v linguist-language=V
81+
*.agda linguist-language=Agda
82+
*.idr linguist-language=Idris
83+
*.purs linguist-language=PureScript
84+
*.elm linguist-language=Elm
85+
*.rkt linguist-language=Racket
86+
*.scm linguist-language=Scheme
87+
*.clj linguist-language=Clojure
88+
*.cljs linguist-language=Clojure
89+
*.cljc linguist-language=Clojure

mise.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[tools]
2+
# Language runtimes
3+
node = "latest"
4+
python = "latest"
5+
rust = "latest"
6+
go = "latest"
7+
zig = "latest"
8+
java = "latest"
9+
bun = "latest"
10+
denojs = "latest"
11+
12+
# Package managers
13+
npm = "latest"
14+
yarn = "latest"
15+
pnpm = "latest"
16+
pip = "latest"
17+
cargo = "latest"
18+
go-task = "latest"
19+
20+
# Formatting & Linting
21+
gofmt = "latest"
22+
black = "latest"
23+
isort = "latest"
24+
ruff = "latest"
25+
prettier = "latest"
26+
shfmt = "latest"
27+
stylua = "latest"
28+
29+
# Build tools
30+
cmake = "latest"
31+
make = "latest"
32+
ninja = "latest"
33+
34+
# Shell tools
35+
git = "latest"
36+
gnu-sed = "latest"
37+
gnu-tar = "latest"
38+
gnu-grep = "latest"
39+
40+
# Testing
41+
vitest = "latest"
42+
pytest = "latest"
43+
jest = "latest"
44+
45+
[env]
46+
# Common environment variables
47+
NODE_ENV = "development"
48+
PYTHONDONTWRITEBYTECODE = "1"
49+
PYTHONUNBUFFERED = "1"
50+
51+
# Task runner alias
52+
[alias]
53+
task = "go-task"
54+
build = "cargo build --release || npm run build || go build"
55+
test = "cargo test || npm test || go test ./..."
56+
lint = "ruff check . || prettier --check . || black --check ."
57+
fmt = "ruff format . || prettier --write . || black ."

0 commit comments

Comments
 (0)