This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
False positive for prefer-array-literal when using Array
from other namespace
#856
Labels
Difficulty: Easy
Someone with little to no experience in TSLint should be able to send a pull request for this issue.
Good First Issue 🙌
Howdy, neighbor!
Status: Accepting PRs
Type: Bug
Milestone
Bug Report
tslint-microsoft-contrib
version: 6.1.0-beta2TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Got
Replace Array constructor with an array literal: new Types.Array() (prefer-array-literal)tslint(prefer-array-literal)
Expected behavior
Got nothing
The text was updated successfully, but these errors were encountered: