Skip to content

Commit 82cbd43

Browse files
authored
Corrected the name of Capitalization Styles
Corrected CamelCase to PascalCase and mixedCase to camelCase
1 parent 7cc3b87 commit 82cbd43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/development/coding-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ formatted correctly.
6666

6767
Electron APIs uses the same capitalization scheme as Node.js:
6868

69-
- When the module itself is a class like `BrowserWindow`, use `CamelCase`.
70-
- When the module is a set of APIs, like `globalShortcut`, use `mixedCase`.
69+
- When the module itself is a class like `BrowserWindow`, use `PascalCase`.
70+
- When the module is a set of APIs, like `globalShortcut`, use `camelCase`.
7171
- When the API is a property of object, and it is complex enough to be in a
7272
separate chapter like `win.webContents`, use `mixedCase`.
7373
- For other non-module APIs, use natural titles, like `<webview> Tag` or

0 commit comments

Comments
 (0)