integrate Prettier with tslint (#1419)

* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
This commit is contained in:
Denys Vuika
2020-04-19 23:29:20 +01:00
committed by GitHub
parent 6a84717a00
commit bf509843b7
96 changed files with 829 additions and 559 deletions

View File

@@ -52,6 +52,7 @@ export class SearchInputControlComponent implements OnDestroy {
/** Emitted when the search is submitted pressing ENTER button.
* The search term is provided as value of the event.
*/
// tslint:disable-next-line: no-output-native
@Output()
submit: EventEmitter<any> = new EventEmitter();

View File

@@ -99,7 +99,7 @@ describe('SearchInputComponent', () => {
done();
})
);
component.onSearchSubmit(<any>{ target: { value: searchedTerm } });
component.onSearchSubmit({ target: { value: searchedTerm } });
tick();
}));
@@ -112,7 +112,7 @@ describe('SearchInputComponent', () => {
done();
})
);
component.onSearchSubmit(<any>{ target: { value: searchedTerm } });
component.onSearchSubmit({ target: { value: searchedTerm } });
tick();
}));
});