-
Notifications
You must be signed in to change notification settings - Fork 803
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
[Refactor Code] Remove unused services and imports #3547
Conversation
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.
Hey @gautamjajoo as we are doing the code cleanup here so can we please fix the warning as well that we get while logging in?
steps to see the warning-
- Go to login Page
- Open up the console
- Enter credentials and hit
login
button
@Kajol-Kumari I am opening up a separate PR for it. This issue is ony for |
@Kajol-Kumari I have fixed the above issue in this PR. This PR can be reviewed as well. |
Instead of manually finding and doing the cleanups everytime. Can we please add the \cc: @Ram81 @RishabhJain2018 |
@Kajol-Kumari I have used this in
I have added the above rules mentioned in |
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.
@gautamjajoo let's not add the below configuration in tslint.json
and instead add it in tsconfig.json
file so that we can get the error during compilation only.
"compilerOptions": {
"noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true /* Report errors on unused parameters. */
}
@Kajol-Kumari There are some issues when we add these in |
@gautamjajoo let's not do it rn. As per the scope of this PR adding it under tslint is also fine. |
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.
LGTM 👍
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.
LGTM
…d-CV#3547) * remove unused services and imports * add no-unused-variable in tslint Co-authored-by: Rishabh Jain <[email protected]>
This PR removes unused imports increasing the bundle size and thus the time to load. Also removes the unused services.
@Ram81 @Kajol-Kumari