generated from Experience-Monks/nextjs-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ls-lint.yml
33 lines (32 loc) · 880 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
ls:
.js: kebab-case | pointcase
.ts: kebab-case | pointcase
.d.ts: kebab-case
.config.js: kebab-case
src:
assets:
.png: kebab-case
.jpg: kebab-case
.jpeg: kebab-case
.webp: kebab-case
.svg: kebab-case
.mp4: kebab-case
.webm: kebab-case
components:
.js: PascalCase
.tsx: PascalCase
.stories.js: PascalCase
.stories.tsx: PascalCase
.svg: kebab-case
pages:
.js: kebab-case | regex:^_[a-z-.]* | regex:^\[\w*\] #regex for kebab-case with preceeding underscore or [] for dynamic routing
.tsx: kebab-case | regex:^_[a-z-.]* | regex:^\[\w*\] #regex for kebab-case with preceeding underscore or [] for dynamic routing
scripts:
templates:
.js: PascalCase
.stories.js: PascalCase
ignore:
- node_modules
- .next
- out
- src/components/ImageSequence/utils.tsx