File name matches type (ARCH3005)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key typescript.naming.file-name-matches-type · Severity info · Category naming
A source file’s name should correspond to the primary type it declares. Mismatched names make the project harder to navigate and files harder to locate.
Incorrect
Section titled “Incorrect”export class PaymentProcessor { process(order: Order) {}}Correct
Section titled “Correct”export class PaymentProcessor { process(order: Order) {}}Rename the file to match the primary type (e.g. kebab-case file name for a PascalCase type).