generated from SkyGopnik/frontend.template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ls-lint.yml
36 lines (35 loc) · 816 Bytes
/
.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:
src:
.dir: kebab-case
.ts: camelCase
.tsx: camelCase | PascalCase
.scss: point.case
.d.ts: kebab-case
.svg: kebab-case
.png: kebab-case
.jpg: kebab-case
.jpeg: kebab-case
'{components,pages,layouts}':
.dir: PascalCase | kebab-case
style:
.scss: lowercase
pages:
.scss: kebab-case
app:
.dir: regex:^\([a-z]+[a-zA-Z]*\)?$|^\[[a-z]+[a-zA-Z]*\]$|^[a-z]+(-[a-z]+)*$
'**/_*/':
.dir: lowercase
.ts: camelCase
.tsx: camelCase | PascalCase
.scss: point.case
.svg: kebab-case
.png: kebab-case
.jpg: kebab-case
.jpeg: kebab-case
'*':
.dir: PascalCase | kebab-case
.ts: camelCase
.tsx: camelCase | PascalCase
.scss: point.case
ignore:
- node_modules