Skip to content

Commit 145363d

Browse files
committed
Add style section to CONTRIBUTING.md.
I'd like to point https://github.com/GoogleCloudPlatform/Template/wiki/style.html back to the repositories where the samples should go.
1 parent 1cb30c5 commit 145363d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ accept your pull requests.
2525
1. The repo owner will respond to your issue promptly.
2626
1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).
2727
1. Fork the desired repo, develop and test your code changes.
28-
1. Ensure that your code adheres to the existing style in the sample to which you are contributing. Refer to the
29-
[Google Cloud Platform Samples Style Guide](https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
30-
recommended coding standards for this organization. You can run `npm run jshint` to match our JavaScript coding standards.
28+
1. Ensure that your code adheres to the existing style in the sample to which you are contributing.
3129
1. Ensure that your code has an appropriate set of unit tests which all pass.
3230
1. Submit a pull request!
3331

32+
## Style
33+
34+
Samples in this repository follow the [Google JavaScript Style
35+
Guide](http://google.github.io/styleguide/javascriptguide.xml). This is
36+
enforced using [JSHint](http://jshint.com/docs/).
37+
38+
You can run `npm run jshint` to match our JavaScript coding standards.
39+
3440
## Sample template
3541

3642
```
@@ -88,4 +94,4 @@ cli
8894
if (module === require.main) {
8995
program.main(process.argv.slice(2));
9096
}
91-
```
97+
```

0 commit comments

Comments
 (0)