Showing 3 of 11 total issues
Function exports
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [
Function ngOnInit
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ngOnInit(): void { this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => { const snapshot: ActivatedRouteSnapshot = this.router.routerState.snapshot.root.firstChild; const title: string = snapshot.data['title'];
Function fireBug
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
export const fireBug = () => new Promise((resolve) => { if (environment.firebug) { const fb = document.createElement('script'); fb.type = 'text/javascript'; fb.src = '../firebug-lite/build/firebug-lite.js'; fb.innerHTML = `
- Read upRead up