mirror of
https://github.com/appium/appium.git
synced 2026-01-27 20:59:06 -06:00
Added variable camelCasing to style guide.
This commit is contained in:
@@ -163,4 +163,12 @@ Style notes
|
||||
|
||||
* Function is not followed by a space. Use `function() {` not `function () {`
|
||||
|
||||
* More to come....
|
||||
* Variable names should be camelCased:
|
||||
|
||||
```js
|
||||
var myVariable = 42;
|
||||
```
|
||||
not
|
||||
```js
|
||||
var my_variable = 42;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user