mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix spelling of case variants in naming.md
unify variant forms of spelling letter cases (upper-case, uppercase, lower case)
This commit is contained in:
committed by
Matias Niemelä
parent
448d9f9f46
commit
693f79e88a
+2
-2
@@ -7,7 +7,7 @@ See: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
|
||||
|
||||
Classes:
|
||||
- Example: `Compiler`, `ApplicationMetadata`
|
||||
- Camel case with first letter upper-case
|
||||
- Camel case with first letter uppercase
|
||||
- In general prefer single words. (This is so that when appending `Proto` or `Factory` the class
|
||||
is still reasonable to work with.)
|
||||
- Should not end with `Impl` or any other word which describes a specific implementation of an
|
||||
@@ -21,7 +21,7 @@ Interfaces:
|
||||
|
||||
Methods and functions:
|
||||
- Example: `bootstrap`, `someMethod`
|
||||
- Should be camel case with first lower case
|
||||
- Should be camel case with first letter lowercase
|
||||
|
||||
|
||||
Constants:
|
||||
|
||||
Reference in New Issue
Block a user