dot-notation Prefer dot notation for statically named member access A string-literal key is static, so bracket notation presents it as computed member access. Instead, you SHOULD use dot notation for that member access. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function name(user: { name: string }): string { return user["name"]; } Accepted function name(user: { name: string }): string { return user.name; } Prior art - ESLint · dot-notation - typescript-eslint · dot-notation language/linter/src/rules/style/dotnotation.rs:8