eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

typescript/consistent-array-type-name

ESLint plugin / typescript/consistent-array-type-name

Requires consistent array type name.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/typescript/consistent-array-type-name": "error"
  }
};

Examples of incorrect code

type Cat = string[];
type Progress = string[];

Examples of correct code

type Cats = string[];
type CatArray = string[];
type Progresses = string[];
type ProgressArray = string[];