-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [MarginFrontend] Fix linter & build #694
base: main
Are you sure you want to change the base?
Conversation
@djeck1432 pls review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, that's incorrect. build files should not be commited as a part of root folder..
It is fine that you gitignored /dist, however
I don't want to see .js and d.ts files in your PR.
You should make sure that everything is built into that folder and not commited outside.
@djeck1432 , pls review boss |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to gitignore any of these files, only dist folder
you just need to remove them and make sure they are built into dist.
/**/*.js | ||
/**/*.js.map | ||
/**/*.d.ts | ||
|
||
# But don't ignore JavaScript in specific places | ||
!/webpack.config.js | ||
!/jest.config.js | ||
# (add any other JS files that should be kept) | ||
|
||
# Keep the dist folder ignored | ||
/dist | ||
|
||
# TypeScript incremental compilation cache | ||
*.tsbuildinfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's incorrect...
*.js | ||
*.d.ts | ||
*.js.map | ||
*.d.ts.map | ||
/components/*.js | ||
/components/*.d.ts | ||
/components/*.js.map | ||
# Except specific JS files that should be committed | ||
!vite.config.js | ||
!vitest.config.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, you should never do this.
add build folder to git ignore
close-#685