Showing 3 of 105 total issues
Function exports
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['mocha', '@angular/cli'],
plugins: [
Function initializeMenu
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initializeMenu(): Observable<boolean> {
this.housesStore.select(state => state.houses).subscribe((housingItems: House[]) => {
const newMenuItems = housingItems
.map(house => house.country) // Linq: .Select(house => house.country)
.filter((value, index, array) => array.indexOf(value) === index) // Linq: .Distinct()
Function initializeMenu
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initializeMenu(): Observable<boolean> {
this.carStore.select(state => state.cars).subscribe((carItems: Car[]) => {
const newMenuItems = carItems
.map(car => car.brand) // Linq: .Select(car => car.brand)
.filter((value, index, array) => array.indexOf(value) === index) // Linq: .Distinct()