This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
prefer-array-literal: catch new Array(10) but not Array(10) #839
Labels
Difficulty: Easy
Someone with little to no experience in TSLint should be able to send a pull request for this issue.
Status: Accepting PRs
Type: Breaking Change
Type: Bug
Milestone
Bug Report
tslint-microsoft-contrib
version: 6.1.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
With
tslint -c tslint.json -p tsconfig.json
,Array(10)
didn't detected.Expected behavior
With
tslint -c tslint.json -p tsconfig.json
, both cases should be detected.The text was updated successfully, but these errors were encountered: