Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about tslint

Read more about tslint

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)

Questions - tslint

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...
test-img

Shining Love Star

angular

import

eslint

tslint

Votes: 0

Answers: 1

Latest Answer

I solved this with eslint-import-resolver-typescript and in .eslintrc.json "settings": { ... "import/resolver": { "typescript": { "alwaysTry...
test-img

Shining Love Star

Eslint - File ignored because of a matching ignore pattern

when I run eslint package/**/*.ts **/*.ts get this warning: 0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override /home/njfamirm/One/package/util/...
test-img

amirmohsss

typescript

eslint

tslint

Votes: 0

Answers: 1

Latest Answer

Use quotes in eslint command to enable glob pattern searching: For example: eslint "package/**/*.ts" "**/*.ts"
test-img

Goon Nguyen

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved