We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc3b87 commit 82cbd43Copy full SHA for 82cbd43
1 file changed
docs/development/coding-style.md
@@ -66,8 +66,8 @@ formatted correctly.
66
67
Electron APIs uses the same capitalization scheme as Node.js:
68
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`.
+- When the module itself is a class like `BrowserWindow`, use `PascalCase`.
+- When the module is a set of APIs, like `globalShortcut`, use `camelCase`.
71
- When the API is a property of object, and it is complex enough to be in a
72
separate chapter like `win.webContents`, use `mixedCase`.
73
- For other non-module APIs, use natural titles, like `<webview> Tag` or
0 commit comments