Skip to content

Commit aa7f702

Browse files
✨ feat(ignore): better ignore file
1 parent 653ad8d commit aa7f702

File tree

4 files changed

+107
-60
lines changed

4 files changed

+107
-60
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# http://editorconfig.org
2+
23
root = true
34

45
[*]

.eslintignore

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
1-
/example
1+
# Eslintignore for LobeHub
2+
################################################################
3+
4+
# dependencies
5+
node_modules
6+
7+
# ci
8+
.coverage
9+
10+
# test
11+
jest*
212
_test_
313
__test__
4-
/node_modules
5-
jest*
6-
/es
7-
/lib
8-
/docs
9-
/dist
14+
15+
# umi
16+
.umi
17+
.umi-production
18+
.umi-test
19+
.dumi/tmp*
20+
21+
# production
22+
dist
23+
es
24+
lib
25+
logs
26+
27+
# misc
28+
# add other ignore file below

.gitignore

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,43 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# Gitignore for LobeHub
2+
################################################################
3+
4+
# general
5+
.DS_Store
6+
.idea
7+
.vscode
8+
.history
9+
.temp
10+
.env.local
11+
venv
12+
temp
13+
tmp
214

315
# dependencies
4-
**/node_modules
5-
npm-debug.log*
6-
yarn-error.log
16+
node_modules
17+
*.log
18+
*.lock
719
package-lock.json
820

9-
# production
10-
**/dist
11-
/plugins/
12-
/es
13-
/lib
14-
/logs
15-
16-
# misc
17-
.DS_Store
21+
# ci
22+
.coverage
1823
.eslintcache
24+
.stylelintcache
1925

20-
# umi
21-
/src/.umi
22-
/src/.umi-production
23-
/src/.umi-test
24-
/.env.local
26+
# production
27+
dist
28+
es
29+
lib
30+
logs
31+
test-output
2532

26-
# ide
27-
.idea
28-
.vscode
29-
.history
30-
*.log
31-
functions/*
32-
lambda/mock/index.js
33-
.temp/**
33+
# umi
34+
.umi
35+
.umi-production
36+
.umi-test
37+
.dumi/tmp*
3438

35-
# test
36-
**/test-output
37-
config.yml
38-
yarn.lock
39-
venv
40-
temp
39+
# husky
4140
.husky/prepare-commit-msg
41+
42+
# misc
43+
# add other ignore file below

.prettierignore

Lines changed: 46 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,50 @@
1-
**/*.svg
2-
.umi
3-
.umi-production
4-
/dist
5-
.dockerignore
1+
# Prettierignore for LobeHub
2+
################################################################
3+
4+
# general
65
.DS_Store
7-
.eslintignore
8-
*.png
9-
*.jpg
10-
*.webp
11-
*.toml
12-
*.py
13-
docker
14-
.editorconfig
15-
Dockerfile*
16-
.gitignore
17-
.prettierignore
18-
LICENSE
19-
.eslintcache
20-
*.lock
21-
yarn-error.log
226
.idea
7+
.vscode
8+
.history
9+
.temp
10+
.env.local
2311
.husky
2412
.npmrc
25-
.env.local
13+
venv
14+
temp
15+
tmp
16+
LICENSE
17+
18+
# dependencies
19+
node_modules
20+
*.log
21+
*.lock
22+
package-lock.json
23+
24+
# ci
25+
.coverage
26+
.eslintcache
27+
.stylelintcache
28+
test-output
29+
30+
# production
31+
dist
32+
es
33+
lib
34+
logs
35+
36+
# umi
37+
.umi
38+
.umi-production
39+
.umi-test
40+
.dumi/tmp*
41+
42+
# ignore files
43+
.*ignore
44+
45+
# docker
46+
docker
47+
Dockerfile*
48+
49+
# misc
50+
# add other ignore file below

0 commit comments

Comments
 (0)