-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ls-lint.yml
More file actions
59 lines (52 loc) · 1.34 KB
/
.ls-lint.yml
File metadata and controls
59 lines (52 loc) · 1.34 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ls:
# Root directory - specific uppercase files allowed
.js: regex:^vitest\.config$
.json: regex:^(package|\.eslintrc)$
.yml: regex:^\.ls-lint$
.md: regex:^(README|CHANGELOG|CONTRIBUTING|PROJECT_STATUS|AGENTS)$
.example: regex:^\.env$
.ignore: regex:^(\.gitignore|\.npmignore|\.eslintignore)$
.dir: regex:^([a-z][a-z0-9-]*|\.github|\.husky)$ # kebab-case or conventional dot-directories
# Scripts directory
scripts:
.js: kebab-case
# GitHub workflows
.github/workflows:
.yml: kebab-case
.yaml: kebab-case
.md: regex:^(README|AGENTS)$
# GitHub root level
.github:
.md: kebab-case
# Source directories
src:
.dir: kebab-case
.js: kebab-case
.ts: kebab-case
.json: kebab-case
.md: regex:^([a-z][a-z0-9-]*|README|AGENTS)$
# Test directories
tests:
.dir: kebab-case
.js: kebab-case
.ts: kebab-case
.json: kebab-case
.md: regex:^([a-z][a-z0-9-]*|README|AGENTS)$
# Documentation (allow CONTRIBUTING in addition to README/AGENTS)
docs:
.dir: kebab-case
.md: regex:^([a-z][a-z0-9-]*|README|CONTRIBUTING|AGENTS)$
ignore:
- .git
- .husky/_ # Husky internal directory
- node_modules
- dist
- build
- cache
- coverage
- .DS_Store
- .env
- .env.local
- package-lock.json
- npm-debug.log
- .opencode # OpenCode configuration (user-specific)