Skip to content

Commit

Permalink
Fixes with Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth Kothari committed Jan 12, 2024
1 parent baf57a3 commit b6381b1
Show file tree
Hide file tree
Showing 115 changed files with 5,646 additions and 4,205 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"prefix": "app",
"style": "kebab-case"
}
]
],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unused-vars": 0
}
},
{
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npx lint-staged
101 changes: 84 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
"prettier-eslint": "^16.2.0",
"typescript": "~5.1.3"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<footer class="footer container-fluid">
<div class="row ">
<div class="row">
<div class="col-xs-4 text-left">
<span class="footer-text">{{currentLanguageSet?.poweredByWipro}}</span>
<span class="footer-text">{{ currentLanguageSet?.poweredByWipro }}</span>
</div>
<div class="col-xs-4 text-center">
<p class="footer-text">{{year}} © {{currentLanguageSet?.pSMRI}}</p>
<p class="footer-text">{{ year }} © {{ currentLanguageSet?.pSMRI }}</p>
</div>
<div class="col-xs-4 text-right">
<p class="footer-text">
<span [ngClass]="{online: status, offline: !status}"></span> {{ status ? currentLanguageSet?.online: currentLanguageSet?.offline}}&nbsp;
<span [ngClass]="{ online: status, offline: !status }"></span>
{{
status ? currentLanguageSet?.online : currentLanguageSet?.offline
}}&nbsp;
</p>
</div>
</div>
</footer>
</footer>
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
/*
* AMRIT – Accessible Medical Records via Integrated Technology
* Integrated EHR (Electronic Health Records) Solution
*
* Copyright (C) "Piramal Swasthya Management and Research Institute"
*
* This file is part of AMRIT.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
* AMRIT – Accessible Medical Records via Integrated Technology
* Integrated EHR (Electronic Health Records) Solution
*
* Copyright (C) "Piramal Swasthya Management and Research Institute"
*
* This file is part of AMRIT.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { AppFooterComponent } from './app-footer.component';
Expand All @@ -29,9 +29,8 @@ describe('AppFooterComponent', () => {

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ AppFooterComponent ]
})
.compileComponents();
declarations: [AppFooterComponent],
}).compileComponents();
}));

beforeEach(() => {
Expand Down
Loading

0 comments on commit b6381b1

Please sign in to comment.