-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ls-lint.yml
42 lines (39 loc) · 1.03 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
37
38
39
40
41
42
ls:
apps/*/src:
.dir:
kebab-case | regex:_internals | regex:__tests__ | regex:__stories__ |
regex:__mocks__
.test.ts: kebab-case
.queries.ts: kebab-case
.d.ts: kebab-case
.ts: kebab-case
.server.ts: kebab-case
.client.ts: kebab-case
.svelte: PascalCase
.md: PascalCase
apps/*/src/routes:
.dir:
kebab-case | regex:_internals | regex:__tests__ | regex:__stories__ |
regex:__mocks__ | regex:\[[a-z][a-zA-Z0-9-]+(?:=[a-z][a-zA-Z0-9_]+)?\] |
regex:\([a-z][a-z0-9-]+\)
.js:
regex:[+]page(?:[.]server)? | regex:[+]layout(?:[.]server)? |
regex:[+]server
.ts:
regex:[+]page(?:[.]server)? | regex:[+]layout(?:[.]server)? |
regex:[+]server
.svelte: regex:[+]page | regex:[+]layout | regex:[+]error
.md: PascalCase
packages/*/*/lib:
.dir:
kebab-case | regex:_internals | regex:__tests__ | regex:__stories__ |
regex:__mocks__
ignore:
- .git
- .github
- .husky
- .vscode
- .eslintrc.js
- .svelte-kit
- node_modules
- dist