Rule: array-type (original) (raw)

Requires using either ‘T[]’ or ‘Array' for arrays.

Notes:

TS Only Has Fixer

Config

One of the following arguments must be provided:

Config examples

"array-type": [true, "array"]

"array-type": [true, "generic"]

"array-type": [true, "array-simple"]

Schema

{ "type": "string", "enum": [ "array", "generic", "array-simple" ] }