prefer-array-literal Prefer an empty array literal over the canonical Array constructor The canonical zero-argument Array.new call constructs the same empty array as []. Instead, you SHOULD use the array literal. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function values(): int32[] { return Array.new(); } Accepted function values(): int32[] { return []; } Prior art - ESLint · no-array-constructor - typescript-eslint · no-array-constructor - eslint-plugin-unicorn · no-new-array language/linter/src/rules/style/preferarrayliteral.rs:8