-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ls-lint.yml
36 lines (36 loc) · 1.1 KB
/
.ls-lint.yml
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
ls:
apps/landing/src/{layouts,components}:
.dir: kebab-case
.astro: PascalCase
.md: kebab-case
apps/landing/src/pages/*:
.dir: kebab-case
.astro: kebab-case
.md: kebab-case
'{apps,packages}/*':
.dir: kebab-case
'{apps,packages}/*/src':
.dir: kebab-case
.js: kebab-case
.ts: kebab-case
.tsx: kebab-case
.d.ts: kebab-case
apps/*/src/*:
.dir: kebab-case
.js: kebab-case
.ts: kebab-case | regex:^[a-z0-9]+(?:-[a-z0-9]+)*(?:\.[a-z0-9]+)?$
.tsx: kebab-case | regex:\[[a-z0-9]+\] | regex:\[\.\.\.[a-z0-9]+\]
.jsx: kebab-case | regex:\[[a-z0-9]+\] | regex:\[\.\.\.[a-z0-9]+\]
.d.ts: kebab-case
apps/*/src/app/*:
.dir: kebab-case | regex:\[[a-zA-Z0-9]+\] | regex:\[\.\.\.[a-zA-Z0-9]+\] | regex:\([a-zA-Z0-9]+\) | regex:\[[a-zA-Z0-9]+\]\/\[a-zA-Z0-9]+\]
.js: kebab-case
.ts: kebab-case | regex:\[[a-z0-9]+\] | regex:\[\.\.\.[a-z0-9]+\]
.d.ts: kebab-case
packages/*/prisma/migrations:
.dir: snake_case
.sql: kebab-case
ignore:
- .git
- node_modules
- '{apps,packages}/*/{node_modules,.expo,.turbo,.next,.swc,.astro,.vscode}'