Skip to content

Commit

Permalink
Add style section to CONTRIBUTING.md. (#188)
Browse files Browse the repository at this point in the history
I'd like to point
https://github.com/GoogleCloudPlatform/Template/wiki/style.html back to
the repositories where the samples should go.
  • Loading branch information
tswast authored and jmdobry committed Aug 26, 2016
1 parent 1cb30c5 commit 1a4bf80
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@ accept your pull requests.
1. The repo owner will respond to your issue promptly.
1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Ensure that your code adheres to the existing style in the sample to which you are contributing. Refer to the
[Google Cloud Platform Samples Style Guide](https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
recommended coding standards for this organization. You can run `npm run jshint` to match our JavaScript coding standards.
1. Ensure that your code adheres to the existing style in the sample to which you are contributing.
1. Ensure that your code has an appropriate set of unit tests which all pass.
1. Submit a pull request!

## Style

Samples in this repository follow the [JavaScript Semi-Standard
Style](https://github.com/Flet/semistandard).

You can run `npm run lint` to match our JavaScript coding standards.

## Sample template

```
Expand Down Expand Up @@ -88,4 +93,4 @@ cli
if (module === require.main) {
program.main(process.argv.slice(2));
}
```
```

0 comments on commit 1a4bf80

Please sign in to comment.