Skip to content

why is TestMMTest.ts not valid pascal case? (unicorn/filename-case) #2741

@salisbury-espinosa

Description

@salisbury-espinosa
TestMMTest.ts
  1:1   error    Filename is not in pascal case. Rename it to `TestMmTest.ts`  unicorn/filename-case

why?
MM - an abbreviation of two words beginning with M,

example of correct validation
https://github.com/sindresorhus/type-fest/blob/main/source/pascal-case.d.ts

import type { PascalCase } from 'type-fest';

// TestMMTest - CORRECT!!!!!!
const someVariable: PascalCase<'test-MM-test'> = 'TestMMTest';

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions