Skip to content

Commit 5191dfa

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 5191dfa

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,17 @@ 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 [JavaScript Semi-Standard
35+
Style](https://github.com/Flet/semistandard).
36+
37+
You can run `npm run lint` to match our JavaScript coding standards.
38+
3439
## Sample template
3540

3641
```
@@ -88,4 +93,4 @@ cli
8893
if (module === require.main) {
8994
program.main(process.argv.slice(2));
9095
}
91-
```
96+
```

0 commit comments

Comments
 (0)