python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
ESLint Error : Prefer using arrow functions over plain functions prefer-arrow/prefer-arrow-functions
I have these lines of code in one of my files. Running ng lint resulted in error "Prefer using arrow functions over plain functions prefer-arrow/prefer-arrow-functions" where I have the cod...
user1444965
Votes: 0
Answers: 1
TypeError: this.cliEngineCtor is not a constructor
I'm running a react app using a yarn package manager. I'm getting the aforementioned ESLint error. I have tried the following to fix it:
Deleted package-lock.json and node modules and installed yar...
brohjoe
Votes: 0
Answers: 0
How can I resolve a consistent-return error is eslint?
I've got this eslint error Expected to return a value at the end of arrow function consistent-return and even after reading the doc I still don't know how to handle it.
/**
* @param selector
* @re...
Micka Bup
Votes: 0
Answers: 1
eslint can't find OnInit from "@angular/core"
this gives an error:
import { Component, OnInit, Input, ViewChild, ElementRef } from "@angular/core";
OnInit not found in '@angular/core'eslintimport/named
The code obviously works, so ma...

Shining Love Star
Votes: 0
Answers: 1