Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.7 KB

CONTRIBUTING.md

File metadata and controls

52 lines (35 loc) · 1.7 KB

Contributing

Questions

Please ask questions on StackOverflow, and read through the FAQ and issue archives.

Issues

If you have a bug or enhancement request, please file an issue. Before submitting an issue, please search the issue archive, read the FAQ.

When submitting an issue, please include context from your test and your application. If there's an error, please include the error text.

Please format code and markup in your issue using github markdown.

Contributing to Source Code (Pull Requests)

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, clientSideScripts, element.