Skip to content

Commit

Permalink
✨ feat(ignore): better ignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jun 8, 2023
1 parent 653ad8d commit aa7f702
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 60 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# http://editorconfig.org

root = true

[*]
Expand Down
33 changes: 26 additions & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
/example
# Eslintignore for LobeHub
################################################################

# dependencies
node_modules

# ci
.coverage

# test
jest*
_test_
__test__
/node_modules
jest*
/es
/lib
/docs
/dist

# umi
.umi
.umi-production
.umi-test
.dumi/tmp*

# production
dist
es
lib
logs

# misc
# add other ignore file below
66 changes: 34 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Gitignore for LobeHub
################################################################

# general
.DS_Store
.idea
.vscode
.history
.temp
.env.local
venv
temp
tmp

# dependencies
**/node_modules
npm-debug.log*
yarn-error.log
node_modules
*.log
*.lock
package-lock.json

# production
**/dist
/plugins/
/es
/lib
/logs

# misc
.DS_Store
# ci
.coverage
.eslintcache
.stylelintcache

# umi
/src/.umi
/src/.umi-production
/src/.umi-test
/.env.local
# production
dist
es
lib
logs
test-output

# ide
.idea
.vscode
.history
*.log
functions/*
lambda/mock/index.js
.temp/**
# umi
.umi
.umi-production
.umi-test
.dumi/tmp*

# test
**/test-output
config.yml
yarn.lock
venv
temp
# husky
.husky/prepare-commit-msg

# misc
# add other ignore file below
67 changes: 46 additions & 21 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,50 @@
**/*.svg
.umi
.umi-production
/dist
.dockerignore
# Prettierignore for LobeHub
################################################################

# general
.DS_Store
.eslintignore
*.png
*.jpg
*.webp
*.toml
*.py
docker
.editorconfig
Dockerfile*
.gitignore
.prettierignore
LICENSE
.eslintcache
*.lock
yarn-error.log
.idea
.vscode
.history
.temp
.env.local
.husky
.npmrc
.env.local
venv
temp
tmp
LICENSE

# dependencies
node_modules
*.log
*.lock
package-lock.json

# ci
.coverage
.eslintcache
.stylelintcache
test-output

# production
dist
es
lib
logs

# umi
.umi
.umi-production
.umi-test
.dumi/tmp*

# ignore files
.*ignore

# docker
docker
Dockerfile*

# misc
# add other ignore file below

0 comments on commit aa7f702

Please sign in to comment.