Skip to content

Files

29 lines (21 loc) · 984 Bytes

contributing.md

File metadata and controls

29 lines (21 loc) · 984 Bytes

Contributing to Source Code

Loosely, follow the Angular contribution rules.

Protractor specific rules

  • JavaScript style should generally follow the Google JS style guide.
  • Wrap code at 80 chars.
  • Document public methods with jsdoc.
  • Be consistent with the code around you!

Commit Messages

Protractor follows AngularJS's commit message format.

In summary, this style is

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

Where <type> is one of [feat, fix, docs, style, refactor, test, chore] and <scope> is a quick descriptor of the location of the change, such as cli, jasminewd, clientSideScripts, findElements.