mediamonks / frontend-coding-standards

Media.Monks - Frontend Coding Standards
60 stars 23 forks source link

Casing update: Treat abbreviations as words #35

Closed ThijsTyZ closed 3 years ago

ThijsTyZ commented 3 years ago

This PR sets the eslint configuration more strict when it comes to the casing of abbreviations. Abbreviations will be treated as words, which means only the first character will be capitalized for camelCase and PascalCase.

const jsonApiSdkUrl = new JsonApiSdkUrl();

See #9 See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md