This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 889
array-type vs prefer-array-literal #2946
Labels
Comments
It seems like |
For everyone getting here from Google search, this can also be fixed without changing the {
"rules": {
"prefer-array-literal": [true, { "allow-type-parameters": true }]
}
} |
Closing as external. Feel free to post an issue on |
yurloc
added a commit
to yurloc/optaweb-vehicle-routing
that referenced
this issue
Dec 11, 2018
yurloc
added a commit
to yurloc/optaweb-vehicle-routing
that referenced
this issue
Dec 11, 2018
yurloc
added a commit
to kiegroup/optaweb-vehicle-routing
that referenced
this issue
Dec 11, 2018
* Install tslint-config-airbnb * Remove tslint exclusion, add --project argument * Remove extra parameters * More script friendly * IDEA fixes * Ignore import names for now * Rest of comma and semi fixes * Manual fixes * Sort rules * Allow Array type parameters palantir/tslint#2946 (comment) * Allow pascal case variable names because of SFCs Co-Authored-By: yurloc <jiri.locker@gmail.com> * Allow pascal case because of components declared as fuctions
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
TypeScript code being linted
I want
values
to be a mixed array of either anobject
or anumber
.with
tslint.json
configuration:How can I write my code so I won't violate both rules? Are those two conflicting with each other and I have to give up one rule?
The text was updated successfully, but these errors were encountered: