-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
32 lines (28 loc) · 1015 Bytes
/
Copy patheslint.config.js
File metadata and controls
32 lines (28 loc) · 1015 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
31
32
import antfu from '@antfu/eslint-config'
import prettier from 'eslint-config-prettier'
// Kod stili kuralları @antfu'dan; BİÇİMLENDİRME Prettier'e devredildi
// (`stylistic: false`). weltoly ile aynı araç zinciri: ESLint = kod
// kalitesi/kurallar, Prettier = biçim. `eslint-config-prettier` en sonda
// çakışan tüm biçim kurallarını kapatır.
//
// Helmio frontend'i düz JS (TS değil) — `typescript: false`. Vue açık.
export default antfu({
vue: true,
typescript: false,
// Biçimlendirmeyi Prettier yapar; antfu'nun stylistic kurallarını kapat.
stylistic: false,
// Biçimlendiriciler kapalı: markdown/yaml/toml (docs, Cargo.toml, workflow'lar)
// bu kuralların KAPSAMI DIŞINDA.
markdown: false,
yaml: false,
toml: false,
jsonc: false,
ignores: [
'dist',
'src-tauri/target',
'src-tauri/gen',
'legacy', // eski Node backend/agent — port bitene kadar referans, lint dışı
'eventlistener', // Python
'**/*.d.ts'
]
}).append(prettier)